Ignore:
Timestamp:
Aug 22, 2024, 2:44:54 PM (3 months ago)
Author:
jbclement
Message:

PEM:
Small update for the launching script.
JBC

Location:
trunk/LMDZ.COMMON/libf/evolution
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/changelog.txt

    r3416 r3417  
    407407== 22/08/2024 == JBC
    408408Adaptation of the job submission script to get enough memory for the job without asking the exclusive mode.
     409
     410== 22/08/2024 == JBC
     411Small update for the launching script.
  • trunk/LMDZ.COMMON/libf/evolution/deftank/PEMrun.job

    r3416 r3417  
    55#SBATCH --constraint=GENOA
    66### Number of Nodes to use
     7#SBATCH --nodes=1
    78#SBATCH --ntasks=1
     9#SBATCH --cpus-per-task=1
    810###SBATCH --exclusive
    911#SBATCH --output=jobPEM_%j.out
  • trunk/LMDZ.COMMON/libf/evolution/deftank/launchPEM.sh

    r3391 r3417  
    8181            if [ $relaunch = "PCM" ]; then
    8282                echo "What is the number of the PCM run?"
    83                 echo "It should be between 1 and $((iPCM - 1))."
     83                echo "It should be between 1 and $(( $((iPCM - 1)) > 1 ? $((iPCM - 1)) : 1 ))."
    8484                read irelaunch
    85                 if [ 0 -lt $irelaunch ] && [ $irelaunch -lt $iPCM ]; then
     85                if [ 1 -le $irelaunch ] && [ $irelaunch -le $(( $((iPCM - 1)) > 1 ? $((iPCM - 1)) : 1 )) ]; then
    8686                    break
    8787                else
     
    9090            else
    9191                echo "What is the number of the PEM run?"
    92                 echo "It should be between 1 and $((iPEM - 1))."
     92                echo "It should be between 1 and $(( $((iPEM - 1)) > 1 ? $((iPEM - 1)) : 1 ))."
    9393                read irelaunch
    94                 if [ 0 -lt $irelaunch ] && [ $irelaunch -lt $iPEM ]; then
     94                if [ 1 -le $irelaunch ] && [ $irelaunch -le $(( $((iPEM - 1)) > 1 ? $((iPEM - 1)) : 1 )) ]; then
    9595                    break
    9696                else
Note: See TracChangeset for help on using the changeset viewer.