forked from NOAA-GFDL/FMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mlee03
authored and
mlee03
committed
Jul 25, 2023
1 parent
b4bacc1
commit a628956
Showing
117 changed files
with
3,926 additions
and
1,783 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -38,6 +38,7 @@ SUBDIRS = \ | |
tridiagonal \ | ||
mpp \ | ||
constants \ | ||
constants4 \ | ||
memutils \ | ||
string_utils \ | ||
fms2_io \ | ||
|
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], | ||
[2022.04.00-dev], | ||
[2023.01.00-dev], | ||
[[email protected]], | ||
[FMS], | ||
[https://www.github.com/NOAA-GFDL/FMS]) | ||
|
@@ -110,6 +110,13 @@ AS_IF([test ${enable_8byte_int:-no} = yes], | |
[enable_8byte_int=yes], | ||
[enable_8byte_int=no]) | ||
|
||
AC_ARG_ENABLE([deprecated-io], | ||
[AS_HELP_STRING([--enable-deprecated-io], | ||
[Enables compilation of deprecated mpp_io and fms_io modules in addition to the updated fms2_io modules (default no)])]) | ||
AS_IF([test ${enable_deprecated_io:-no} = yes], | ||
[enable_deprecated_io=yes], | ||
[enable_deprecated_io=no]) | ||
|
||
# user enabled testing with input files | ||
AC_MSG_CHECKING([whether to enable tests with input files]) | ||
AC_ARG_ENABLE([test-input], | ||
|
@@ -203,7 +210,6 @@ AC_MSG_CHECKING([if netCDF was built with HDF5]) | |
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[ | ||
#include <netcdf_meta.h> | ||
#if !(NC_HAS_NC4) | ||
choke me | ||
#endif]])], [nc_has_nc4=yes], [nc_has_nc4=no]) | ||
AC_MSG_RESULT([$nc_has_nc4]) | ||
if test $nc_has_nc4 = no; then | ||
|
@@ -281,6 +287,15 @@ if test $with_mpi = yes; then | |
AC_DEFINE([use_libMPI], [1], [This is required for the library to build]) | ||
fi | ||
|
||
# check if compiling old io | ||
if test $enable_deprecated_io = yes; then | ||
#If the test pass, define use_deprecated_io macro and skip it's unit tests | ||
AC_DEFINE([use_deprecated_io], [1], [This is required to use mpp_io and fms_io modules]) | ||
AM_CONDITIONAL([SKIP_DEPRECATED_IO_TESTS], true) | ||
else | ||
AM_CONDITIONAL([SKIP_DEPRECATED_IO_TESTS], false) | ||
fi | ||
|
||
# Set any required compile flags. This will not be done if the user wants to | ||
# define all their own flags. | ||
if test $enable_setting_flags = yes; then | ||
|
@@ -426,6 +441,7 @@ AC_CONFIG_FILES([ | |
time_interp/Makefile | ||
time_manager/Makefile | ||
constants/Makefile | ||
constants4/Makefile | ||
platform/Makefile | ||
fms/Makefile | ||
fms2_io/Makefile | ||
|
Oops, something went wrong.