- Timestamp:
- Jul 30, 2021, 4:13:10 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r3972 r3973 812 812 echo log file : $orchideelog 813 813 export ORCHPATH=`pwd` 814 xios_orchid="-noxios" 815 if [ "$with_xios" = "y" ] ; then 816 xios_orchid="-xios" 817 fi 814 818 if [ -d tools ] ; then 815 819 ################################################################### … … 840 844 cd ../ 841 845 # compiling ORCHIDEE sequential mode 842 ./makeorchidee_fcm -j 8 -noxios $opt_orc -parallel none -arch $arch > $orchideelog 2>&1 843 echo ./makeorchidee_fcm -j 8 -noxios $opt_orc -parallel none -arch $arch 846 847 ./makeorchidee_fcm -j 8 $xios_orchid $opt_orc -parallel none -arch $arch > $orchideelog 2>&1 848 echo ./makeorchidee_fcm -j $xios_orchid $opt_orc -parallel none -arch $arch 844 849 echo End of the first compilation of orchidee ; pwd 845 850 else … … 990 995 echo compiling ORCHIDEE parallel mode 991 996 echo logfile $orchideelog 992 ./makeorchidee_fcm -j 8 -clean -noxios$opt_orc -parallel $parallel -arch $arch > $orchideelog 2>&1993 ./makeorchidee_fcm -j 8 -noxios$opt_orc -parallel $parallel -arch $arch >> $orchideelog 2>&1994 echo ./makeorchidee_fcm -j 8 -clean -noxios$opt_orc -parallel $parallel -arch $arch995 echo ./makeorchidee_fcm -j 8 -noxios$opt_orc -parallel $parallel -arch $arch997 ./makeorchidee_fcm -j 8 -clean $xios_orchid $opt_orc -parallel $parallel -arch $arch > $orchideelog 2>&1 998 ./makeorchidee_fcm -j 8 $xios_orchid $opt_orc -parallel $parallel -arch $arch >> $orchideelog 2>&1 999 echo ./makeorchidee_fcm -j 8 -clean $xios_orchid $opt_orc -parallel $parallel -arch $arch 1000 echo ./makeorchidee_fcm -j 8 $xios_orchid $opt_orc -parallel $parallel -arch $arch 996 1001 elif [ $veget != 'NONE' ] ; then 997 1002 echo '##########################################################' … … 1209 1214 sed -e "s:VEGET=n:VEGET=y:" config.def > tmp 1210 1215 mv -f tmp config.def 1216 if [ "$with_xios" = "y" ] ; then 1217 cp ../../ORCHIDEE/src_xml/context_orchidee.xml . 1218 echo '<context id="orchidee" src="./context_orchidee.xml"/>' > add.tmp 1219 cp ../../ORCHIDEE/src_xml/field_def_orchidee.xml . 1220 cp ../../ORCHIDEE/src_xml/file_def_orchidee.xml . 1221 cp ../../ORCHIDEE/src_xml/file_def_input_orchidee.xml . 1222 if [ -f ../../ORCHIDEE/src_xml/context_input_orchidee.xml ] ; then 1223 cp ../../ORCHIDEE/src_xml/context_input_orchidee.xml . 1224 echo '<context id="orchidee" src="./context_input_orchidee.xml"/>' >> add.tmp 1225 fi 1226 sed -e '/id="LMDZ"/r add.tmp' iodef.xml > tmp 1227 mv tmp iodef.xml 1228 sed -e'{/sechiba1/ s/enabled="_AUTO_"/type="one_file" enabled=".TRUE."/}' file_def_orchidee.xml > tmp ; \mv -f tmp file_def_orchidee.xml 1229 sed -e 's@enabled="_AUTO_"@type="one_file" enabled=".FALSE."@' file_def_orchidee.xml > tmp ; \mv -f tmp file_def_orchidee.xml 1230 sed -e 's@output_level="_AUTO_"@output_level="1"@' file_def_orchidee.xml > tmp ; \mv -f tmp file_def_orchidee.xml 1231 sed -e 's@output_freq="_AUTO_"@output_freq="1d"@' file_def_orchidee.xml > tmp ; \mv -f tmp file_def_orchidee.xml 1232 sed -e 's@compression_level="4"@compression_level="0"@' file_def_orchidee.xml > tmp ; \mv -f tmp file_def_orchidee.xml 1233 sed -e 's@XIOS_ORCHIDEE_OK = n@XIOS_ORCHIDEE_OK = y@' orchidee.def > tmp ; \mv -f tmp orchidee.def 1234 fi 1211 1235 fi 1212 1236 echo EXECUTION DU BENCH
Note: See TracChangeset
for help on using the changeset viewer.