diff --git a/A-INSTALL b/A-INSTALL index c3b09b02d191c2027c44377b55b22f45822d3491..38dc2eca7dbb74655cd59902168b1b1ea45a773f 100644 --- a/A-INSTALL +++ b/A-INSTALL @@ -986,8 +986,34 @@ git clone -b 2014.01 https://github.com/forefireAPI/firefront.git # -------------------------------------- # # The RTTOV package was not included into the open source version of Meso-NH -# because it needs a licence agrement . +# because it needs a licence agrement. # +# ---------------------------------- +# OPTION 1: Use version 11.3 of RTTOV +# ----------------------------------- +# Download the RTTOV package rttov113.tar.gz by following the instructions given on http://nwpsaf.eu/site/software/rttov/ +# +# Install the RTTOV package rttov113.tar.gz +cd MNH.../src/LIB +mkdir RTTOV-11.3 +cd RTTOV-11.3 +tar xvfz rttov113.tar.gz +cd src +make ARCH=ifort # Use Intel "ifort" compiler; other options: gfortran, NAG, pgf90, IBM +# +# And then for the compilation, run the 'configure' script preceded with the setting of the MNH_RTTOV variable: +# + +cd MNH.../src/ +export MNH_RTTOV=1 +export VER_RTTOV=11.3 +./configure + +etc ... + +# ---------------------------------- +# OPTION 2: Use version 8.7 of RTTOV +# ---------------------------------- # For already(old) licencied MesoNH users (MNH-4-X version with research licence see here: http://mesonh.aero.obs-mip.fr/mesonh410/UserInformation) # # the package could be reloaded in this way @@ -1014,6 +1040,7 @@ tar xvfz RTTOV.tar.gz cd MNH.../src/ export MNH_RTTOV=1 +export VER_RTTOV=8.7 ./configure etc ... diff --git a/src/Makefile.MESONH.mk b/src/Makefile.MESONH.mk index df3694b41d4b5f0dd62b34bb3b308018374b53e3..ea570334c3db1a9c7b23517c26c630e7c33ce1d9 100644 --- a/src/Makefile.MESONH.mk +++ b/src/Makefile.MESONH.mk @@ -162,12 +162,12 @@ INC += $(INC_RTTOV) CPPFLAGS += $(CPPFLAGS_RTTOV) CPPFLAGS_MNH += -DMNH_RTTOV_8=MNH_RTTOV_8 endif -ifeq "$(VER_RTTOV)" "11.1" +ifeq "$(VER_RTTOV)" "11.3" DIR_RTTOV=${SRC_MESONH}/src/LIB/RTTOV-${VER_RTTOV} RTTOV_PATH=${DIR_RTTOV} # INC_RTTOV ?= -I${RTTOV_PATH}/include -I${RTTOV_PATH}/mod -LIB_RTTOV ?= -L${RTTOV_PATH}/lib -lrttov11.1.0_coef_io -lrttov11.1.0_mw_scatt -lrttov11.1.0_main +LIB_RTTOV ?= -L${RTTOV_PATH}/lib -lrttov11_coef_io -lrttov11_mw_scatt -lrttov11_main INC += $(INC_RTTOV) LIBS += $(LIB_RTTOV) VPATH += $(RTTOV_PATH)/mod