Ignore:
Timestamp:
10/01/14 11:54:19 (10 years ago)
Author:
sdipsl
Message:
  • Have smaller message, except the very first one
  • stack files will go in ${SUBMIT_DIR}/STACK directory. Just for debug...
  • Comments and cosmetics
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r1057 r1076  
    12191219  echo 
    12201220 
    1221   if ( $DEBUG_debug ) ; then 
    1222     # Inform the rabbitMQ queue 
    1223     if [ X${ActivateBigBro} = Xtrue ] ; then 
    1224       # RabbitMQ message code 
    1225       code=1100 
    1226       # RabbitMQ message body 
    1227       Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 
    1228       # Fill the rabbitMQ queue 
    1229       IGCM_debug_sendAMQP 
    1230     fi 
    1231   fi 
    1232  
    12331221  if [ ${SimulationLengthInDays} -ge ${ExperienceLengthInDays} ] ; then 
    12341222    #==========================# 
     
    12451233    if ( $DEBUG_debug ) ; then 
    12461234      if [ X${ActivateBigBro} = Xtrue ] ; then 
    1247         # RabbitMQ message code 
     1235        # RabbitMQ message code "END OF SIMULATION" 
    12481236        code=0100 
    12491237        # RabbitMQ message body 
     
    12921280  [ X${JobType} = XRUN ] && IGCM_sys_RmRunDir -rf ${RUN_DIR_PATH} 
    12931281 
     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 
    12941294  # To be sure we flush message buffer before exiting the job 
    12951295  FlushAMQP=TRUE 
Note: See TracChangeset for help on using the changeset viewer.