Skip to content
Snippets Groups Projects
A-INSTALL 27.9 KiB
Newer Older
# --------------------------------------
#
# The full ECRAD package was not included into the open source version of Meso-NH
# because it needs a licence agrement.
#
# See here to get the licence & full sources : https://software.ecmwf.int/wiki/display/ECRAD/ECMWF+Radiation+Scheme+Home
# 
# REM : some of the files modified for MNH are included in the directory ${SRC_MESONH}/src/LIB/RAD/ecrad-1.0.1_mnh
# 
# Install the ECRAD package ecrad-1.0.1.tar.gz in the MNH tree directory

cd ${SRC_MESONH}/src/LIB/RAD
tar xvfz ecrad-1.0.1.tar.gz

# Configure & Compilation
export MNH_ECRAD=1
./configure

etc ...

#
# REM : the 'profile_mesonh...' file & the 'dir_obj...' directory will be suffixed with an ECRAD extension 
#
#  Usage :
#   1) In namelist replace RAD='ECMW' be RAD='ECRA' 
#   2) Add link to 'ecrad-1.0.1/data' files 
#      see 007_16janvier/008_run2 test case for example
#
# d) MNH_MEGAN for optional compilation of MEGAN code 
# --------------------------------------
#
# Configure & Compilation
export MNH_MEGAN=1
./configure
etc ...
# e) cleaning previous compiled version
# --------------------------------------
#
# If you have already compiled exactly the same version of MesoNH on this computer ( same $XYZ value )
# you have first to 'clean' this versio with
#

make cleanmaster

#
# this will delete the dirobj_${XYZ} directory and all the preprocessed sources contained on it ..
#
# I you have also a VER_USER version do