cc_staff
290
edits
No edit summary |
No edit summary |
||
Line 151: | Line 151: | ||
cd $SLURM_SUBMIT_DIR | cd $SLURM_SUBMIT_DIR | ||
ssh nia-gw -L 1999:flex.cd-adapco.com:1999 -L 2099:flex.cd-adapco.com:2099 -N -f | ssh nia-gw -L 1999:flex.cd-adapco.com:1999 -L 2099:flex.cd-adapco.com:2099 -N -f | ||
export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE' | export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE' | ||
Line 163: | Line 164: | ||
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | ||
# Workaround for license failures. Try up to 5 times to get starccm+ to start by checking exit status (throws 143 when fails, 0 when works). | # Workaround for license failures. | ||
# Try up to 5 times to get starccm+ to start by checking exit status (throws 143 when fails, 0 when works). | |||
i=1 | i=1 | ||
RET=-1 | RET=-1 |