Ignore:
Timestamp:
Jun 10, 2024, 4:24:43 PM (7 months ago)
Author:
jbclement
Message:

PEM:

  • The PEM can now stop itself cleanly before the SLURM time limit for the job is reached and it continues the simulation with a new cycle.
  • Update of "jobPEM.slurm" in the deftank to guarantee enough memory space to run the job.
  • Few minor cleanings.

JBC

Location:
trunk/LMDZ.COMMON/libf/evolution/deftank
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/deftank/jobPEM.slurm

    r3354 r3363  
    55#SBATCH --constraint=GENOA
    66### Number of Nodes to use
    7 #SBATCH --nodes=1
     7#SBATCH --nodes=4 # to run with enough memory
    88#SBATCH --ntasks-per-node=1
    99#SBATCH --cpus-per-task=1
     
    6161fi
    6262
    63 ./launchPEM.sh new
     63# Launch the next cycle
     64#if [ "$(awk 'END{print $NF}' info_PEM.txt)" -eq 7 ]; then
     65#    read i_myear n_myear convert_years iPCM iPEM nPCM nPCM_ini < info_PEM.txt
     66#    ./launchPEM.sh cont # Continue the PEM run if it stopped because of job time limit
     67#else
     68    ./launchPEM.sh new
     69#fi
  • trunk/LMDZ.COMMON/libf/evolution/deftank/launchPEM.sh

    r3355 r3363  
    6464            errlaunch
    6565        fi
     66        echo "The relaunch is initialized with a specific previous successful run."
    6667        while true; do
    6768            echo "Do you want to relaunch from a 'PCM' or 'PEM' run?"
     
    106107            relaunchPEM
    107108        fi
     109
     110    # Continuing the PEM run
     111    elif [ $1 = "cont" ]; then
     112        exec >> log_launchPEM.txt 2>&1
     113        echo
     114        echo "This is a continuation of the previous PEM run."
     115        date
     116        submitPEM
     117
     118    # Default case: error
    108119    else
    109120        echo "Error: given argument '$1' for the launching script is unknown!"
Note: See TracChangeset for help on using the changeset viewer.