Skip to content

MAPL 2.8

Compare
Choose a tag to compare
@mathomp4 mathomp4 released this 12 Jul 17:34
· 3700 commits to main since this release
e66a362

DOI

This is a minor revision update to MAPL. The minor number has changed due to a change in how to build MAPL. MAPL now exclusively uses the GFE Namespace method of linking to libraries in CMake. This means that users of MAPL 2.8 and higher should use at least these versions of the GFE libraries:

  • gFTL 1.4
  • gFTL-shared 1.3
  • pFUnit 4.2
  • fArgParse 1.1
  • yaFyaml 0.5
  • pFlogger 1.5

Before, users could pass -DESMA_USE_GFE_NAMESPACE=OFF when building MAPL to use the older libraries, but this is no longer supported (and the flag will do nothing).

For GEOS-ESM users, this means using ESMA_env 3.3 (equivalent to Baselibs 6.2.4) and ESMA_cmake 3.5.

Beyond this are many other fixes and changes (see below). The most notable is a fix to MAPL that is non-zero-diff for GEOS users using the Ops GOCART Emissions. There was a bug (race condition, essentially) in how grids were created for emissions. This is now fixed in MAPL 2.8.


From CHANGELOG.md

Added

  • Unit tests can now use the _RC macro for checking results from
    calls to ESMF. The file must first CPP define either I_AM_PFUNIT
    or I_AM_FUNIT (serial) and then #include "MAPL_ErrLog.h".

Changed

  • Activated ESMF logging for unit tests.
  • Fixed problem in unit testing framework that results in
    "harmless" warnings/errors in the ESMF log.
  • Update CMake to exclusively use GFE Namespace. This means that when building MAPL, users should use the latest versions of GFE libraries (gFTL, gFTL-Shared, pFlogger, fArgParse, yaFyaml, pFUnit)
  • Update ESMA_cmake to v3.5.1 (macOS fix)
  • Updated the CI to do both GNU and Intel builds of MAPL and GEOSgcm on CircleCI. (Note that for now the GEOSfvdycore build is turned off due to cost of CI)
  • Updated the CI to store logfile artifacts from CircleCI builds

Fixed

  • Fix format for writing out large number
  • Fixed CMAKE_Fortran_MODULE_DIRECTORY for some directories
  • Update handling of file coordinates when creating grids from file. Now if identified as a standard grid compute coordinates. Option to allow this to be overrided and use file coordinates. Fixed issue if two files are identified as a standard grid but has very slightly different coordinates causing one or the other to be used depending on which file is used first.
  • Fixed bug with corner case in the new logic to compute lons if matching one of our standard grids
  • Fix for NAG Build