Changeset 1189 for trunk/libIGCM/libIGCM_config
- Timestamp:
- 04/14/15 17:00:21 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r1173 r1189 1248 1248 # End of entire simulation # 1249 1249 #==========================# 1250 simulationIsOver=true 1250 1251 1251 1252 # Mail notification … … 1256 1257 IGCM_debug_Print 1 "Normal End of computation." 1257 1258 1258 if ( $DEBUG_debug ) ; then1259 if [ X${ActivateBigBro} = Xtrue ] ; then1260 # RabbitMQ message code "END OF SIMULATION"1261 code=01001262 # RabbitMQ message body1263 Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" )1264 # Fill the rabbitMQ queue1265 IGCM_debug_sendAMQP1266 fi1267 fi1268 1269 # To be sure we flush message buffer and clean up behind us before the end of the simulation1270 FlushAMQP=TRUE1271 1272 1259 else 1273 1260 #=================# 1274 1261 # Submit next job # 1275 1262 #=================# 1263 simulationIsOver=false 1276 1264 1277 1265 IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "OnQueue" … … 1291 1279 fi 1292 1280 1293 # Supress Non Deleted Boundary files1294 #if [ ${DRYRUN} -le 2 ] ; then1295 # IGCM_comp_DelFixeBoundaryFiles1296 # ls -la1297 #fi1298 1299 1281 # Clean ${RUN_DIR}=${RUN_DIR_PATH}/${config_UserChoices_JobName}.${$} 1300 1282 # Only for production run (No clean up in DEV or DEB mode) … … 1303 1285 [ X${JobType} = XRUN ] && IGCM_sys_RmRunDir -rf ${RUN_DIR_PATH} 1304 1286 1305 if ( $DEBUG_debug ) ; then 1306 # Inform the rabbitMQ queue 1307 if [ X${ActivateBigBro} = Xtrue ] ; then 1308 # RabbitMQ message code "WAITING" 1309 code=1100 1310 # RabbitMQ message body 1311 Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 1312 # Fill the rabbitMQ queue 1313 IGCM_debug_sendAMQP 1314 fi 1315 fi 1287 # Inform the rabbitMQ queue 1288 IGCM_debug_BigBro_Finalize 1316 1289 1317 1290 IGCM_debug_PopStack "IGCM_config_Finalize"
Note: See TracChangeset
for help on using the changeset viewer.