Ignore:
Timestamp:
Jul 21, 2025, 1:55:12 PM (12 days ago)
Author:
jbclement
Message:

PEM:

  • Big update of "README" file in the "deftank" folder.
  • Renaming the log files "out_run*" into "run.log".
  • Merging the folders "out_PCM" and "out_PEM" into "logs" where the log files are gathered with convenient renaming.
  • Update of job files.
  • More robust tests in "lib_launchPEM.sh".

JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/deftank/PEMrun.job

    r3851 r3861  
    22#SBATCH --job-name=jobPEM1
    33#SBATCH --account=cin0391
    4 ### GENOA nodes accommodate 96 cores
    54#SBATCH --constraint=GENOA
    65### Number of nodes/cores to use
    76#SBATCH --nodes=1
    8 #SBATCH --ntasks=1
     7#SBATCH --ntasks-per-node=1
    98#SBATCH --cpus-per-task=1
    10 ###SBATCH --exclusive
     9#SBATCH --threads-per-core=1 # --hint=nomultithread
    1110#SBATCH --output=jobPEM_%j.out
    1211#SBATCH --time=24:00:00
     
    4443echo "Run \"PEM $iPEM\" is starting."
    4544cp run_PEM.def run.def
    46 eval "./$exePEM $arg_pem > out_runPEM${iPEM} 2>&1"
    47 if [ ! -f "restartfi.nc" ] || ! (tail -n 100 out_runPEM${iPEM} | grep -iq "so far, so good!"); then # Check if it ended abnormally
     45eval "./$exePEM $arg_pem > run.log 2>&1"
     46if [ ! -f "restartfi.nc" ] || ! (tail -n 100 run.log | grep -iq "so far, so good!"); then # Check if it ended abnormally
    4847    echo "Error: the run \"PEM $iPEM\" crashed!"
    4948    exit 1
     
    5150
    5251# Copy data files and prepare the next run
    53 mv out_runPEM${iPEM} out_PEM/run${iPEM}
     52mv run.log logs/runPEM${iPEM}.log
    5453if [ -f "diagpem.nc" ]; then
    5554    mv diagpem.nc diags/diagpem${iPEM}.nc
Note: See TracChangeset for help on using the changeset viewer.