Changeset 1373 for trunk


Ignore:
Timestamp:
12/14/16 23:39:49 (8 years ago)
Author:
sdipsl
Message:
  • add an option to inhibate xios_parser.py behaviour.
  • purge_simulation will also remove run.card, Script_Output* and Debug/
  • R_IN printed in Script_Output and included in AA_job as comments
Location:
trunk/libIGCM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_job

    r1356 r1373  
    168168#D- Define input file root directory 
    169169#D- Default=/IGCMG/common/account/of/this/machine 
    170 #D- 
     170#D- IPSL:   /prodigfs/ipslfs/igcmg/IGCM 
     171#D- TGCC:   /ccc/work/cont003/igcmg/igcmg/IGCM 
     172#D- IDRIS:  /workgpfs/rech/psl/rpsl035/IGCM 
     173#D- OBELIX: /home/orchideeshare/igcmg/IGCM 
     174#D- OTHER:  /home/${LOGIN}/IGCM 
     175 
     176#D- Change below to override the default 
    171177#R_IN=/u/rech/por/rpor111/DATA 
    172178 
  • trunk/libIGCM/AA_purge_simulation

    r1363 r1373  
    9595    # Remove dods hardlink 
    9696    IGCM_sys_Dods_Rm 
     97    # Remove run.card 
     98    rm -f ${SUBMIT_DIR}/run.card 
     99    # Remove Script_Output 
     100    rm -f ${SUBMIT_DIR}/Script_Output_*.?????? 
     101    # Remove the Debug directory 
     102    rm -rf ${SUBMIT_DIR}/Debug 
    97103    # Send a message telling we want to purge 
    98104    IGCM_debug_sendAMQP_Purge  
  • trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh

    r1339 r1373  
    635635        IGCM_debug_Print 1 "${compname} XIOS XMLs are consistent" 
    636636      else 
    637         IGCM_debug_Print 1 "${compname} XIOS XMLs ARE NOT consistent. Try to fix it:" 
    638         IGCM_debug_Print 3 "${libIGCM}/libIGCM_post/xios_parser.py -v modify --field ${FieldDef[*]} --file ${FileDef[*]}" 
    639         ${libIGCM}/libIGCM_post/xios_parser.py -vv modify --field ${FieldDef[*]} --file ${FileDef[*]} 
    640         [ $? != 0 ] &&  IGCM_debug_Exit "Failed to fix XIOS xml files for ${compname}" 
     637        IGCM_debug_Print 1 "${compname} XIOS XMLs ARE NOT consistent" 
     638        if [ X${config_Post_ParserXIOS} = XTRUE ]  ; then 
     639          IGCM_debug_Print 1 "Try to fix it:" 
     640          IGCM_debug_Print 3 "${libIGCM}/libIGCM_post/xios_parser.py -v modify --field ${FieldDef[*]} --file ${FileDef[*]}" 
     641          ${libIGCM}/libIGCM_post/xios_parser.py -vv modify --field ${FieldDef[*]} --file ${FileDef[*]} 
     642          [ $? != 0 ] &&  IGCM_debug_Exit "Failed to fix XIOS xml files for ${compname}" 
     643        fi 
    641644      fi 
    642645    fi 
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r1372 r1373  
    151151  if ( [ X${config_Post_AtlasIPSL} = X${NULL_STR} ] || [ X${config_Post_AtlasIPSL} = X ] ) ; then 
    152152    config_Post_AtlasIPSL=TRUE 
     153  fi 
     154 
     155  #==================================================== 
     156  # ParserXIOS : apply default value if not defined 
     157  if ( [ X${config_Post_ParserXIOS} = X${NULL_STR} ] || [ X${config_Post_ParserXIOS} = X ] ) ; then 
     158    config_Post_ParserXIOS=TRUE 
    153159  fi 
    154160 
     
    291297  echo 
    292298  IGCM_debug_Print 2 "(Re)Define R_INIT, R_BC and PeriodNb" 
     299  IGCM_debug_Print 3 "R_IN=${R_IN}" 
    293300  IGCM_debug_Print 3 "R_INIT=${R_INIT}" 
    294301  R_BC=${config_UserChoices_R_BC:=${R_IN}/BC} 
Note: See TracChangeset for help on using the changeset viewer.