Index: /BOL/script_install/install_lmdz.sh
===================================================================
--- /BOL/script_install/install_lmdz.sh	(revision 3732)
+++ /BOL/script_install/install_lmdz.sh	(revision 3733)
@@ -72,5 +72,5 @@
 check_linux=1
 ioipsl=1
-veget=1
+veget=0
 orchidee_rev=""  # default revision of ORCHIDEE
 bench=1
@@ -1001,5 +1001,5 @@
 # Recherche de l'executable dont le nom a change au fil du temps ...
 gcm=""
-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
+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.e bin/gcm_${grid_resolution}_phylmd_para_mem_orch.e ; do
    if [ -f $exe ] ; then gcm=$exe ; fi
 done
@@ -1066,4 +1066,5 @@
   cp ../DefLists/context_lmdz.xml .
   cp ../DefLists/field_def_lmdz.xml .
+  cp ../DefLists/field_def_cosp*.xml .
   cp ../DefLists/file_def_hist*xml .
   # adapt iodef.xml to use attached mode
@@ -1086,4 +1087,12 @@
   echo "### XIOS outputs" >> config.def
   echo 'ok_all_xml=.true.' >> config.def
+
+  #activer les sorties pour Cosp
+  if [ "$cosp" = 1 ] ; then 
+   histfile=file_def_histdayCOSP_lmdz.xml
+   sed -e 's@enabled=".FALSE."@enabled=".TRUE."@' $histfile > tmp ; \mv -f tmp $histfile
+   sed -e 's@output_level="_AUTO_"@output_level="5"@' $histfile > tmp ; \mv -f tmp $histfile
+   sed -e 's@compression_level="2"@compression_level="0"@' $histfile > tmp ; \mv -f tmp $histfile
+  fi
   cd ..
 fi
