Changeset 1053


Ignore:
Timestamp:
09/15/14 10:09:12 (10 years ago)
Author:
sdipsl
Message:

bug fixes affecting only debug mode

Location:
trunk/libIGCM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_job

    r1051 r1053  
    209209IGCM_config_CommonConfiguration ${SUBMIT_DIR}/config.card 
    210210 
     211if [ ! -r ${SUBMIT_DIR}/run.card ] ; then 
     212  #================================================# 
     213  #         The file run.card doesn't exist        # 
     214  #================================================# 
     215  FirstInitialize=true 
     216  #copy initial run.card 
     217  IGCM_sys_Cp ${SUBMIT_DIR}/run.card.init ${SUBMIT_DIR}/run.card 
     218  IGCM_debug_Print 2 "run.card copied from run.card.init" 
     219else 
     220  FirstInitialize=false 
     221  IGCM_debug_Print 2 "run.card exists" 
     222fi 
     223 
    211224# ------------------------------------------------------------------ 
    212225# Activate BigBrother so as to supervise this simulation 
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r1051 r1053  
    148148  echo 
    149149  IGCM_debug_Print 1 "IGCM_config_Initialize" 
    150  
    151   if [ ! -r ${SUBMIT_DIR}/run.card ] ; then 
    152     #================================================# 
    153     #         The file run.card doesn't exist        # 
    154     #================================================# 
    155     FirstInitialize=true 
    156     #copy initial run.card 
    157     IGCM_sys_Cp ${SUBMIT_DIR}/run.card.init ${SUBMIT_DIR}/run.card 
    158     IGCM_debug_Print 2 "run.card copied from run.card.init" 
    159   else 
    160     FirstInitialize=false 
    161     IGCM_debug_Print 2 "run.card exists" 
    162   fi 
    163150 
    164151  # Test modipsl tree existence. 
  • trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh

    r1051 r1053  
    186186  # send mail 
    187187 
    188   if [ X${initBigBro}=Xtrue ] ; then 
     188  if [ X${initBigBro} = Xtrue ] ; then 
    189189    mailx -s "[TEMPORARY AMQP CHANNEL]" -a ${SUBMIT_DIR}/config.card.base64 ${mail_recipient} < ${buffer} # send buffer 
    190190    rm -f $buffer ; touch ${buffer}                                    # clear buffer 
     
    204204#D-function IGCM_debug_SendAMQP 
    205205#D- * Purpose: Send body; encoded body and config.card to rabbitMQ 
    206 function IGCM_debug_sendAMQP 
    207 { 
     206function IGCM_debug_sendAMQP { 
     207 
    208208  typeset decal first additionnalOption encodedBody 
    209209 
Note: See TracChangeset for help on using the changeset viewer.