-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into cray_null_workaround
- Loading branch information
Showing
89 changed files
with
2,367 additions
and
981 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ AC_PREREQ([2.69]) | |
|
||
# Initialize with name, version, and support email address. | ||
AC_INIT([GFDL FMS Library], | ||
[2024.02-dev], | ||
[2024.03-dev], | ||
[[email protected]], | ||
[FMS], | ||
[https://www.github.com/NOAA-GFDL/FMS]) | ||
|
@@ -112,6 +112,13 @@ AS_IF([test ${enable_r8_default:-yes} = yes], | |
[enable_r8_default=yes], | ||
[enable_r8_default=no]) | ||
|
||
AC_ARG_ENABLE([portable-kinds], | ||
[AS_HELP_STRING([--enable-portable-kinds], | ||
[Enables compilation with -DPORTABLE_KINDS with iso_c_binding KIND type parameters])]) | ||
AS_IF([test ${enable_portable_kinds:-no} = yes], | ||
[enable_portable_kinds=yes], | ||
[enable_portable_kinds=no]) | ||
|
||
# user enabled testing with input files | ||
AC_MSG_CHECKING([whether to enable tests with input files]) | ||
AC_ARG_ENABLE([test-input], | ||
|
@@ -273,6 +280,13 @@ if test $hdf5_fpe_bug = yes; then | |
NetCDF must be built with a HDF5 version other than 1.14.3 to support floating point exception traps.]) | ||
fi | ||
|
||
rm -f test.nc | ||
|
||
# Check if we need a flag to not capitalize module output (needed with cray compiler) | ||
GX_FC_MOD_CASE_FLAG([FCFLAGS="$FCFLAGS $FC_MOD_CASE_FLAG"]) | ||
|
||
# Check if new unit is supported | ||
GX_FC_08_OPEN_NEWUNIT([], [AC_MSG_ERROR([Compiler support for use of newunit argument is required to build FMS])]) | ||
|
||
# Check if Fortran compiler has the Class, Character array assign bug | ||
GX_FC_CLASS_CHAR_ARRAY_BUG_CHECK() | ||
|
@@ -342,6 +356,11 @@ if test $enable_setting_flags = yes; then | |
AC_DEFINE([no_8byte_integers], [1], [Set to disable 8 byte integer Fortran routines]) | ||
fi | ||
|
||
# Builds with C data types | ||
if test $enable_portable_kinds = yes; then | ||
AC_DEFINE([PORTABLE_KINDS], [1], [Set to define KIND parameters to iso_c_binding KIND parameters]) | ||
fi | ||
|
||
# Add Cray Pointer support flag | ||
if test ! -z "$FC_CRAY_POINTER_FLAG"; then | ||
FCFLAGS="$FCFLAGS $FC_CRAY_POINTER_FLAG" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.