Translations:Ansys/2910/en

From Alliance Doc
Revision as of 19:43, 23 October 2024 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

if [ "$SLURM_NNODES" == 1 ]; then

fluent -g $MYVERSION -t $NCORES -affinity=0 -mpi=intel -pshmem -i $MYJOURNALFILE

else

fluent -g $MYVERSION -t $NCORES -affinity=0 -mpi=intel -pib -cnf=/tmp/machinefile-$SLURM_JOB_ID -i $MYJOURNALFILE

fi if [ $? -eq 0 ]; then

   echo "Job completed successfully! Exiting now."
   scancel $SLURM_ARRAY_JOB_ID

else

   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
      echo "Resubmitting job now …"
   else
      echo "All job attempts failed exiting now."
   fi

fi }} </tab> </tabs>