Translations:Ansys/2910/en: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Importing a new version from external source)
 
(Importing a new version from external source)
Line 5: Line 5:
     scancel $SLURM_ARRAY_JOB_ID
     scancel $SLURM_ARRAY_JOB_ID
else
else
     echo "Job 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 now ..."
       echo "Resubmitting job now ..."
     else
     else
       echo "Exiting now."
       echo "All job attempts failed exiting now."
     fi
     fi
fi
fi

Revision as of 17:08, 29 September 2022

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Ansys)
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>
  1. Specify 2d, 2ddp, 3d or 3ddp and your journal filename

fluent 3d -t $NCORES -cnf=/tmp/machinefile-$SLURM_JOB_ID -mpi=intel -affinity=0 -ssh -g -I sample.jou 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>