LSF Version 7.3 - Using Platform LSF HPC

The following examples show how to convert the POE options in a Load Leveler
command file to LSF options in your job scripts for several kinds of jobs.
This example uses following POE job script:
#!/bin/csh
#@ shell = /bin/csh
#@ environment = ENVIRONMENT=BATCH; COPY_ALL;\
# MP_EUILIB=us; MP_STDOUTMODE=ordered; MP_INFOLEVEL=0;
#@ network.MPI = switch,dedicated,US
#@ job_type = parallel
#@ job_name = batch-test
#@ output = $(job_name).log
#@ error = $(job_name).log
#@ account_no = USER1
#@ node = 2
#@ tasks_per_node = 8
#@ node_usage = not_shared
#@ wall_clock_limit = 1:00:00
#@ class = batch
#@ notification = never
#@ queue
# ---------------------------------------------
# Copy required workfiles to $WORKDIR, which is set
# to /scr/$user under the large GPFS work filesystem,
# named /scr.
cp ~/TESTS/mpihello $WORKDIR/mpihello
# Change directory to $WORKDIR
cd $WORKDIR
# Execute program(s)
poe mypoejob
poe $WORKDIR/mpihello
# Copy output data from $WORKDIR to appropriate archive FS,
# since we are currently running within a volatile
# "scratch" filesystem.
# Clean unneeded files from $WORKDIR after job ends.
rm -f $WORKDIR/mpihello
echo "Job completed at: `date`"
The job script for the LSF job is:
#!/bin/csh
# mypoe_jobscript
#BSUB -a poe
#BSUB -n 16
#BSUB -x
#BSUB -o batch_test.%J_%I.out
#BSUB -e batch_test.%J_%I.err
#BSUB -W 60
#BSUB -J batch_test