LS-OPT 4.2 Submit Script for LSF

Below is the LS-OPT 4.2 job submission script for IBM Platform LSF

#!/bin/bash

#Export LSOPT Variables
export LSOPT="/[application path]/LSOPT_EXE/"
export LSOPT_WRAPPER="/[application path]/LSOPT_EXE/wrapper"

#Export LS-Dyna Network License; if available
export LSTC_LICENSE=network
export LSTC_LICENSE_SERVER=[server name/ip]

#Export the application executable
APPLICATION=/[application path]/ls971_d_R4_2_0_wood2.lstc.com

#Set the number of CPUs
cpu=[No. of CPUs]

#Submit the job
bsub -q [queue name] -R "rusage[lsdyna_lic=$cpu:duration=90s]" -o output.%J.txt -e error.%J.txt -n $cpu $LSOPT_WRAPPER $APPLICATION ncpu=$cpu i=DynaOpt.inp

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s