cc_staff
290
edits
No edit summary |
mNo edit summary |
||
Line 169: | Line 169: | ||
RET=-1 | RET=-1 | ||
while [ $i -le 5 ] && [ $RET -ne 0 ]; do | while [ $i -le 5 ] && [ $RET -ne 0 ]; do | ||
[ $i -eq 1 ] || sleep 5 | [ $i -eq 1 ] \|\| sleep 5 | ||
echo "Attempt number: "$i | echo "Attempt number: "$i | ||
starccm+ -power -np $NCORE -podkey $LM_PROJECT -machinefile $SLURM_SUBMIT_DIR/machinefile_$SLURM_JOB_ID -batch $SLURM_SUBMIT_DIR/your-simulation-file.java $SLURM_SUBMIT_DIR/your-simulation-file.sim > $SLURM_JOB_ID.results | starccm+ -power -np $NCORE -podkey $LM_PROJECT -machinefile $SLURM_SUBMIT_DIR/machinefile_$SLURM_JOB_ID -batch $SLURM_SUBMIT_DIR/your-simulation-file.java $SLURM_SUBMIT_DIR/your-simulation-file.sim > $SLURM_JOB_ID.results |