install-met

Last modified: 2013/08/13

References:

http://www.dtcenter.org/met/users/downloads/index.php

http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/compilation/req_libs.php

1. Install BUFERLIB

Download from http://www.nco.ncep.noaa.gov/sib/decoders/BUFRLIB/

$ mkdir BUFRLIB_v10-2-3 ; cd BUFRLIB_v10-2-3 ; tar -xvf BUFRLIB_v10-2-3.tar

$ export FC=ifort

$ export CC=gcc

$ gcc -c -DUNDERSCORE *.c

$ ifort -c -DUNDERSCORE *.f *.F

$ ar crv libbufr.a *.o

2. Install GSL

Download from ftp://ftp.gnu.org/gnu/gsl/

$ tar -zxvf gsl-1.16.tar.gz

$ cd gsl-1.gsl-1.16

$ export FC=ifort

$ export CC=gcc

$ ./configure --prefix=/path-to-install-dir/gsl-1.16

$ make

$ make install

3. Install NetCDF

Click here for more information.

4. Install MET

Download from http://www.dtcenter.org/met/users/downloads/index.php

$ tar -zxvf METv4.1.20130522.tar.gz

$ cd METv4.1

$ cp user_defs_intel.mk user_defs.mk

Edit user_defs.mk as following values;

CXX=icc

FC=ifort

NETCDF_BASE=/path-to-install-dir/netcdf

BUFR_BASE=/path-to-install-dir/BUFR

GSL_BASE=/path-to-install-dir/gsl

Then run the configure script, and type "make".

When the make process finished, check under the bin/ directory.