MET Online Tutorial for METv6.1 | Compilation > Test Scripts

Running Test Scripts

Once the MET package has been built successfully, users are strongly encouraged to run the make test command:

make test >& make_test.log &
tail -f make_test.log

To exit the tail command, type CNTL-C.

Most of the steps in the test scripts will only take a couple of minutes each to run. However, the PB2NC step will likely take several minutes.

Checking for Errors

Examine the contents of the make_test.log file. Some users may experience a runtime error for pb2nc due to a compiler dependent compilation setting. Check the make_test.log file for the following error:

**************BUFR ARCHIVE LIBRARY ABORT*****************
BUFRLIB: OPENBF - FIRST 4 BYTES READ FROM RECORD IN INPUT FILE
FILE CONNECTED TO UNIT 11 NOT 'BUFR', DOES NOT CONTAIN DATA
**************BUFR ARCHIVE LIBRARY ABORT*****************

If you see there was an error, run make clean, then rerun your configure command adding --disable-block4 to your configure command line and rebuild MET, checking again to make sure the runtime error no longer occurs.

Test Script Output

In the make_test.log file, look for the following message which indicates that the test script completed:

*** Finished Testing the Model Evaluation Tools Project ***

The output from this test script is written to the out subdirectory (e.g. met-6.1/out), organized by the names of the MET tools. List the output directories with the following command:

ls out/*

Congratulations!

You have now successfully compiled and run MET!