Changeset 6457 for CONFIG/UNIFORM/v7/IPSLCM7
- Timestamp:
- 05/16/23 11:49:41 (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v7/IPSLCM7/compile_ipslcm7.sh
r6445 r6457 347 347 348 348 349 349 350 ## 2.5 Compile DYNAMICO 350 351 cd $modipsl/modeles/DYNAMICO … … 409 410 fi 410 411 411 # Compile ce0l initialization program for LMDZ regular lat-lon exectuable 412 echo; echo "NOW COMPILE CE0L OF LMDZ. Resolution = ${resol_atm}" 413 echo >> $outfile ; echo " NOW COMPILE CE0L OF LMDZ. Resolution = ${resol_atm}" >> $outfile 414 415 echo ./makelmdz_fcm -d ${resol_atm} -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -j 8 $full_lmdz ce0l >> $outfile 416 ./makelmdz_fcm -d ${resol_atm} -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -j 8 $full_lmdz ce0l >> $outfile 2>&1 417 # Test if compiling finished 418 if [[ $? != 0 ]] ; then 419 echo "THERE IS A PROBLEM IN CE0L (LMDZ) REGULAR LATLON COMPILATION - STOP" 420 exit 421 fi 422 423 # Find executable suffix 424 suffix=_${resol_atm}_phylmd 425 if [ $lmdzsvn -ge 4186 ] ; then suffix=${suffix}_${rad} ; fi 426 if [ $parallel == seq ] || [ $parallel == none ] ; then 427 suffix=${suffix}_seq_orch.e 428 else 429 suffix=${suffix}_para_mem_orch.e 430 fi 431 echo gcm suffix = $suffix 412 # Find executable suffix 413 suffix=_${resol_atm}_phylmd 414 if [ $lmdzsvn -ge 4186 ] ; then suffix=${suffix}_${rad} ; fi 415 if [ $parallel == seq ] || [ $parallel == none ] ; then 416 suffix=${suffix}_seq_orch.e 417 else 418 suffix=${suffix}_para_mem_orch_couple.e 419 fi 420 echo gcm suffix = $suffix 432 421 433 422 434 # Move executable sto modipsl/bin folder435 echo "Move gcm.e and ce0lexecutable to modipsl/bin"423 # Move executable gcm to modipsl/bin folder 424 echo "Move gcm.e executable to modipsl/bin" 436 425 if [ -f $modipsl/modeles/LMDZ/bin/gcm${suffix} ] ; then 437 426 mv $modipsl/modeles/LMDZ/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}.e … … 441 430 exit 442 431 fi 443 432 433 # Compile ce0l initialization program for LMDZ regular lat-lon exectuable 434 echo; echo "NOW COMPILE CE0L OF LMDZ. Resolution = ${resol_atm}" 435 echo >> $outfile ; echo " NOW COMPILE CE0L OF LMDZ. Resolution = ${resol_atm}" >> $outfile 436 437 echo ./makelmdz_fcm -d ${resol_atm} -c OMT -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -j 8 $full_lmdz ce0l >> $outfile 438 ./makelmdz_fcm -d ${resol_atm} -c OMT -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -j 8 $full_lmdz ce0l >> $outfile 2>&1 439 # Test if compiling finished 440 if [[ $? != 0 ]] ; then 441 echo "THERE IS A PROBLEM IN CE0L (LMDZ) REGULAR LATLON COMPILATION - STOP" 442 exit 443 fi 444 445 446 # Move executable ce0l to modipsl/bin folder 447 echo "Move ce0l executable to modipsl/bin" 444 448 if [ -f $modipsl/modeles/LMDZ/bin/ce0l${suffix} ] ; then 445 449 mv $modipsl/modeles/LMDZ/bin/ce0l${suffix} $modipsl/bin/ce0l_${resol_atm}_${optmode}.e
Note: See TracChangeset
for help on using the changeset viewer.