25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Submitting PVM Jobs to <strong>LSF</strong><br />

pvmjob script<br />

Example<br />

Chapter 34<br />

Running Parallel Jobs<br />

Parallel Virtual Machine (PVM) is a parallel programming system distributed by<br />

Oak Ridge National Laboratory. PVM programs are controlled by the PVM hosts<br />

file, which contains host names and other information.<br />

The pvmjob shell script supplied with <strong>LSF</strong> can be used to run PVM programs<br />

as parallel <strong>LSF</strong> jobs. The pvmjob script reads the <strong>LSF</strong> environment variables,<br />

sets up the PVM hosts file and then runs the PVM job. If your PVM job needs<br />

special options in the hosts file, you can modify the pvmjob script.<br />

For example, if the command line to run your PVM job is:<br />

% myjob data1 -o out1<br />

the following command submits this job to <strong>LSF</strong> to run on 10 hosts:<br />

% bsub -n 10 pvmjob myjob data1 -o out1<br />

Other parallel programming packages can be supported in the same way. The<br />

p4job shell script runs jobs that use the P4 parallel programming library. Other<br />

packages can be handled by creating similar scripts.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 433

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!