Skip to content

RAL version of NCEP libraries used to compile UPP

Notifications You must be signed in to change notification settings

NCAR/RAL_NCEPlibs

Repository files navigation

NOTE: THIS SOURCE CODE IS FROZEN AND NO LONGER MAINTAINED

This is a fork of the NCEP NWP production libraries required to compile NCEP models. This is an unofficial, out-of-date version of the libraries maintained for back-compatibility with older versions of UPP with WRF (https://dtcenter.org/community-code/unified-post-processor-upp-wrf). Funding to support WRF data in UPP has ended, and so this code is now frozen. Users may find help from the community by posting to the WRF Users Forum: https://forum.mmm.ucar.edu/phpBB3/viewforum.php?f=98

WRF users who need to make changes to this code in the future should consider forking this repository if they wish to make their changes available to the public.

UFS Users should not use the code in this repository. Please refer to the official NCEPLIBS repository: https://github.com/NOAA-EMC/NCEPLIBS

The original README.md text follows:

NCEP libraries for FV3 (NEMSfv3gfs trunk, April 2018)

Original version: Julie Schramm, NOAA

Last update: Dom Heinzeller, NOAA, 2019/06/21

The original library sources are available from following websites:

http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/lib/bacio/v2.0.1/ http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/lib/ip/v3.0.0/ http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/lib/nemsio/v2.2.3/ http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/lib/sigio/v2.0.1/ http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/lib/sp/v2.0.2/ http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/lib/w3nco/v2.0.6/ http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/lib/w3emc/v2.2.0/ http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/lib/landsfcutil/v2.1.0/ http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/lib/sfcio/v1.0.0/ http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/lib/nemsiogfs/v2.0.1/

Several files in w3nco/v2.0.6/src had to be patched for thread-safety, (OpenMP compilers), and for using the GNU compilers in general. Files in bacio/v2.0.1/src had to be extended with preprocessor flags for MACOSX. nemsio_gfs had to be modified to exclude non-standard code.

Building:

To build these libraries, users are advised to load the same modules and set the environment variables (compilers and flags) as in the respective module file of NEMSfv3gfs (NEMSFV3GFS_DIR/modulefiles/SYSTEM.COMPILER/fv3).

The libraries are built and installed with

./make_ncep_libs.sh -s MACHINE -c COMPILER -d NCEPLIBS_DIR -o OPENMP [-m mpi] [-a APPLICATION]

It is recommended to install the NCEPlibs into their own directory, which must be created before running the installer. Further information on the command line arguments can be obtained with

./make_ncep_libs.sh -h

The include files and libraries are installed to NCEPLIBS_DIR/{include,lib}

To remove the installed libraries, simply delete the contents of NCEPLIBS_DIR.

#---- ATEC ---- Required environment variables

  • $NETCDF or ($NETCDF_LIB and $NETCDF_INC)
  • $JASPER_INC
  • $PNG_INC
  • CC, F90 and MPIF90 from macros.make.<OS/HPC>.

smac-c5

export FC=mpiifort export FCserial=ifort export CC=icx

export NETCDF=/atec/model/atec4dwx/opt/third_party/intel/netcdf-c-4.9.0_fortran-4.5.4 export JASPER_INC=/usr/include/jasper export PNG_INC=/usr/include

About

RAL version of NCEP libraries used to compile UPP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published