Changeset 6640 for CONFIG/UNIFORM
- Timestamp:
- 10/05/23 14:51:37 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v7/IPSLCM7/compile_ipslcm7.sh
r6639 r6640 48 48 49 49 # orchversion tells if ORCHIDEE_2_2 or ORCHIDEE_trunk is compiled. This is used as argument and also in the suffix of the executables. 50 # orchcomp is the key word needed for LMDZ for the compilation of coherent interface. Only used internal to the compilation script.51 50 orchversion=orch22 52 orchcomp=orchidee2.153 51 54 52 # Default netcdf_lib is used for XIOS but can be change by argument … … 129 127 "-cleannemo") full_nemo=y ; shift ;; 130 128 "-rad") rad=$2; shift ; shift ;; 131 "-orch22") orchversion="orch22"; orchcomp=orchidee2.1;shift ;;132 "-orch4") orchversion="orch4"; orchcomp=orchideetrunk;shift ;;129 "-orch22") orchversion="orch22"; shift ;; 130 "-orch4") orchversion="orch4"; shift ;; 133 131 "-chimie") optchimie=$2; shift ; shift;; 134 132 *) echo "unknown option "$1" , exiting..." ; exit … … 148 146 echo >> $outfile 149 147 148 ### Verification of argument 149 # Set argorch depeinding on the version of ORCHIDEE. This is argument needed for the compilation of LMDZ to consider coherent interface. 150 if [ $orchversion == orch22 ] ; then 151 argorch=orchidee2.1 152 elif [ $orchversion == orch4 ] ; then 153 argorch=orchideetrunk 154 else 155 echo "ERROR in version of ORCHIDEE. It is only possible to have orch22 or orch4 for now" 156 fi 150 157 151 158 ### Read host dependent default values … … 469 476 argoasis=" " 470 477 fi 471 echo ./makelmdz_fcm -p lmd $argoasis $opt_rad -$optmode -mem -parallel $parallel -libphy -v $orchcomp $arginca -io xios -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz >> $outfile 472 ./makelmdz_fcm -p lmd $argoasis $opt_rad -$optmode -mem -parallel $parallel -libphy -v $orchcomp $arginca -io xios -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz >> $outfile 2>&1 478 479 echo ./makelmdz_fcm -p lmd $argoasis $opt_rad -$optmode -mem -parallel $parallel -libphy -v $argorch $arginca -io xios -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz >> $outfile 480 ./makelmdz_fcm -p lmd $argoasis $opt_rad -$optmode -mem -parallel $parallel -libphy -v $argorch $arginca -io xios -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz >> $outfile 2>&1 473 481 474 482 … … 570 578 argoasis="" 571 579 fi 572 echo ./makelmdz_fcm -d ${resol_atm} $argoasis -p lmd $opt_rad -$optmode -mem -parallel $parallel $arginca -io xios -v $ orchcomp-arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm >> $outfile573 ./makelmdz_fcm -d ${resol_atm} $argoasis -p lmd $opt_rad -$optmode -mem -parallel $parallel $arginca -io xios -v $ orchcomp-arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm >> $outfile 2>&1580 echo ./makelmdz_fcm -d ${resol_atm} $argoasis -p lmd $opt_rad -$optmode -mem -parallel $parallel $arginca -io xios -v $argorch -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm >> $outfile 581 ./makelmdz_fcm -d ${resol_atm} $argoasis -p lmd $opt_rad -$optmode -mem -parallel $parallel $arginca -io xios -v $argorch -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm >> $outfile 2>&1 574 582 # Test if compiling finished 575 583 if [[ $? != 0 ]] ; then … … 634 642 echo >> $outfile ; echo " NOW COMPILE CE0L OF LMDZ. Resolution = ${resol_atm}" >> $outfile 635 643 636 echo ./makelmdz_fcm -d ${resol_atm} $argoasis -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v $ orchcomp-arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz ce0l >> $outfile637 ./makelmdz_fcm -d ${resol_atm} $argoasis -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v $ orchcomp-arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz ce0l >> $outfile 2>&1644 echo ./makelmdz_fcm -d ${resol_atm} $argoasis -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v $argorch -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz ce0l >> $outfile 645 ./makelmdz_fcm -d ${resol_atm} $argoasis -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v $argorch -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz ce0l >> $outfile 2>&1 638 646 # Test if compiling finished 639 647 if [[ $? != 0 ]] ; then
Note: See TracChangeset
for help on using the changeset viewer.