Changeset 2115 for trunk/MESOSCALE


Ignore:
Timestamp:
Mar 8, 2019, 5:57:11 PM (6 years ago)
Author:
jleconte
Message:

Some changes in makemeso, LMD_LES_MARS_install, and modif_mars (added configure_new.defaults) to compile with gfortran/openmpi with the latest version of WRF3

Location:
trunk/MESOSCALE/LMD_MM_MARS
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/LES/LMD_LES_MARS_install

    r2017 r2115  
    5050#ln -sf ../../LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
    5151#cd ..
     52cd arch
     53ln -sf ../modif_mars/configure_new.defaults .
     54cd ..
    5255
    5356cd dyn_em
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r2094 r2115  
    116116  echo "       <7> xlf + mpi (IBM AIX)"
    117117  echo "       <8> gfortran"
     118  echo "       <9> gfortran + openmpi"
    118119  echo "Your choice ?" ; read reply
    119120  case ${reply} in
     
    130131    7) compilo='mpixlf' ;;
    131132    8) compilo='gnu' ; numproc=1 ;;
     133    9) compilo='openmpi';;
    132134    *) echo not supported by this script ; exit ;;
    133135  esac
     
    410412                       fi
    411413                       \rm conf > /dev/null ;;
     414
     415     lesopenmpi_64_single) echo Special option...
     416                       \rm conf > /dev/null 2> /dev/null ; touch conf ; echo 13 >> conf ; echo 0 >> conf
     417                       configure  < conf > log_compile 2> log_error
     418                       sed -f physics.sed configure.wrf > yeah ; mv -f yeah configure.wrf 
     419                       sed s+"-lnetcdff"+'-lnetcdff -I$(WRF_SRC_ROOT_DIR)/inc'+g configure.wrf > yeah ; mv -f yeah configure.wrf ;;
    412420
    413421     lesgnu_64_single) echo Special option...
     
    566574        then
    567575          # precompiling flag in WRF part
    568           sed s+"ARCHFLAGS       =       "+"ARCHFLAGS       =       -D${scenario} "+g configure.wrf > yeah
     576          sed s+"ARCHFLAGS       =   "+"ARCHFLAGS       =   -D${scenario} "+g configure.wrf > yeah
    569577          mv -f yeah configure.wrf
    570578          # precompiling flag in LMD part
Note: See TracChangeset for help on using the changeset viewer.