Changeset 6112 for CONFIG/UNIFORM/v6/LMDZOR_v6.3
- Timestamp:
- 04/20/22 13:53:46 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/LMDZOR_v6.3/compile_lmdzor.sh
r5122 r6112 25 25 # Default values to be overritten 26 26 parallel=mpi_omp 27 # Compilation with rrtm or ecrad radiative code (default rad=rrtm) 28 rad=rrtm 29 # Compilation with Cosp (cosp=NONE/v1/v2 ; default=NONE) 30 cosp=NONE 31 27 32 export fcm_arch parallel xios 28 33 full_flag="" … … 70 75 exit;; 71 76 "-parallel") parallel=$2 ; shift ; shift ;; 77 "-rad") rad=$2 ; shift ; shift ;; 78 "-cosp") cosp=$2 ; shift ; shift ;; 72 79 "-arch") fcm_arch="$2" ; shift ; shift ;; 73 80 "-xios") xios="$2" ; shift ; shift ;; … … 93 100 echo >> $outfile 94 101 102 if [ $cosp = v1 ] ; then 103 opt_cosp="-cosp true" 104 elif [ $cosp = v2 ] ; then 105 opt_cosp="-cospv2 true" 106 else 107 opt_cosp="" 108 fi 95 109 ### Read host dependent default values 96 110 ### These variables will not be changed if they were set as argument … … 110 124 fcm_arch=ifort_LSCE 111 125 if [ "${parallel}" == "mpi_omp" ] ; then 112 113 114 115 126 echo "Warning!! Currently at Obelix hybrid mode is not possible." 127 echo " Option -parallel mpi_omp is now changed to -parallel mpi" 128 echo "" 129 parallel=mpi 116 130 else 117 131 echo "You used -parallel" $parallel 118 132 fi ;; 119 133 ciclad*|climserv*|loholt*|camelot*) … … 192 206 echo; echo "NOW COMPILE ORCHIDEE" 193 207 echo >> $outfile ; echo " NOW COMPILE ORCHIDEE" >> $outfile 208 194 209 195 210 # Check if the compilation of ORCHIDEE was previsouly interupted prematured. … … 237 252 fi 238 253 239 echo ./makelmdz_fcm -d ${resol_atm} -p lmd -r rtm true-$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm >> $outfile240 ./makelmdz_fcm -d ${resol_atm} -p lmd -r rtm true-$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm >> $outfile 2>&1254 echo ./makelmdz_fcm -d ${resol_atm} -p lmd -rad $rad $opt_cosp -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm >> $outfile 255 ./makelmdz_fcm -d ${resol_atm} -p lmd -rad $rad -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm >> $outfile 2>&1 241 256 # Test if compiling finished 242 257 if [[ $? != 0 ]] ; then … … 274 289 echo >> $outfile ; echo " NOW COMPILE CE0L OF LMDZ. Resolution = ${resol_atm}" >> $outfile 275 290 276 echo ./makelmdz_fcm -d ${resol_atm} -p lmd -r rtm true-$optmode -io xios -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz ce0l >> $outfile277 ./makelmdz_fcm -d ${resol_atm} -p lmd -r rtm true-$optmode -io xios -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz ce0l >> $outfile 2>&1291 echo ./makelmdz_fcm -d ${resol_atm} -p lmd -rad $rad -$optmode -io xios -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz ce0l >> $outfile 292 ./makelmdz_fcm -d ${resol_atm} -p lmd -rad $rad -$optmode -io xios -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz ce0l >> $outfile 2>&1 278 293 # Test if compiling finished 279 294 if [[ $? != 0 ]] ; then
Note: See TracChangeset
for help on using the changeset viewer.