MET Online Tutorial

MET Online Tutorial for METv3.0

Compilation: Getting Started

Please 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, using two sets of compilers. 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.



Table 1. Hardware and compiler configurations tested for the MET package.
VendorHardwareOSCompiler
DELLXEONLinuxGNU / PGI / Intel
IBMPower SeriesAIXIBM

Get MET Source Code

The source code for MET is available from the MET download page:

Download the MET tarball, place it in the installation directory, and execute the following commands:

    gunzip METv3.0.*.tar.gz
    tar -xvf METv3.0.*.tar
These commands create the METv3.0 directory.

Examine the MET Source Code

Move into the METv3.0 directory you created:

    cd METv3.0

Inside this directory, you will find the following files and subdirectories:

  • README contains useful information about setting up and running MET.
  • Makefile_gnu is the top-level Makefile for use with GNU compilers.
  • Makefile_pgi is the top-level Makefile for use with PGI compilers.
  • Makefile_ibm is the top-level Makefile for use on an IBM.
  • Makefile_intel is the top-level Makefile for use with Intel compilers.
  • bin/ subdirectory is where the built executables are placed.
  • data/ subdirectory contains map data, colortables, sample input data, and default configuration files.
  • doc/ subdirectory contains the MET Users Guide.
  • lib/ subdirectory contains several internal libraries that are built for use by MET.
  • out/ subdirectory is where the output from the test scripts is written.
  • scripts/ subdirectory contains the test scripts that users are strongly encouraged to run after building MET.
  • src/ subdirectory contains the source code for each of the MET tools.
  • tools/ subdirectory contains the source code for optional MET tools which by default are not compiled.

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 METv3.0 directory, and execute the following commands:

    gunzip METv3.0*patches*.tar.gz
    tar -xvf METv3.0*patches*.tar