Changeset 1076 for trunk/libIGCM/libIGCM_config
- Timestamp:
- 10/01/14 11:54:19 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r1057 r1076 1219 1219 echo 1220 1220 1221 if ( $DEBUG_debug ) ; then1222 # Inform the rabbitMQ queue1223 if [ X${ActivateBigBro} = Xtrue ] ; then1224 # RabbitMQ message code1225 code=11001226 # RabbitMQ message body1227 Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" )1228 # Fill the rabbitMQ queue1229 IGCM_debug_sendAMQP1230 fi1231 fi1232 1233 1221 if [ ${SimulationLengthInDays} -ge ${ExperienceLengthInDays} ] ; then 1234 1222 #==========================# … … 1245 1233 if ( $DEBUG_debug ) ; then 1246 1234 if [ X${ActivateBigBro} = Xtrue ] ; then 1247 # RabbitMQ message code 1235 # RabbitMQ message code "END OF SIMULATION" 1248 1236 code=0100 1249 1237 # RabbitMQ message body … … 1292 1280 [ X${JobType} = XRUN ] && IGCM_sys_RmRunDir -rf ${RUN_DIR_PATH} 1293 1281 1282 if ( $DEBUG_debug ) ; then 1283 # Inform the rabbitMQ queue 1284 if [ X${ActivateBigBro} = Xtrue ] ; then 1285 # RabbitMQ message code "WAITING" 1286 code=1100 1287 # RabbitMQ message body 1288 Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 1289 # Fill the rabbitMQ queue 1290 IGCM_debug_sendAMQP 1291 fi 1292 fi 1293 1294 1294 # To be sure we flush message buffer before exiting the job 1295 1295 FlushAMQP=TRUE
Note: See TracChangeset
for help on using the changeset viewer.