Ignore:
Timestamp:
01/31/18 16:58:08 (6 years ago)
Author:
acosce
Message:

fixed a bug on the attribution of type_trac for the case inca_repr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZORINCAREPR_v6/GENERAL/DRIVER/lmdz.driver

    r3559 r3560  
    345345        IGCM_comp_modifyDefFile blocker run.def type_ocean force 
    346346    fi 
    347  
    348     if [ X"${config_ListOfComponents_CHT}" = X"inca" ] || [ X"${config_ListOfComponents_CHS}"= "X"] ; then 
     347     
     348    if [ X${config_ListOfComponents_CHT} = Xinca  -a  X${config_ListOfComponents_CHS} = Xreprobus ] ; then 
     349        IGCM_comp_modifyDefFile blocker run.def type_trac inca_repr 
     350        echo "nous sommes dans le cas inca_reprobus" 
     351 
     352    elif [ X${config_ListOfComponents_CHT} = Xinca ] ; then 
    349353        echo "Activate coupling to INCA, set type_trac=inca in run.def" 
    350354        IGCM_comp_modifyDefFile blocker run.def type_trac inca 
    351     elif [ X"${config_ListOfComponents_CHS}" = X"reprobus" ] || [ X"${config_ListOfComponents_CHT}"= "X"] ; then 
     355    elif [ X${config_ListOfComponents_CHS} = Xreprobus ] ; then 
    352356        echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
    353357        IGCM_comp_modifyDefFile blocker run.def type_trac repr 
    354358        IGCM_comp_modifyDefFile blocker run.def config_inca none 
    355     elif [ X${config_ListOfComponents_CHT} = Xinca  -a  X${config_ListOfComponents_CHS} = Xreprobus ] ; then 
    356         IGCM_comp_modifyDefFile blocker run.def type_trac inca_repr 
    357         echo "nous sommes dans le cas inca_reprobus" 
    358359    else 
    359360        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
Note: See TracChangeset for help on using the changeset viewer.