Changeset 728
- Timestamp:
- 10/18/12 11:17:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r726 r728 72 72 done 73 73 echo 74 75 #================================== 76 # Define default value to keep compatibility with previous card: means before changes due to TGCC 77 # Apply some overrules to ensure proper usage of computing centres resources 78 if [ X${PackDefault} = Xtrue ] ; then 79 # If we DO apply pack in this computing center 80 IGCM_debug_Print 1 "Due to inodes policy OVERRULE RebuildFromArchive value to NONE" 81 config_Post_RebuildFromArchive=NONE 82 if [ X${config_UserChoices_SpaceName} = XTEST ]; then 83 # TEST simulations will not be packed and will stay on SCRATCHDIR filesystem 84 IGCM_debug_Print 1 "SpaceName=TEST. OVERRULE PackFrequency to NONE" 85 IGCM_debug_Print 1 "SpaceName=TEST. OVERRULE destination path directories" 86 config_Post_PackFrequency=NONE 87 IGCM_sys_ChangeArchive 88 else 89 # Default to RebuildFrequency if nothing has been set up related to PackFrequency 90 [ X${config_Post_PackFrequency} = X ] && config_Post_PackFrequency=${config_Post_RebuildFrequency} 91 fi 92 else 93 # If we DO NOT apply pack in this computing center 94 config_Post_PackFrequency=NONE 95 fi 74 96 75 97 #==================================================== … … 152 174 #================================== 153 175 IGCM_config_CommonConfiguration ${SUBMIT_DIR}/config.card 154 155 #==================================156 # Define default value to keep compatibility with previous card: means before changes due to TGCC157 if [ X${PackDefault} = Xtrue ] ; then158 # If we DO apply pack in this computing center159 IGCM_debug_Print 1 "Due to pack policy OVERRULE RebuildFromArchive to NONE"160 config_Post_RebuildFromArchive=NONE161 if [ X${config_UserChoices_SpaceName} = XTEST ]; then162 # TEST simulations will not be packed and will stay on SCRATCHDIR filesystem163 IGCM_debug_Print 1 "SpaceName=TEST. OVERRULE PackFrequency to NONE"164 IGCM_debug_Print 1 "SpaceName=TEST. OVERRULE destination path directories"165 config_Post_PackFrequency=NONE166 IGCM_sys_ChangeArchive167 else168 # Default to RebuildFrequency if nothing has been set up related to PackFrequency169 [ X${config_Post_PackFrequency} = X ] && config_Post_PackFrequency=${config_Post_RebuildFrequency}170 fi171 else172 # If we DO NOT apply pack in this computing center173 config_Post_PackFrequency=NONE174 fi175 176 176 177 #==================================
Note: See TracChangeset
for help on using the changeset viewer.