Changeset 1837 for BOL


Ignore:
Timestamp:
Aug 9, 2013, 1:10:39 PM (11 years ago)
Author:
Laurent Fairhead
Message:

Modifications pour pouvoir compiler avec les différentes versions de ORCHIDEE


Modifications needed for compilation with the different versions of ORCHIDEE

LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install.sh

    r1835 r1837  
    387387
    388388#============================================================================
     389veget_version=false
    389390if [ "$veget" = 1 ] ; then
    390391  echo '########################################################'
     
    395396  if [ -d src_parallel ] ; then
    396397     liste_src="parallel parameters global stomate sechiba driver"
     398     veget_version=orchidee2.0
    397399  else
    398400     # Obsolete, for ORCHIDEE_beton only
     
    400402     # A trick to compile ORCHIDEE depending on if we are using real*4 or real*8
    401403     cd src_parameters ; \cp reqdprec.$real reqdprec.f90 ; cd ..
     404     veget_version=orchidee1.9
    402405  fi
    403406  echo liste_strc $liste_src
     
    571574# Compile LMDZ
    572575##################################################################
    573 ok_veget=false
    574 if [ "$veget" = 1 ] ; then ok_veget=true ; fi
     576#ok_veget=false
     577#if [ "$veget" = 1 ] ; then ok_veget=true ; fi
    575578if [ $compile_with_fcm = 1 ] ; then makelmdz=makelmdz_fcm ; else makelmdz=makelmdz ; fi
    576579if [ "$pclinux" = 1 ] ; then
    577         ./$makelmdz -d ${grid_resolution} -arch local -v $ok_veget gcm
     580        ./$makelmdz -d ${grid_resolution} -arch local -v $veget_version gcm
    578581else
    579582   # we are on Ada
    580     ./$makelmdz -d ${grid_resolution} -arch X64_ADA -v $ok_veget gcm
     583    ./$makelmdz -d ${grid_resolution} -arch X64_ADA -v $veget_version gcm
    581584fi
    582585
Note: See TracChangeset for help on using the changeset viewer.