Skip to content

Releases: GEOS-ESM/ESMA_cmake

Enhanced f2py detection

25 Mar 20:17
d8ae41e
Compare
Choose a tag to compare

This release adds a FindF2PY.cmake file that tries to robustly check for f2py support. It looks for both an f2py executable and that it can actually compile something with f2py (as some systems have f2py as a command, but it doesn't actually work).

If satisfied, the system will set F2PY_FOUND to ON, and then f2py builds will happen in GEOS. If not, f2py is turned off.

Add flag to suppress long name warning

23 Jan 17:51
df6e079
Compare
Choose a tag to compare

In an effort to clean up the build step, this adds a new compiler option (on Intel) to suppress a warning that isn't too useful:

/discover/swdev/mathomp4/Models/GEOSgcm-MAPL20-MAPLCleanup/GEOSgcm/src/Shared/@MAPL/MAPL_Base/MAPL_TilingRegridder.F90: 
warning #5462: Global name too long, shortened from:
mapl_tilingregriddermod_mp_copy_global_to_local_$blk.pfio_errorhandlingmod_mp_mpi_statuses_ignore_ 
to: 
pl_tilingregriddermod_mp_copy_global_to_local_$blk.pfio_errorhandlingmod_mp_mpi_statuses_ignore_

Turn on MPI_DETERMINE_LIBRARY_VERSION

07 Jan 15:28
f4c321b
Compare
Choose a tag to compare

This will allow detection of MPI stack for test purposes.

Updates for F2Py to support Python 3

02 Jan 18:23
8eda874
Compare
Choose a tag to compare

In Python 3, the suffix for f2py shared object libraries gets weird.
For example, instead of

GFIO_.so

you get:

GFIO_.cpython-36m-x86_64-linux-gnu.so

UseF2Py.cmake seems like it should have supported this, but the CMake was all wonky and a chunk of the code could never run. This fixes it.

BUT, to use this code, F2PY_SUFFIX should not be set in any CMakeLists.txt as it will override the defaults. Thus, the minor release uptick.

ESMA Cmake 2.0

05 Dec 15:47
84e2702
Compare
Choose a tag to compare

NOTE This release of ESMA Cmake is not backwardly compatible to the 1.x series.

The reason is that this version requires a Baselibs of 6.0 at least, and has been tested with 6.0.2. This version of Baselibs has a new FLAP that uses find_package(FLAP) to provide its functionality and as such the "hardcoded" paths for INC_FLAP, etc. are incompatible to the new installation.

Also, this version of ESMA_cmake is based on pFUnit 4 and as such uses find_package(PFUNIT) and then uses the PFUNIT_FOUND variable.

Add FINDLOC() detection

14 Nov 19:52
d04df00
Compare
Choose a tag to compare

This update adds a test to see if the Fortran compiler being used supports FINDLOC(). Some, like GCC 8, do not.

If it supports it the variable FORTRAN_COMPILER_SUPPORTS_FINDLOC is set to TRUE.

Sundry improvements to CMake

01 Oct 18:21
36806e5
Compare
Choose a tag to compare
  1. Adds CODEOWNERS
  2. Adds QUIET to find_package of non-required libraries
  3. Convert options to use OPTION()
  4. Fixes to esma_add_library from #34
  5. Fixes for debug flag setting from #17

Update LaTeX Detection

25 Jul 15:53
337bc5e
Compare
Choose a tag to compare

The previous tags had issues at NAS and other machines where the complete LaTeX stack is not available (especially on the compute node image). So this release tries to detect if all the necessary components are available and if so, then will allow UseLatex to run.

CVS GEOSadas-5_25_0 Release

25 Jul 17:48
337bc5e
Compare
Choose a tag to compare

Capture GEOS code from CVS checkout of GEOSadas-5_25_0 tag of GEOSadas-5_25 module.

Validated with C90f_ens test case of GEOSadas.

Updates for F2Py and location of ecbuild

22 Jul 18:07
5fcb87a
Compare
Choose a tag to compare

Updates necessary for building on macOS (f2py) and change the @ecbuild location to GEOS-ESM