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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.