Changeset 1752 for trunk/MESOSCALE/LMD_MM_MARS
- Timestamp:
- Jul 24, 2017, 6:28:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/makemeso
r1746 r1752 456 456 mv -f yeah configure.wrf ;; 457 457 mpifort_64) # MPI+IFORT, 64 bits, no nesting / nesting 458 echo 9 | configure > log_compile 2> log_error458 echo 9 | ./configure > log_compile 2> log_error 459 459 sed -f physics.sed configure.wrf > yeah ; mv -f yeah configure.wrf 460 460 sed s+"-f90=ifort"+" "+g configure.wrf > yeah ; mv -f yeah configure.wrf … … 467 467 then 468 468 echo 'DEBUG DEBUG DEBUG DEBUG' 469 sed s+"# 469 sed s+"#-g"+" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"+g configure.wrf > yeah 470 470 mv -f yeah configure.wrf 471 471 fi … … 487 487 sed s+"mpicc"+"mpicc -DMPI2_SUPPORT"+g configure.wrf > yeah ; mv -f yeah configure.wrf 488 488 ## !!! NETCDF must be defined 489 sed s+"-L../$phys/libo -llmd"+"-L../$phys/libo -llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah 489 if [[ "${phys}" != *"void"* ]] 490 then 491 sed s+"-L../$phys/libo -llmd"+"-L../$phys/libo -llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah 492 else 493 sed s+"-lesmf_time"+"-lesmf_time $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah 494 fi 490 495 mv -f yeah configure.wrf 491 496 #### POUR LE TRAITEMENT PARTICULIERS des NESTS sur iDATAPLEX [cf. module_lmd_driver] … … 584 589 then 585 590 sed s+"LIB_BUNDLED = "+"LIB_BUNDLED = /usr/lib64/liblapack.so \ "+g configure.wrf > yeah ; mv -f yeah configure.wrf 586 #sed s+"RWORDSIZE = "+"RWORDSIZE = 8 # "+g configure.wrf > yeah ; mv -f yeah configure.wrf587 #sed s+"-DLWORDSIZE=4 "+"-DLWORDSIZE=8 "+g configure.wrf > yeah ; mv -f yeah configure.wrf588 #sed s+"-DIWORDSIZE=4 "+"-DIWORDSIZE=8 "+g configure.wrf > yeah ; mv -f yeah configure.wrf589 #sed s+"FCBASEOPTS ="+"FCBASEOPTS = -r8 "+g configure.wrf > yeah ; mv -f yeah configure.wrf590 #sed s+"-fp-model precise "+"-fpconstant -fp-model precise "+g configure.wrf > yeah ; mv -f yeah configure.wrf591 591 fi 592 592 … … 719 719 nohup makegcm_${compilo} -debug -full -t ${tra} -p mars -d ${physz} testphys1d | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys 720 720 elif [[ "${phys}" == *"venus"* ]] 721 then 721 then 722 722 echo 'DEBUG DEBUG DEBUG DEBUG' 723 nohup makelmdz -debug -full -p venus -d 181 rcm1d -arch linux-ifort -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys 723 nohup ./makelmdz -debug -full -p venus -d 51 rcm1d -arch linux-ifort -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys # on /u/ and /planeto/ 724 nohup ./makelmdz --debug p venus -d 51 rcm1d -arch linux-ifort -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys 724 725 fi 725 726 else … … 729 730 elif [[ "${phys}" == *"venus"* ]] 730 731 then 731 nohup makelmdz -full -p venus -d 51 rcm1d -arch linux-ifort -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys 732 nohup ./makelmdz -full -p venus -d 51 rcm1d -arch linux-ifort_meso -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys # on /u/ and /planeto/ 733 nohup ./makelmdz -p venus -d 51 rcm1d -arch linux-ifort_meso -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys 734 #nohup ./makelmdz -full -p venus -d 51 rcm1d -arch CICLADifort -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys # on CICLAD 735 #nohup ./makelmdz -p venus -d 51 rcm1d -arch CICLADifort -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys 736 #nohup ./makelmdz -full -p venus -d 51 rcm1d -arch X64_MESU -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys #on MESU 737 #nohup ./makelmdz -p venus -d 51 rcm1d -arch X64_MESU -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys 738 #nohup makelmdz -full -p venus -d 51 rcm1d -arch X64_OCCIGEN -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys #on OCCIGEN 739 #nohup makelmdz -p venus -d 51 rcm1d -arch X64_OCCIGEN -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys 732 740 fi 733 741 fi … … 742 750 cd libo 743 751 mkdir temp 744 if [[ "${phys}" == *"venus"* ]] 745 then 746 cp -f linux*/*.a temp/ 752 if [[ "${phys}" == *"mars"* ]] 753 then 754 cp -f LINUX*/*.a temp 755 else #VENUS 756 cp -f linux*/*.a temp/ # on /u/ and /planeto/ 757 #cp -f /home/mlefevre/modipsl/lib/libioipsl.a temp/ #on CICLAD 758 #cp -f X64*/*.a temp #on MESU and OCCIGEN 747 759 cp -f ../ioipsl/libioipsl.a temp/ 748 else749 cp -f LINUX*/*.a temp/750 760 fi 751 761 cd temp … … 775 785 # include modules for interfacing 776 786 mv *.mod ../inc/ 777 else # [[ "${phys}" == *"venus"* ]] 778 mv ./libo/linux*/*.mod ../inc/ 787 elif [[ "${phys}" == *"venus"* ]] 788 then 789 mv ./libo/linux*/*.mod ../inc/ # on /u/ and /planeto/ 790 #mv ./libo/CICLAD*/*.mod ../inc/ # on CICLAD 791 #mv ./libo/X64*/*.mod ../inc/ # on MESU and OCCIGEN 779 792 cp -f ./ioipsl/*.mod ../inc/ 780 781 793 fi 782 794 fi
Note: See TracChangeset
for help on using the changeset viewer.