Ignore:
Timestamp:
02/28/24 15:26:43 (4 months ago)
Author:
jgipsl
Message:

Set jobWarningDelay so that the accounting mail can be done now also for obelix.

Correction in conversion from min to sec in sys_mesoipsl and sys_jeanzay since previous commit [1631].

File:
1 edited

Legend:

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

    r1624 r1632  
    8181typeset PROJECT=NONE 
    8282# jobWarningDelay in seconds 
    83 typeset jobWarningDelay=${PBS_WALLTIME} 
    84  
     83typeset jobWarningDelayHour=$(qstat $PBS_JOBID -f | grep Resource_List.walltime | awk -F: '{print $1}' | awk -F= '{print $2}')  
     84typeset jobWarningDelay=$( echo "scale=6;${jobWarningDelayHour=}*3600" | bc )  
    8585#D- 
    8686#D-#================================================== 
Note: See TracChangeset for help on using the changeset viewer.