Changeset 3667


Ignore:
Timestamp:
Mar 3, 2025, 11:32:57 AM (4 months ago)
Author:
jbclement
Message:

PEM:
Adjusting the anticipation time for more security regarding the job time limit detection.
JBC

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

Legend:

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

    r3666 r3667  
    613613- Adjusments of few scripts to handle more situations.
    614614- Bug correction related to deallocation in case of "soil_pem = .false." or "layering_algo = .true.".
     615
     616== 03/03/2025 == JBC
     617Adjusting the anticipation time for more security regarding the job time limit detection.
  • trunk/LMDZ.COMMON/libf/evolution/deftank/PCMrun.job

    r3649 r3667  
    3939eval "$exe_cmd > out_runPCM${iPCM} 2>&1"
    4040if [ ! -f "restartfi.nc" ] || ! (tail -n 100 out_runPCM${iPCM} | grep -iq "everything is cool!"); then # Check if it ended abnormally
    41     echo "Error: the run PCM $iPCM crashed!"
     41    echo "Error: the run \"PCM $iPCM\" crashed!"
    4242    if [ $mode -ne 0 ]; then
    43         echo "Be careful: there may be dependent jobs remaining in the SLURM queue with status 'DependencyNeverSatisfied'! You can cancel them by executing the script \"kill_launchPEM.sh\"."
     43        echo "Be careful: there may be dependent jobs remaining in the queue! You can cancel them by executing the script \"kill_launchPEM.sh\"."
    4444    fi
    4545    exit 1
  • trunk/LMDZ.COMMON/libf/evolution/deftank/PEMrun.job

    r3638 r3667  
    4646eval "./$exePEM $arg_pem > out_runPEM${iPEM} 2>&1"
    4747if [ ! -f "restartfi.nc" ] || ! (tail -n 100 out_runPEM${iPEM} | grep -iq "so far, so good!"); then # Check if it ended abnormally
    48     echo "Error: the run PEM $iPEM crashed!"
     48    echo "Error: the run \"PEM $iPEM\" crashed!"
    4949    exit 1
    5050fi
  • trunk/LMDZ.COMMON/libf/evolution/pem.F90

    r3666 r3667  
    246246character(100)        :: chtimelimit     ! Time limit for the PEM job outputted by the SLURM command
    247247real                  :: timelimit       ! Time limit for the PEM job in seconds
    248 real, parameter       :: antetime = 1200 ! Anticipation time to prevent reaching the time limit: 1200 s = 20 min by default
     248real, parameter       :: antetime = 2700 ! Anticipation time to prevent reaching the job time limit: 2700 s = 45 min by default (it should cover the computing time of the reshaping tool)
    249249integer               :: cstat, days, hours, minutes, seconds
    250250character(1)          :: sep
Note: See TracChangeset for help on using the changeset viewer.