Changeset 1656


Ignore:
Timestamp:
10/24/24 15:20:19 (3 months ago)
Author:
aclsce
Message:

Modified to request same time for compute job than prerun job.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM_PREPOST/libIGCM_sys/libIGCM_sys_jeanzay.ksh

    r1654 r1656  
    484484  fi 
    485485  typeset options status 
    486   options="-o ${SUBMIT_DIR}/Script_Output_${config_UserChoices_JobName}.$( printf "%06d" ${CumulPeriod} ) -e ${SUBMIT_DIR}/Script_Output_${config_UserChoices_JobName}.$( printf "%06d" ${CumulPeriod} ) --open-mode=append" 
     486  (( requested_time_seconds = SLURM_JOB_END_TIME - SLURM_JOB_START_TIME )) 
     487  (( requested_time_minute = requested_time_seconds / 60 )) 
     488  options="-o ${SUBMIT_DIR}/Script_Output_${config_UserChoices_JobName}.$( printf "%06d" ${CumulPeriod} ) -e ${SUBMIT_DIR}/Script_Output_${config_UserChoices_JobName}.$( printf "%06d" ${CumulPeriod} ) --open-mode=append --time=${requested_time_minute}" 
    487489 
    488490  export job_type="compute" 
Note: See TracChangeset for help on using the changeset viewer.