Changeset 3733 for BOL


Ignore:
Timestamp:
Jun 24, 2020, 8:25:42 AM (5 years ago)
Author:
idelkadi
Message:

Updating xml files in order to run simulations with the Cosp simulator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r3646 r3733  
    7272check_linux=1
    7373ioipsl=1
    74 veget=1
     74veget=0
    7575orchidee_rev=""  # default revision of ORCHIDEE
    7676bench=1
     
    10011001# Recherche de l'executable dont le nom a change au fil du temps ...
    10021002gcm=""
    1003 for exe in gcm.e bin/gcm_${grid_resolution}_phylmd_seq_orch.e bin/gcm_${grid_resolution}_phylmd_seq.e bin/gcm_${grid_resolution}_phylmd_para_mem_orch.e ; do
     1003for exe in gcm.e bin/gcm_${grid_resolution}_phylmd_seq_orch.e bin/gcm_${grid_resolution}_phylmd_seq.e bin/gcm_${grid_resolution}_phylmd_para_mem.e bin/gcm_${grid_resolution}_phylmd_para_mem_orch.e ; do
    10041004   if [ -f $exe ] ; then gcm=$exe ; fi
    10051005done
     
    10661066  cp ../DefLists/context_lmdz.xml .
    10671067  cp ../DefLists/field_def_lmdz.xml .
     1068  cp ../DefLists/field_def_cosp*.xml .
    10681069  cp ../DefLists/file_def_hist*xml .
    10691070  # adapt iodef.xml to use attached mode
     
    10861087  echo "### XIOS outputs" >> config.def
    10871088  echo 'ok_all_xml=.true.' >> config.def
     1089
     1090  #activer les sorties pour Cosp
     1091  if [ "$cosp" = 1 ] ; then
     1092   histfile=file_def_histdayCOSP_lmdz.xml
     1093   sed -e 's@enabled=".FALSE."@enabled=".TRUE."@' $histfile > tmp ; \mv -f tmp $histfile
     1094   sed -e 's@output_level="_AUTO_"@output_level="5"@' $histfile > tmp ; \mv -f tmp $histfile
     1095   sed -e 's@compression_level="2"@compression_level="0"@' $histfile > tmp ; \mv -f tmp $histfile
     1096  fi
    10881097  cd ..
    10891098fi
Note: See TracChangeset for help on using the changeset viewer.