Changeset 1511


Ignore:
Timestamp:
01/13/20 15:05:14 (4 years ago)
Author:
acosce
Message:

add possibility to overwrite R_OUT and R_BUF by general variables define directly in the job - as RUN_DIR_PATH. This add is done to prevent a problem during the training day at idris wq

Location:
trunk/libIGCM/libIGCM_sys
Files:
2 edited

Legend:

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

    r1485 r1511  
    255255    #==================================================== 
    256256    #- R_OUT 
    257     R_OUT=${CCCSCRATCHDIR}/IGCM_OUT 
     257    R_OUT=${R_OUT:=${CCCSCRATCHDIR}}/IGCM_OUT 
    258258 
    259259    #==================================================== 
    260260    #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 
    261     R_FIG=${CCCSCRATCHDIR}/IGCM_OUT 
     261    R_FIG=${R_OUT} 
    262262 
    263263    IGCM_debug_Print 1 "SpaceName=TEST ==> OVERRULE destination path directories" 
     
    279279  #==================================================== 
    280280  #- R_BUF (ONLY FOR double copy an scratch) 
    281   R_BUF=${CCCSCRATCHDIR}/IGCM_OUT 
     281  R_BUF=${R_BUF:=${CCCSCRATCHDIR}}/IGCM_OUT 
    282282 
    283283  IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_jeanzay.ksh

    r1508 r1511  
    230230    #==================================================== 
    231231    #- R_OUT 
    232     R_OUT=/gpfsscratch/rech/${DataProject}/${LOGIN}/IGCM_OUT 
     232    R_OUT=${R_OUT:=/gpfsscratch/rech/${DataProject}/${LOGIN}}/IGCM_OUT 
    233233 
    234234    #==================================================== 
    235235    #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 
    236     R_FIG=/gpfsscratch/rech/${DataProject}/${LOGIN}/IGCM_OUT 
     236    R_FIG=${R_OUT} 
    237237 
    238238    IGCM_debug_Print 1 "SpaceName=TEST ==> OVERRULE destination path directories" 
     
    254254  #==================================================== 
    255255  #- R_BUF (ONLY FOR double copy an scratch) 
    256   R_BUF=/gpfsscratch/rech/${DataProject}/${LOGIN}/IGCM_OUT 
     256  R_BUF=${R_BUF:=/gpfsscratch/rech/${DataProject}/${LOGIN}}/IGCM_OUT 
    257257 
    258258  IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}" 
Note: See TracChangeset for help on using the changeset viewer.