Changeset 933 for trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh
- Timestamp:
- 08/21/13 17:10:51 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh
r926 r933 2154 2154 } 2155 2155 2156 ############################################################ 2157 # Check of space available on temporary filesytems. 2156 #D-#================================================== 2157 #D-function IGCM_sys_check_path 2158 #D-* Purpose: check that RUN_DIR_PATH that will be removed on some machine 2159 #D-* do not point to an important use directory. Stop immediately in that case. 2160 #D-* Examples: 2161 #D- 2162 function IGCM_sys_check_path { 2163 IGCM_debug_PushStack "IGCM_sys_check_path" 2164 if ( $DEBUG_sys ) ; then 2165 echo "IGCM_sys_check_path" 2166 fi 2167 2168 if ( [ X${RUN_DIR_PATH} = X${HOME} ] || [ X${RUN_DIR_PATH} = X${WORKDIR} ] || [ X${RUN_DIR_PATH} = X${SCRATCHDIR} ] || [ X${RUN_DIR_PATH} = X${CCCWORKDIR} ] || [ X${RUN_DIR_PATH} = X${CCCSTOREDIR} ] ) ; then 2169 IGCM_debug_Print 1 "Variable RUN_DIR_PATH is pointing to an important directory : ${RUN_DIR_PATH}" 2170 IGCM_debug_Print 1 "Please check the RUN_DIR_PATH definition in your Job : Job_${config_UserChoices_JobName}" 2171 IGCM_debug_Exit "This will stop the job" ;; 2172 fi 2173 IGCM_debug_PopStack "IGCM_sys_check_path" 2174 } 2158 2175 2159 2176 #D-#==================================================
Note: See TracChangeset
for help on using the changeset viewer.