Getting Started (Compilation)
Getting Started (Compilation) griggs Tue, 04/23/2019 - 15:43Please refer to Chapter 2 of the MET Users Guide for more detailed information on installing MET and the libraries on which it depends.
MET has been developed and tested on a single architecture, Debian Linux. However, many users have had success compiling MET on other platforms, including Red Hat Linux Enterprise.
Supported Architectures
The MET package was developed and tested on Debian Linux using GNU compilers. Other machines will be added to this list in future releases as they are tested. In particular, the goal is to support those architectures supported by the WRF model itself. Unfortunately, the NCAR-JNT and DTC group, which supports MET development, and the NCAR-MMM group, which supports WRF development, no longer have access to an IBM on which to test out our software. We will no longer be able to support the MET software on IBM platforms unless we regain access to an IBM for testing.
Vendor | Hardware | OS | Compiler |
---|---|---|---|
DELL | XEON | Linux | GNU / PGI / Intel |
Get MET Source Code
The source code for MET is available from the MET download page:
Download the MET version 6.1 tarball named met-6.1.tar.gz rather than the bugfix tarball. Place the tarball in the installation directory and execute the following commands:
- gunzip met-6.1.20160815.tar.gz
tar -xvf met-6.1.20160815.tar
These commands create the met-6.1 directory.
Examine the MET Source Code
Move into the met-6.1 directory you created:
- cd met-6.1
Inside this directory, you will find the following files and subdirectories:
- aclocal.m4 used by the autoconf build process
- compile used by the autoconf build process
- config.guess used by the autoconf build process
- config.h.in used by the autoconf build process
- config.sub used by the autoconf build process
- configure used by the autoconf build process
- configure.ac used by the autoconf build process
- data/ subdirectory contains map data, colortables, sample input data, and default configuration files.
- depcomp used by the autoconf build process
- doc/ subdirectory contains the MET Users Guide.
- install-sh used by the autoconf build process
- Makefile.am used by the autoconf build process
- Makefile.in used by the autoconf build process
- Make-include used by the autoconf build process
- missing used by the autoconf build process
- out/ subdirectory is where the output from the test scripts is written.
- README contains useful information about setting up and running MET.
- scripts/ subdirectory contains the test scripts that users are strongly encouraged to run after building MET.
- src/ subdirectory contains all the source code for MET tools and libraries.
Get the Latest MET Patches
The latest set of patches for MET is available from the MET known issues page:
Place the latest set of patches in the top-level met-6.1 directory, and execute the following commands:
- gunzip met-6.1*patches*.tar.gz
tar -xvf met-6.1*patches*.tar