Changeset 6705


Ignore:
Timestamp:
01/12/24 15:55:20 (10 months ago)
Author:
jgipsl
Message:

Now compile orchidee offline driver by default.
Corrected executable names for orchidee offline executables to correspond with what is needed in the experiment setup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/IPSLCM7/compile_ipslcm7.sh

    r6703 r6705  
    4747orchversion=orch22 
    4848# orchdriver : Permet to compile the ORCHIDEE offline drivers. This option is activated by setting -orchdriver as argument.  
    49 # By default, drivers are not compiled. 
    50 orchdriver="" 
     49# Drivers are now compiled by default 
     50orchdriver="-driver" 
    5151 
    5252# Default netcdf_lib is used for XIOS but can be change by argument 
     
    338338# Rename exetubles for ORCHIDEE offline driver with suffix version 
    339339cd $modipsl/bin 
    340 if [ -f orchideedriver ] ; then mv orchideedriver orchideedriver.$orchversion ; fi 
    341 if [ -f orchidee_ol ] ; then mv orchidee_ol orchidee_ol.$orchversion ; fi 
    342  
     340if [ -f orchideedriver ] ; then  
     341    mv orchideedriver orchideedriver.${orchversion}_$optmode 
     342    ln -sf orchideedriver.${orchversion}_$optmode orchideedriver_$optmode 
     343fi 
     344if [ -f orchidee_ol ] ; then  
     345    mv orchidee_ol orchidee_ol.${orchversion}_$optmode 
     346    ln -sf orchidee_ol.${orchversion}_$optmode orchidee_ol_$optmode 
     347fi 
    343348 
    344349## 2.5 Compile NEMO 
Note: See TracChangeset for help on using the changeset viewer.