Translations:Ansys/2910/fr: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
m (FuzzyBot moved page Translations:ANSYS/2910/fr to Translations:Ansys/2910/fr without leaving a redirect: Part of translatable page "ANSYS")
(No difference)

Revision as of 16:59, 26 January 2023

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. indiquez 2d, 2ddp, 3d ou 3ddp et remplacez le nom de fichier sample par le nom de votre fichier de journalisation

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

fluent -g 2ddp -t $NCORES -affinity=0 -i sample.jou

else

fluent -g 2ddp -t $NCORES -affinity=0 -cnf=/tmp/machinefile-$SLURM_JOB_ID -mpi=intel -ssh -i sample.jou 

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>