Releases: GEOS-ESM/ESMA_cmake
Enhanced f2py detection
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
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
This will allow detection of MPI stack for test purposes.
Updates for F2Py to support Python 3
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
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
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
Update LaTeX Detection
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
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
Updates necessary for building on macOS (f2py) and change the @ecbuild
location to GEOS-ESM