Ignore:
Timestamp:
02/28/24 14:34:28 (4 months ago)
Author:
jgipsl
Message:

Set jobWarningDelay so that the accounting mail can be done. Method given by Romuald Carpentier at IDRIS assistance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_mesoipsl.ksh

    r1624 r1631  
    8080typeset PROJECT=NONE 
    8181# jobWarningDelay in seconds 
    82 #typeset jobWarningDelay=${PBS_WALLTIME} 
     82typeset jobWarningDelayMin=$(squeue -j $SLURM_JOB_ID -h --Format TimeLimit | awk -F: '{print $1}') 
     83typeset jobWarningDelay=$( echo "scale=6;${jobWarningDelayMin=}*3600" | bc ) 
    8384 
    8485#D- 
Note: See TracChangeset for help on using the changeset viewer.