- Timestamp:
- 08/16/19 15:12:59 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/compile_icolmdzor.sh
r4409 r4663 30 30 31 31 # Output text file for compilation of each component 32 outfile=$submitdir/out_compile_icolmdzor 32 datestr=`LC_ALL=C date +"%Y%m%dT%H%M"` 33 outfile=$submitdir/out_compile_icolmdzor.$datestr 33 34 rm -f $outfile; echo > $outfile 34 echo; echo "Text output from compilation will be stored in file out_compile_icolmdzor "; echo35 echo; echo "Text output from compilation will be stored in file out_compile_icolmdzor.$datestr"; echo 35 36 36 37 #### Read arguments … … 201 202 echo >> $outfile ; echo " NOW COMPILE LMDZ FOR COUPLING TO DYNAMICO" >> $outfile 202 203 204 # Check if the compilation of LMDZ was previsouly interupted prematured. 205 # In that case, the files dimension.h and .lock exist. If the files exist, they are here removed to avoid makelmdz_fcm 206 # to ask question and wait for interactivly answer from the user. 207 if [ -f libf/grid/dimensions.h ] || [ -f .lock ] ; then 208 echo >> $outfile 209 echo " WARNING!! The file LMDZ/libf/grid/dimension.h and/or the LMDZ/.lock exist. " >> $outfile 210 echo " This means that the compilation is either currently on going in another terminal was previous interupted before the end." >> $outfile 211 echo " The files dimension.h and .lock will now be removed. " >> $outfile 212 echo >> $outfile 213 rm -f libf/grid/dimensions.h 214 rm -f .lock 215 fi 216 203 217 echo ./makelmdz_fcm -p lmd -rrtm true -cosp true -$optmode -mem -parallel $parallel -libphy -v orchidee2.1 -io xios -arch $fcm_arch -j 8 $full_flag >> $outfile 204 218 ./makelmdz_fcm -p lmd -rrtm true -cosp true -$optmode -mem -parallel $parallel -libphy -v orchidee2.1 -io xios -arch $fcm_arch -j 8 $full_flag >> $outfile 2>&1 … … 253 267 echo >> $outfile ; echo " NOW COMPILE LMDZ REGULAR LAT-LON MODE. Resolution = ${resol_atm_3d}" >> $outfile 254 268 269 # Check if the compilation of LMDZ was previsouly interupted prematured. 270 # In that case, the files dimension.h and .lock exist. If the files exist, they are here removed to avoid makelmdz_fcm 271 # to ask question and wait for interactivly answer from the user. 272 if [ -f libf/grid/dimensions.h ] || [ -f .lock ] ; then 273 echo >> $outfile 274 echo " WARNING!! The file LMDZ/libf/grid/dimension.h and/or the LMDZ/.lock exist. " >> $outfile 275 echo " This means that the compilation is either currently on going in another terminal was previous interupted before the end." >> $outfile 276 echo " The files dimension.h and .lock will now be removed. " >> $outfile 277 echo >> $outfile 278 rm -f libf/grid/dimensions.h 279 rm -f .lock 280 fi 255 281 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 >> $outfile 256 282 ./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>&1 … … 295 321 296 322 echo >>$outfile ; echo "ALL COMPILING FINISHED" >> $outfile 297 echo; echo "ALL COMPILING FINISHED" 323 echo ls -lrt modipsl/bin >> $outfile 324 ls -lrt $modipsl/bin >> $outfile 325 326 echo; echo "ALL COMPILING FINISHED" ; echo 327 echo "Executables are found in modipsl/bin" 328 echo "Check that executable names correspond with the name set in config.card before launching the job" 329 echo ls -lrt modipsl/bin 330 ls -lrt $modipsl/bin 298 331 299 332 date
Note: See TracChangeset
for help on using the changeset viewer.