Translations:Star-CCM+/319/fr: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Created page with "cd $SLURM_SUBMIT_DIR slurm_hl2hl.py --format STAR-CCM+ > $SLURM_SUBMIT_DIR/machinefile_$SLURM_JOB_ID NCORE=$((SLURM_NNODES * SLURM_CPUS_PER_TASK * SLURM_NTASKS_PER_NODE)) # Solution en cas d'échec de la licence : # jusqu'à ce que l'état en sortie soit égal à zéro, nous tentons de lancer Star-CCM+ (ici, au moins 5 fois) i=1 RET=-1 while [ $i -le 5 ] && [ $RET -ne 0 ]; do [ $i -eq 1 ] {{!}}{{!}} sleep 5 echo "Attempt number: "$I # si vous...")
 
No edit summary
 
Line 12: Line 12:
         echo "Attempt number: "$I
         echo "Attempt number: "$I
         # si vous utilisez un serveur de licence de votre établissement, supprimez "-power -podkey $LM_PROJECT"
         # si vous utilisez un serveur de licence de votre établissement, supprimez "-power -podkey $LM_PROJECT"
        starccm+ -batch -power -podkey $LM_PROJECT -np $NCORE -machinefile $SLURM_SUBMIT_DIR/machinefile_$SLURM_JOB_ID $SLURM_SUBMIT_DIR/your-simulation-file.java $SLURM_SUBMIT_DIR/your-simulation-file.sim > $SLURM_JOB_ID.results
      starccm+ -batch -power -podkey $LM_PROJECT -np $NCORE -nbuserdir $SLURM_TMPDIR -machinefile $SLURM_SUBMIT_DIR/machinefile_$SLURM_JOB_ID $SLURM_SUBMIT_DIR/your-simulation-file.java $SLURM_SUBMIT_DIR/your-simulation-file.sim > $SLURM_JOB_ID.results
         RET=$?
         RET=$?
         i=$((i+1))
         i=$((i+1))

Latest revision as of 15:31, 24 October 2024

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 (Star-CCM+)
# ------- no changes required below this line --------

cd $SLURM_SUBMIT_DIR slurm_hl2hl.py --format STAR-CCM+ > $SLURM_SUBMIT_DIR/machinefile_$SLURM_JOB_ID

NCORE=$((SLURM_NNODES * SLURM_CPUS_PER_TASK * SLURM_NTASKS_PER_NODE))

  1. Solution en cas d'échec de la licence :
  2. jusqu'à ce que l'état en sortie soit égal à zéro, nous tentons de lancer Star-CCM+ (ici, au moins 5 fois)

i=1 RET=-1 while [ $i -le 5 ] && [ $RET -ne 0 ]; do

       [ $i -eq 1 ] || sleep 5
       echo "Attempt number: "$I
       # si vous utilisez un serveur de licence de votre établissement, supprimez "-power -podkey $LM_PROJECT"
      starccm+ -batch -power -podkey $LM_PROJECT -np $NCORE -nbuserdir $SLURM_TMPDIR -machinefile $SLURM_SUBMIT_DIR/machinefile_$SLURM_JOB_ID $SLURM_SUBMIT_DIR/your-simulation-file.java $SLURM_SUBMIT_DIR/your-simulation-file.sim > $SLURM_JOB_ID.results
       RET=$?
       i=$((i+1))
  done

exit $RET }} </tab> </tabs>