Changeset 4627 for CONFIG/UNIFORM/v6/IPSLCM6.2
- Timestamp:
- 08/01/19 16:45:53 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM6.2/compile_ipslcm6.sh
r4626 r4627 205 205 206 206 ## 2.2 Compile oasis3-mct 207 oasis_dir=$modipsl/oasis3-mct 207 cd $modipsl/oasis3-mct/util/make_dir 208 208 echo; echo "NOW COMPILE OASIS3-MCT" 209 209 echo >> $outfile ; echo " NOW COMPILE OASIS3-MCT" >> $outfile 210 cd $oasis_dir/util/make_dir ; cp $mysrc_path/OASIS3-MCT/make_${fcm_arch} make.inc ; make -f TopMakefileOasis3 ; 210 cp $mysrc_path/OASIS3-MCT/make_${fcm_arch} make.inc 211 212 echo make -f TopMakefileOasis3 >> $outfile 213 make -f TopMakefileOasis3 >> $outfile 2>&1 214 211 215 212 216 ## 2.3 Compile xios … … 284 288 285 289 if [ $full_nemo == y ] ; then 290 # To make a full compilation, first clean all what has been produced during previous compilation 286 291 echo ./makenemo -m ${fcm_arch} -n $cfg_wrk clean >> $outfile 287 echo ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys" del_key "$delkeys" >> $outfile288 292 echo >> $outfile 289 293 ./makenemo -m ${fcm_arch} -n $cfg_wrk clean >> $outfile 2>&1 290 ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys" del_key "$delkeys" >> $outfile 2>&1 291 else 292 echo ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys" del_key "$delkeys" >> $outfile 293 echo >> $outfile 294 ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys" del_key "$delkeys" >> $outfile 2>&1 295 fi 294 fi 295 echo ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys" del_key "$delkeys" >> $outfile 296 echo >> $outfile 297 ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys" del_key "$delkeys" >> $outfile 2>&1 298 296 299 297 300 # Test if compiling finished … … 301 304 fi 302 305 303 echo 304 echo "copy nemo executable to modipsl/bin" 306 echo >> $outfile 307 echo "Copy nemo executable to modipsl/bin" >> $outfile 308 echo ls -lrt $nemo_root/$cfg_wrk/BLD/bin >> $outfile 309 ls -lrt $nemo_root/$cfg_wrk/BLD/bin >> $outfile 310 echo >> $outfile 311 305 312 if [ -f $nemo_root/$cfg_wrk/BLD/bin/nemo.exe ] ; then cp $nemo_root/$cfg_wrk/BLD/bin/nemo.exe $modipsl/bin/opa ; fi 306 313 if [ -f $nemo_root/$cfg_wrk/BLD/bin/nemo.exe ] && [ ${esmco2} == y ] ; then cp $nemo_root/$cfg_wrk/BLD/bin/nemo.exe $modipsl/bin/opa.esm ; fi … … 355 362 356 363 # Move executables to modipsl/bin folder 357 echo "Move gcm.e and ce0l executable to modipsl/bin" 364 echo >> $outfile 365 echo "Move gcm.e and ce0l executable to modipsl/bin" >> $outfile 366 echo ls -lrt $modipsl/modeles/LMDZ/bin >> $outfile 367 ls -lrt $modipsl/modeles/LMDZ/bin >> $outfile 368 echo >> $outfile 369 358 370 if [ -f $modipsl/modeles/LMDZ/bin/gcm${suffix}.e ] ; then mv $modipsl/modeles/LMDZ/bin/gcm${suffix}.e $modipsl/bin/gcm_${resol_atm}_${optmode}.e ; fi 359 371 if [ -f $modipsl/modeles/LMDZ/bin/ce0l${suffix}.e ] ; then mv $modipsl/modeles/LMDZ/bin/ce0l${suffix}.e $modipsl/bin/ce0l_${resol_atm}_${optmode}.e ; fi … … 362 374 echo >>$outfile ; echo "ALL COMPILING FINISHED" >> $outfile 363 375 echo; echo "ALL COMPILING FINISHED" 376 echo ls -lrt modipsl/bin 377 ls -lrt $modipsl/bin 364 378 365 379 date 380 366 381 exit 367 382
Note: See TracChangeset
for help on using the changeset viewer.