Configuring WPS

This step will create a configure file for your particular computer. The code has been ported to a wide variety of popular platforms.

Type

./configure

You will be given a list of choices for your computer. These choices range from compiling for a single processor job, to using distributed-memory parallelization options for multiple processors. For example, the choices for a Linux computer may look similar to this (from NCAR'S Cheyenne machine):

Will use NETCDF in dir: /glade/u/apps/ch/opt/netcdf/4.4.1.1/intel/17.0.1
$JASPERLIB or $JASPERINC not found in environment. Using default values for library paths...
------------------------------------------------------------------------
Please select from among the following supported platforms.

1. Linux x86_64, gfortran (serial)
2. Linux x86_64, gfortran (serial_NO_GRIB2)
3. Linux x86_64, gfortran (dmpar)
4. Linux x86_64, gfortran (dmpar_NO_GRIB2)
5. Linux x86_64, PGI compiler (serial)
6. Linux x86_64, PGI compiler (serial_NO_GRIB2)
7. Linux x86_64, PGI compiler (dmpar)
8. Linux x86_64, PGI compiler (dmpar_NO_GRIB2)
9. Linux x86_64, PGI compiler, SGI MPT (serial)
10. Linux x86_64, PGI compiler, SGI MPT (serial_NO_GRIB2)
11. Linux x86_64, PGI compiler, SGI MPT (dmpar)
12. Linux x86_64, PGI compiler, SGI MPT (dmpar_NO_GRIB2)
13. Linux x86_64, IA64 and Opteron (serial)
14. Linux x86_64, IA64 and Opteron (serial_NO_GRIB2)
15. Linux x86_64, IA64 and Opteron (dmpar)
16. Linux x86_64, IA64 and Opteron (dmpar_NO_GRIB2)
17. Linux x86_64, Intel compiler (serial)
18. Linux x86_64, Intel compiler (serial_NO_GRIB2)
19. Linux x86_64, Intel compiler (dmpar)
20. Linux x86_64, Intel compiler (dmpar_NO_GRIB2)
21. Linux x86_64, Intel compiler, SGI MPT (serial)
22. Linux x86_64, Intel compiler, SGI MPT (serial_NO_GRIB2)
23. Linux x86_64, Intel compiler, SGI MPT (dmpar)
24. Linux x86_64, Intel compiler, SGI MPT (dmpar_NO_GRIB2)
25. Linux x86_64 g95 compiler (serial)
26. Linux x86_64 g95 compiler (serial_NO_GRIB2)
27. Linux x86_64 g95 compiler (dmpar)
28. Linux x86_64 g95 compiler (dmpar_NO_GRIB2)
29. Cray XE/XC CLE/Linux x86_64, Cray compiler (serial)
30. Cray XE/XC CLE/Linux x86_64, Cray compiler (serial_NO_GRIB2)v 31. Cray XE/XC CLE/Linux x86_64, Cray compiler (dmpar)
32. Cray XE/XC CLE/Linux x86_64, Cray compiler (dmpar_NO_GRIB2)v 33. Cray XC CLE/Linux x86_64, Intel compiler (serial)
34. Cray XC CLE/Linux x86_64, Intel compiler (serial_NO_GRIB2)
35. Cray XC CLE/Linux x86_64, Intel compiler (dmpar)
36. Cray XC CLE/Linux x86_64, Intel compiler (dmpar_NO_GRIB2)

Enter selection [1-36] :

NCAR – Cheyenne Users

Please see NCAR Notes for Cheyenne.

In General

If you plan to use GRIB2 data (or think you may use it in the future), always pick a configure option that allows for GRIB2.

It is only necessary to compile WPS with parallelization (dmpar, smpar, or dm+sm) if you are planning to use a very large domain (thousands of grid cells in the east and west directions). Otherwise, a serial option should be fine, and is recommended, regardless of whether you compiled WRF in parallel.



Have GRIB2 Data?

You will need the following libraries: JasPer, libPNG, and Zlib.
Download a tar file containing all 3 libraries here, or you can obtain them from our compiling tutorial page, with detailed instructions on how to install the libraries.

Zlib may already be on your computer, so check before installing this library. JasPer and PNG are compression libraries needed to ungrib GRIB version 2 data.


You will see a configure.wps file created after configuring. If necessary, you may edit compile options/paths in this file.




WRF_DIR Path

If your 'WRF' path is not ../WRF, you will need to edit the configure.wps file and set the correct path to your 'WRF' directory.



After typing './configure,' no options are listed, or the options are not for your platform

This will happen if the code has not been ported to your platform. You will need to add compilation options for your computer.
**NOTE: This should only be for advanced users




Compile WPS