Changeset 4452 for CONFIG/UNIFORM/v6/LMDZOR_v6.2/compile_lmdzor.sh
- Timestamp:
- 06/05/19 18:10:23 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/LMDZOR_v6.2/compile_lmdzor.sh
r4411 r4452 129 129 fi 130 130 131 # Set a link to arch.env and source the fileif arch-${fcm_arch}.env file exist for current fcm_arch.131 # Set a link to arch.env if arch-${fcm_arch}.env file exist for current fcm_arch. 132 132 # The link arch.env is also set in config.card and will be used by libIGCM to ensure the same running environnement. 133 133 if [ -f ARCH/arch-${fcm_arch}.env ] ; then 134 134 echo >> $outfile 135 echo "The file ARCH/arch-${fcm_arch}.env will now be sourced with modules needed for compilation." 136 echo "Note that this new environement will be kept after compilation." 137 echo "You might want to source again your personal environment after compilation. This must be done manually or by reconnection." 138 echo " Personal module list before sourcing of ARCH/arch.env file:" >> $outfile 139 module list >> $outfile 2>&1 140 135 echo "The file ARCH/arch-${fcm_arch}.env will be used for the compilation of each component" 141 136 rm -f ARCH/arch.env 142 137 ln -s arch-${fcm_arch}.env ARCH/arch.env 143 source ARCH/arch.env >> $outfile 2>&1144 145 echo >> $outfile146 echo " New module list after sourcing of ARCH/arch.env file:" >> $outfile147 module list >> $outfile 2>&1148 138 fi 149 139 … … 194 184 echo >> $outfile ; echo " NOW COMPILE ORCHIDEE" >> $outfile 195 185 196 echo ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} $full_flag>> $outfile197 ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} $full_flag>> $outfile 2>&1186 echo ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_flag -driver >> $outfile 187 ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_flag -driver >> $outfile 2>&1 198 188 # Test if compiling finished 199 189 if [[ $? != 0 ]] ; then … … 211 201 echo >> $outfile ; echo " NOW COMPILE LMDZ REGULAR LAT-LON MODE. Resolution = ${resol_atm_3d}" >> $outfile 212 202 213 echo ./makelmdz_fcm -d ${resol_atm_3d} -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch - j 8 $full_flag gcm >> $outfile214 ./makelmdz_fcm -d ${resol_atm_3d} -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch - j 8 $full_flag gcm >> $outfile 2>&1203 echo ./makelmdz_fcm -d ${resol_atm_3d} -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_flag gcm >> $outfile 204 ./makelmdz_fcm -d ${resol_atm_3d} -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_flag gcm >> $outfile 2>&1 215 205 # Test if compiling finished 216 206 if [[ $? != 0 ]] ; then … … 223 213 echo >> $outfile ; echo " NOW COMPILE CE0L OF LMDZ. Resolution = ${resol_atm_3d}" >> $outfile 224 214 225 echo ./makelmdz_fcm -d ${resol_atm_3d} -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch - j 8 $full_flag ce0l >> $outfile226 ./makelmdz_fcm -d ${resol_atm_3d} -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch - j 8 $full_flag ce0l >> $outfile 2>&1215 echo ./makelmdz_fcm -d ${resol_atm_3d} -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_flag ce0l >> $outfile 216 ./makelmdz_fcm -d ${resol_atm_3d} -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_flag ce0l >> $outfile 2>&1 227 217 # Test if compiling finished 228 218 if [[ $? != 0 ]] ; then
Note: See TracChangeset
for help on using the changeset viewer.