LSF Version 7.3 - Using Platform LSF HPC
Your job script is:
#!/bin/sh
if [ -n "$ENV1" ]; then
pjl -opt1 job1
else
pjl -opt2 -opt3 job2
fi
After the integration, your job submission command line includes the pam command:
bsub -n 2 pam -g new_jobscript
Your new job script inserts TS and LSF_TS_OPTIONS before the jobs:
#!/bin/sh
if [ -n "$ENV1" ]; then
pjl -opt1 usr/share/lsf/TaskStarter $LSF_TS_OPTIONS job1
else
pjl -opt2 -opt3 usr/share/lsf/TaskStarter $LSF_TS_OPTIONS
job2
fi
See “Example Integration: LAM/MPI” on page 62