Ignore:
Timestamp:
06/16/16 10:22:58 (8 years ago)
Author:
jgipsl
Message:

Removed option to switch of XIOS for LMDZ. Note the option was not working as XIOS in the other components were not switched off.

Location:
CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL
Files:
2 edited

Legend:

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

    r2893 r2904  
    476476    fi 
    477477 
    478     if [ X${lmdz_UserChoices_XIOS}  = Xy ] ; then 
    479         # Add include of LMDZ context in iodef.xml 
    480         # In iodef.xml add on next line after "COMPONENT CONTEXT" 
    481         #  <context id="LMDZ" src="./context_lmdz.xml"/> 
    482         echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp 
    483         cp iodef.xml iodef.xml.tmp 
    484         sed -e "/COMPONENT CONTEXT/r add.tmp" iodef.xml.tmp > iodef.xml 
    485         rm iodef.xml.tmp add.tmp 
    486  
    487         #Long Name as global attribute (if LongName is not empty) 
    488         if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
    489             listfile=$(ls file_def*lmdz.xml) 
    490             echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
    491             for file in ${listfile} 
    492             do 
    493                 cp ${file} ${file}.tmp 
    494                 sed -e "/<file id/r add.tmp" \ 
    495                     ${file}.tmp > ${file} 
    496                 rm ${file}.tmp  
    497             done 
    498             rm add.tmp 
    499         fi 
    500  
    501         # Set ok_all_xml=y in run.def 
    502         IGCM_comp_modifyDefFile nonblocker run.def ok_all_xml y 
    503     else 
    504         # Deactivate ok_all_xml in run.def 
    505         IGCM_comp_modifyDefFile nonblocker run.def ok_all_xml n 
    506     fi 
    507      
     478    # Add include of LMDZ context in iodef.xml 
     479    # In iodef.xml add on next line after "COMPONENT CONTEXT" 
     480    #  <context id="LMDZ" src="./context_lmdz.xml"/> 
     481    echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp 
     482    cp iodef.xml iodef.xml.tmp 
     483    sed -e "/COMPONENT CONTEXT/r add.tmp" iodef.xml.tmp > iodef.xml 
     484    rm iodef.xml.tmp add.tmp 
     485 
     486    #Long Name as global attribute (if LongName is not empty) 
     487    if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
     488        listfile=$(ls file_def*lmdz.xml) 
     489        echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
     490        for file in ${listfile} 
     491        do 
     492            cp ${file} ${file}.tmp 
     493            sed -e "/<file id/r add.tmp" \ 
     494                ${file}.tmp > ${file} 
     495            rm ${file}.tmp  
     496        done 
     497        rm add.tmp 
     498    fi 
     499             
    508500    IGCM_debug_PopStack "ATM_Update" 
    509501} 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/PARAM/run.def

    r2859 r2904  
    5050### config_inca=aero/chem needed only if type_trac=inca 
    5151config_inca=_AUTOBLOCKER_  
    52 ### To activate XIOS ouputs only 
    53 ok_all_xml= _AUTO_ 
     52### To activate XIOS ouputs only, set n to use IOIPSL 
     53ok_all_xml= y 
    5454 
     55 
Note: See TracChangeset for help on using the changeset viewer.