38,760
edits
m (FuzzyBot moved page Translations:ANSYS/2910/en to Translations:Ansys/2910/en without leaving a redirect: Part of translatable page "ANSYS") |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
# Specify 2d, 2ddp, 3d or 3ddp and replace sample with your journal filename | # Specify 2d, 2ddp, 3d or 3ddp and replace sample with your journal filename … | ||
if [ "$SLURM_NNODES" == 1 ]; then | if [ "$SLURM_NNODES" == 1 ]; then | ||
fluent -g 2ddp -t $NCORES -affinity=0 -i sample.jou | fluent -g 2ddp -t $NCORES -affinity=0 -i sample.jou | ||
Line 11: | Line 11: | ||
echo "Job attempt $SLURM_ARRAY_TASK_ID of $SLURM_ARRAY_TASK_COUNT failed due to license or simulation issue!" | echo "Job attempt $SLURM_ARRAY_TASK_ID of $SLURM_ARRAY_TASK_COUNT failed due to license or simulation issue!" | ||
if [ $SLURM_ARRAY_TASK_ID -lt $SLURM_ARRAY_TASK_COUNT ]; then | if [ $SLURM_ARRAY_TASK_ID -lt $SLURM_ARRAY_TASK_COUNT ]; then | ||
echo "Resubmitting job now | echo "Resubmitting job now …" | ||
else | else | ||
echo "All job attempts failed exiting now." | echo "All job attempts failed exiting now." |