Changeset 2058 for trunk/MESOSCALE


Ignore:
Timestamp:
Jan 9, 2019, 1:01:19 PM (6 years ago)
Author:
jleconte
Message:

on our way to compile mesoscale+generic with gfortran

Location:
trunk/MESOSCALE/LMD_MM_MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/dynphy_wrf_generic_lmd_new/update_inputs_physiq_mod.F

    r2011 r2058  
    316316            M_ALBEDO,CST_AL,&
    317317            M_TSURF,M_EMISS,M_CO2ICE,&
    318             M_GW,M_Z0,CST_Z0&
     318            M_GW,M_Z0,CST_Z0,&
    319319            M_H2OICE,&
    320320            phisfi_val)
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r2037 r2058  
    1919###############################
    2020
    21 
     21###path to compiled version of ioipsl on your system for generic physics
     22pathioipsl='/home/leconte/script/ioipsl/modipsl/lib'
    2223
    2324##############################################################################################
     
    417418                       echo 15 | configure > log_compile 2> log_error
    418419                       sed -f physics.sed configure.wrf > yeah ; mv -f yeah configure.wrf 
    419                        sed s+"-L../$phys/libo -llmd"+"-L../$phys/libo -llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah ; mv -f yeah configure.wrf ;;
     420                       sed s+"-L../$phys/libo -llmd"+"-lnetcdf -lnetcdff -L../$phys/libo -llmd $NETCDF/lib/libnetcdf.a -lnetcdf"+g configure.wrf > yeah ; mv -f yeah configure.wrf ;;
    420421                     # PGF90, 32 bits, no nesting
    421422     pgf_32_single)    echo 1 | configure > log_compile 2> log_error
     
    752753    elif [[ "${phys}" == *"generic"* ]]
    753754    then
    754       nohup ./makelmdz -t ${tra} -p std -b 36x32 -s 1 -d 25 rcm1d -arch X64_MESU -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys #Proxb
     755      nohup ./makelmdz -t 1 -p std -b 38x36 -full -s 1 -d 25 rcm1d -arch mascaret_gfortran_para -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys #Proxb
     756      nohup ./makelmdz -t 1 -p std -b 38x36 -s 1 -d 25 rcm1d -arch mascaret_gfortran_para -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys #Proxb
    755757    fi
    756758  fi
     
    769771    cp -f LINUX*/*.a temp
    770772  else #VENUS and GENERIC
    771     cp -f linux*/*.a temp/ # on /u/ and /planeto/
     773#    cp -f linux*/*.a temp/ # on /u/ and /planeto/
     774    cp -f */*.a temp/ # on /u/ and /planeto/
    772775    #cp -f /home/mlefevre/modipsl/lib/libioipsl.a temp/ #on CICLAD
    773776    #cp -f X64*/*.a temp #on MESU and OCCIGEN
    774     cp -f ../ioipsl/libioipsl.a temp/
     777    cp -f $pathioipsl/libioipsl.a temp/
    775778  fi
    776779  cd temp
     
    808811      mv  *.mod ../inc/
    809812    else
    810       mv  ./libo/linux*/*.mod ../inc/ # on /u/ and /planeto/
     813#      mv  ./libo/linux*/*.mod ../inc/ # on /u/ and /planeto/
     814      mv  ./libo/*/*.mod ../inc/ # on /u/ and /planeto/
    811815      #mv  ./libo/CICLAD*/*.mod ../inc/ # on CICLAD
    812816      #mv  ./libo/X64*/*.mod ../inc/ # on MESU and OCCIGEN
    813       cp -f ./ioipsl/*.mod ../inc/
     817      cp -f $pathioipsl/*.mod ../inc/
    814818    fi
    815819  fi
Note: See TracChangeset for help on using the changeset viewer.