Changeset 6691


Ignore:
Timestamp:
12/19/23 12:47:36 (5 months ago)
Author:
jgipsl
Message:

Added possibility to activate compilation of ORCHIDEE offline drivers.

File:
1 edited

Legend:

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

    r6686 r6691  
    4646# orchversion tells if ORCHIDEE_2_2 or ORCHIDEE_trunk is compiled. This is used as argument and also in the suffix of the executables. 
    4747orchversion=orch22 
     48# orchdriver : Permet to compile the ORCHIDEE offline drivers. This option is activated by setting -orchdriver as argument.  
     49# By default, drivers are not compiled. 
     50orchdriver="" 
    4851 
    4952# Default netcdf_lib is used for XIOS but can be change by argument 
     
    8689[-orch4 / -orch22] Choice of ORCHIDEE version. The source code are found in modeles/ORCHIDEE_trunk or modeles/ORCHIDEE_2_2  
    8790                   and a link will be set to the choosen model version. Default version is currently ORCHIDEE_2_2 (-orch22). 
    88  
     91[-orchdriver]   Activate compilation of orchidee offline drivers 
    8992 
    9093Example 1: Default compilation of IPSLCM7  
     
    135138        "-orch22")     orchversion="orch22"; shift ;; 
    136139        "-orch4")      orchversion="orch4";  shift ;; 
     140        "-orchdriver") orchdriver="-driver";  shift ;; 
    137141        "-chimie")     optchimie=$2; shift ; shift;; 
    138142        *)             echo "unknown option "$1" , exiting..." ; exit 
     
    324328fi 
    325329 
    326 echo    ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_orch >> $outfile  
    327         ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_orch >> $outfile 2>&1 
     330echo    ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_orch $orchdriver >> $outfile  
     331        ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_orch $orchdriver >> $outfile 2>&1 
    328332# Test if compiling finished 
    329333if [[ $? != 0 ]] ; then 
Note: See TracChangeset for help on using the changeset viewer.