Changeset 3417 for BOL


Ignore:
Timestamp:
Dec 5, 2018, 2:55:12 AM (6 years ago)
Author:
fhourdin
Message:

Minor update of install_lmdz.sh to better handle checking of cosp and xios combination.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r3386 r3417  
    332332
    333333## if also compiling XIOS, cosp must be activate to define axis in *.xml
    334 if [ "$with_xios" = "y" -a "$cosp" != "1" ] ; then
     334if [ "$with_xios" = "y" ] ; then
     335  if [ ! "$cosp" = 1 -o "$cosp2" = 1 ] ; then
    335336   echo "Error, you must use -cosp option when compiling with -xios"
    336337   echo "You need to call Cosp in physical first step to define axis variables"
    337338   exit
    338 fi
    339 if [ "$with_xios" = "y" -a "$cosp2" != "1" ] ; then
    340    echo "Error, you must use -cosp2 option when compiling with -xios"
    341    echo "You need to call Cosp in physical first step to define axis variables"
    342    exit
    343 fi
    344 
    345 if [ "$with_xios" = "y" ] ; then
     339  fi
    346340  opt_makelmdz_xios="-io xios"
    347341fi
     
    747741     ./makeorchidee_fcm -j 8 -noxios -prod -parallel none -arch $arch > $orchideelog 2>&1
    748742     echo ./makeorchidee_fcm -j 8 -noxios -prod -parallel none -arch $arch
    749      echo Fin de la premiere compilation orchidee ; pwd
     743     echo End of the first compilation of orchidee ; pwd
    750744  else
    751745     if [ -d src_parallel ] ; then
     
    934928fi # of if [ $parallel != "none" ]
    935929
    936 echo LLLLLLLLLLLLLLLLLLLLLLLLLLL
     930#echo LLLLLLLLLLLLLLLLLLLLLLLLLLL
    937931if [ "$gfortran" = "gfortran44" ] ; then
    938932    echo Your gfortran compiler was too old so that the model was automatically
     
    976970\rm -rf BENCH${grid_resolution}
    977971bench=bench_lmdz_${grid_resolution}
    978 echo install.sh avant_chargement_bench  `date`
     972echo install.sh before bench download  `date`
    979973#wget http://www.lmd.jussieu.fr/~lmdz/Distrib/$bench.tar.gz
    980974myget 3DBenchs/$bench.tar.gz
Note: See TracChangeset for help on using the changeset viewer.