LSF Version 7.3 - Using Platform LSF HPC
◆
Submit a job to an application profile
bsub -n 4 -app djob blaunch myjob
Example execution scripts
To launch an MPICH-P4 tasks through LSF using the blaunch framework, substitute
the path to
rsh or ssh with the path to blaunch. For example:
Sample
mpirun script changes:
...
# Set default variables
AUTOMOUNTFIX="sed -e s@/tmp_mnt/@/@g"
DEFAULT_DEVICE=ch_p4
RSHCOMMAND="$LSF_BINDIR/blaunch"
SYNCLOC=/bin/sync
CC="cc"
...
You must also set special arguments for the ch_p4 device:
#! /bin/sh
#
# mpirun.ch_p4.args
#
# Special args for the ch_p4 device
setrshcmd="yes"
givenPGFile=0
case $arg in
...
Sample job submission script:
#! /bin/sh
#
# job script for MPICH-P4
#
#BSUB -n 2
#BSUB -R'span[ptile=1]'
#BSUB -o %J.out
#BSUB -e %J.err
NUMPROC=`wc -l $LSB_DJOB_HOSTFILE|cut -f 1 -d ' '`
mpirun -n $NUMPROC -machinefile $LSB_DJOB_HOSTFILE ./myjob
To launch an ANSYS job through LSF using the blaunch framework, substitute the
path to
rsh or ssh with the path to blaunch. For example:
#BSUB -o stdout.txt
#BSUB -e stderr.txt
# Note: This case statement should be used to set up any
# environment variables needed to run the different versions
# of Ansys. All versions in this case statement that have the
# string "version list entry" on the same line will appear as
# choices in the Ansys service submission page.