Changeset 2094 for trunk/MESOSCALE


Ignore:
Timestamp:
Feb 8, 2019, 12:02:35 PM (6 years ago)
Author:
jleconte
Message:

Changes in makemeso and config files to compile the generic LES with gfortran. Also added def files to run a simple generic LES simulaiton in SIMU/DEF/2019_leconte-test-les

Location:
trunk/MESOSCALE/LMD_MM_MARS
Files:
18 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/configure.defaults.gfortran64

    r1853 r2094  
    1110511105M4              =       m4 -B 14000
    1110611106RANLIB          =       ranlib
    11107 NETCDFPATH      =       CONFIGURE_NETCDF_PATH
     11107NETCDFPATH      =       CONFIGURE_NETCDF_PATH  -lnetcdf  -lnetcdff
    1110811108CC_TOOLS        =       cc
    1110911109
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/dynphy_wrf_generic_lmd_new/callphysiq_mod.F

    r2068 r2094  
    2727  ! Local variables
    2828!  CHARACTER(len=11) :: modname="call_physiq"
    29 !$OMP THREADPRIVATE(firstcall)
    3029
    3130! Sanity check on physics package type
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/physics.sed

    r1588 r2094  
    11s+ *../frame/module_internal_header_util.o ../frame/pack_utils.o -L../external/esmf_time_f90 -lesmf_time+& -L../YORGLYORGL/libo -llmd+g
     2s+ *../frame/pack_utils.o+& -L../YORGLYORGL/libo -llmd+g
    23
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r2058 r2094  
    411411                       \rm conf > /dev/null ;;
    412412
     413     lesgnu_64_single) echo Special option...
     414                       \rm conf > /dev/null 2> /dev/null ; touch conf ; echo 11 >> conf ; echo 0 >> conf
     415                       configure  < conf > log_compile 2> log_error
     416                       sed -f physics.sed configure.wrf > yeah ; mv -f yeah configure.wrf 
     417                       sed s+"-lnetcdff"+'-lnetcdff -I$(WRF_SRC_ROOT_DIR)/inc'+g configure.wrf > yeah ; mv -f yeah configure.wrf ;;
    413418     #######
    414419     #######LES-specific (WRFV3-based) -- previously in 'makeles'   
     
    418423                       echo 15 | configure > log_compile 2> log_error
    419424                       sed -f physics.sed 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 ;;
     425                       sed s+"-L../$phys/libo -llmd"+"-lnetcdf -lnetcdff -L../$phys/libo -llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah ; mv -f yeah configure.wrf ;;
    421426                     # PGF90, 32 bits, no nesting
    422427     pgf_32_single)    echo 1 | configure > log_compile 2> log_error
     
    720725  echo compilation info in:
    721726  echo $PWD/libo/log_compile_phys
     727  echo $PWD/libo/log_compile_phys2
    722728
    723729  if [ ${debug} -ne 0 ] 
     
    754760    then
    755761      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
     762      nohup ./makelmdz -t 1 -p std -b 38x36 -s 1 -d 25 rcm1d -arch mascaret_gfortran_para -cpp MESOSCALE | tee libo/log_compile_phys2 | grep 'warnings' >> libo/log_compile_phys2 #Proxb
    757763    fi
    758764  fi
     
    904910    'les')          #echo '>>> YOUR CONFIG IS : '${config}
    905911                    mkdir 'test/em_les' 2> /dev/null                   
    906                     ./compile em_les > log_compile 2> log_error
     912                    ./compile em_les ###> log_compile 2> log_error
    907913                    # save executables 
    908914                    cd main
Note: See TracChangeset for help on using the changeset viewer.