Changeset 1563 for branches/libIGCM_CESMEP/libIGCM_sys
- Timestamp:
- 10/15/22 17:10:09 (19 months ago)
- Location:
- branches/libIGCM_CESMEP/libIGCM_sys
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libIGCM_CESMEP/libIGCM_sys/libIGCM_sys_irene-amd.ksh
r1544 r1563 70 70 typeset MASTER=irene-amd 71 71 # add default project on irene-amd 72 typeset PROJECT=$(echo ${BRIDGE_MSUB_PROJECT:=::default_project::} | cut -d@ -f1 ) 72 if [ ! -z $BRIDGE_MSUB_PROJECT ]; then 73 typeset PROJECT=$(echo ${BRIDGE_MSUB_PROJECT} | cut -d@ -f1 ) 74 else 75 typeset PROJECT=$(echo ${CCCHOME} | cut -d/ -f5 ) 76 fi 73 77 # jobWarningDelay in seconds 74 78 typeset jobWarningDelay=${BRIDGE_MSUB_MAXTIME} -
branches/libIGCM_CESMEP/libIGCM_sys/libIGCM_sys_irene.ksh
r1512 r1563 70 70 typeset MASTER=irene 71 71 # add default project on irene 72 typeset PROJECT=$(echo ${BRIDGE_MSUB_PROJECT:=::default_project::} | cut -d@ -f1 ) 72 set -x 73 if [ ! -z $BRIDGE_MSUB_PROJECT ]; then 74 typeset PROJECT=$(echo ${BRIDGE_MSUB_PROJECT} | cut -d@ -f1 ) 75 else 76 typeset PROJECT=$(echo ${CCCHOME} | cut -d/ -f5 ) 77 fi 78 set +x 73 79 # jobWarningDelay in seconds 74 80 typeset jobWarningDelay=${BRIDGE_MSUB_MAXTIME} … … 210 216 function IGCM_sys_defineArchives { 211 217 IGCM_debug_PushStack "IGCM_sys_defineArchives" 212 213 218 # Load dfldatadir depending on the project used for submission (default) or set in config.card (optional) 214 if [ X${config_UserChoices_DataProject} = X ] || [ X${config_UserChoices_DataProject} = DEFAULT ]; then219 if [ X${config_UserChoices_DataProject} = X ] || [ X${config_UserChoices_DataProject} = XDEFAULT ]; then 215 220 # Default option: Change the dfldatadir according to the project used for submission 216 221 # The variable DataProject in section UserChoices in config.card is not set or is set to DEFAULT … … 219 224 IGCM_debug_Print 1 "Load dfldatadir for forced gencmip6 project" 220 225 else 226 echo "Load dfldatadir for project ${PROJECT}" 221 227 module switch dfldatadir dfldatadir/${PROJECT} 222 228 IGCM_debug_Print 1 "Load dfldatadir for project ${PROJECT}" … … 225 231 # Use the project set by the variable DataProject in section UserChoices in config.card 226 232 module switch dfldatadir dfldatadir/${config_UserChoices_DataProject} 227 IGCM_debug_Print 1 "Load dfldatadir for DataProject red in config.card : ${config_UserChoices_DataProject}" 228 fi 229 233 IGCM_debug_Print 1 "Load dfldatadir for DataProject read in config.card : ${config_UserChoices_DataProject}" 234 fi 230 235 #==================================================== 231 236 #- RUN_DIR_PATH : Temporary working directory (=> TMP)
Note: See TracChangeset
for help on using the changeset viewer.