Skip to content

Commit

Permalink
Merge branch 'release/8.8.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
theurich committed Jan 8, 2025
2 parents 6595fe6 + c5a1114 commit cc31a23
Show file tree
Hide file tree
Showing 163 changed files with 12,375 additions and 3,928 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
tag1:
description: 'First ESMF Tag'
required: true
default: 'v8.6.0'
default: 'v8.7.0'
tag2:
description: 'Second ESMF Tag'
required: true
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/development-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
sudo apt-get -qq update
sudo apt install -qq -y autoconf automake libtool
elif [[ "${{matrix.config.osys}}" == "macos-"* ]]; then
sudo systemsetup -setusingnetworktime off
sudo rm -rf /etc/ntp.conf
brew install autoconf automake libtool
brew unlink libevent || true
fi
Expand Down Expand Up @@ -146,7 +148,7 @@ jobs:
if: matrix.config.comm == 'openmpi'
run: |
if [[ "$CACHE_HIT" != 'true' ]]; then
OPENMPI_URL="https://download.open-mpi.org/release/open-mpi/v5.0/openmpi-5.0.5.tar.gz"
OPENMPI_URL="https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.6.tar.gz"
mkdir ${{runner.temp}}/openmpi
cd ${{runner.temp}}/openmpi
curl -L $OPENMPI_URL | tar --strip-components=1 -xz
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.11205526.svg)](https://doi.org/10.5281/zenodo.11205526)

>Copyright (c) 2002-2024 University Corporation for Atmospheric Research, Massachusetts Institute of Technology, Geophysical Fluid Dynamics Laboratory, University of Michigan, National Centers for Environmental Prediction, Los Alamos National Laboratory, Argonne National Laboratory, NASA Goddard Space Flight Center. All rights reserved.
>Copyright (c) 2002-2025 University Corporation for Atmospheric Research, Massachusetts Institute of Technology, Geophysical Fluid Dynamics Laboratory, University of Michigan, National Centers for Environmental Prediction, Los Alamos National Laboratory, Argonne National Laboratory, NASA Goddard Space Flight Center. All rights reserved.
Hello and welcome to ESMF.

Expand Down Expand Up @@ -34,7 +34,7 @@ Pre-built binaries for ESMF and ESMPy are available through a number of channels
```
docker run -it --rm esmf/esmf-build-release:latest
```
Replace `latest` in the above command with a valid version, like `8.7.0`, in order to access a specific ESMF version.
Replace `latest` in the above command with a valid version, like `8.8.0`, in order to access a specific ESMF version.

* [Anaconda Conda-Forge](https://anaconda.org/conda-forge/): Under [conda-forge/esmpy](https://anaconda.org/conda-forge/esmpy). To install locally (_note Windows is not supported_), run:
```
Expand Down
56 changes: 28 additions & 28 deletions build/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ endif
ifeq ($(origin ESMF_F90LINKLIBS_ENV), environment)
ESMF_F90LINKLIBS = $(ESMF_F90LINKLIBS_ENV)
endif
ESMF_F90LINKLIBS +=
ESMF_F90LINKLIBS += $(ESMF_F90LINKLIBSTHIRD)
ESMF_F90ESMFLINKLIBS += -lesmf $(ESMF_F90LINKLIBS)
ESMF_F90ESMFPRELOADLINKLIBS += -lesmf $(ESMF_TRACE_DYNAMICLINKLIBS) $(ESMF_F90LINKLIBS)

Expand Down Expand Up @@ -1068,7 +1068,7 @@ endif
ifeq ($(origin ESMF_CXXLINKLIBS_ENV), environment)
ESMF_CXXLINKLIBS = $(ESMF_CXXLINKLIBS_ENV)
endif
ESMF_CXXLINKLIBS +=
ESMF_CXXLINKLIBS += $(ESMF_CXXLINKLIBSTHIRD)
ESMF_CXXESMFLINKLIBS += -lesmf $(ESMF_CXXLINKLIBS)

# - CLINKER
Expand Down Expand Up @@ -1331,9 +1331,9 @@ ESMF_CXXCOMPILEPATHSTHIRD += -I$(ESMF_MOAB_INCLUDE)
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_MOAB_INCLUDE)
endif
ifdef ESMF_MOAB_LIBS
ESMF_CXXLINKLIBS += $(ESMF_MOAB_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_MOAB_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_MOAB_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_MOAB_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_MOAB_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_MOAB_LIBS))))
endif
ifdef ESMF_MOAB_LIBPATH
Expand Down Expand Up @@ -1400,9 +1400,9 @@ ifdef ESMF_LAPACK_INTERNAL
ESMF_CPPFLAGS += -DESMF_LAPACK_INTERNAL=1
endif
ifdef ESMF_LAPACK_LIBS
ESMF_CXXLINKLIBS += $(ESMF_LAPACK_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_LAPACK_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_LAPACK_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_LAPACK_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_LAPACK_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_LAPACK_LIBS))))
endif
ifdef ESMF_LAPACK_LIBPATH
Expand Down Expand Up @@ -1446,9 +1446,9 @@ ESMF_CXXCOMPILEPATHSTHIRD += -I$(ESMF_ACC_SOFTWARE_STACK_INCLUDE)
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_ACC_SOFTWARE_STACK_INCLUDE)
endif
ifdef ESMF_ACC_SOFTWARE_STACK_LIBS
ESMF_CXXLINKLIBS += $(ESMF_ACC_SOFTWARE_STACK_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_ACC_SOFTWARE_STACK_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_ACC_SOFTWARE_STACK_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_ACC_SOFTWARE_STACK_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_ACC_SOFTWARE_STACK_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_ACC_SOFTWARE_STACK_LIBS))))
endif
ifdef ESMF_ACC_SOFTWARE_STACK_LIBPATH
Expand Down Expand Up @@ -1580,12 +1580,12 @@ ifdef ESMF_NETCDF
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_NETCDFF_INCLUDE)
endif
ifdef ESMF_NETCDF_LIBS
ESMF_CXXLINKLIBS += $(ESMF_NETCDF_LIBS)
ESMF_F90LINKLIBS += $(ESMF_NETCDF_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_NETCDF_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_NETCDF_LIBS)
endif
ifdef ESMF_NETCDFF_LIBS
ESMF_CXXLINKLIBS += $(ESMF_NETCDFF_LIBS)
ESMF_F90LINKLIBS += $(ESMF_NETCDFF_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_NETCDFF_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_NETCDFF_LIBS)
endif
ifdef ESMF_NETCDF_LIBPATH
ESMF_CXXLINKPATHSTHIRD += $(addprefix -L,$(ESMF_NETCDF_LIBPATH))
Expand Down Expand Up @@ -1623,9 +1623,9 @@ ESMF_CXXCOMPILEPATHSTHIRD += -I$(ESMF_PNETCDF_INCLUDE)
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_PNETCDF_INCLUDE)
endif
ifdef ESMF_PNETCDF_LIBS
ESMF_CXXLINKLIBS += $(ESMF_PNETCDF_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_PNETCDF_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_PNETCDF_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_PNETCDF_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_PNETCDF_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_PNETCDF_LIBS))))
endif
ifdef ESMF_PNETCDF_LIBPATH
Expand All @@ -1652,9 +1652,9 @@ ESMF_CXXCOMPILEPATHSTHIRD += -I$(ESMF_XERCES_INCLUDE)
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_XERCES_INCLUDE)
endif
ifdef ESMF_XERCES_LIBS
ESMF_CXXLINKLIBS += $(ESMF_XERCES_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_XERCES_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_XERCES_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_XERCES_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_XERCES_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_XERCES_LIBS))))
endif
ifdef ESMF_XERCES_LIBPATH
Expand Down Expand Up @@ -1690,9 +1690,9 @@ ESMF_CXXCOMPILEPATHSTHIRD += -I$(ESMF_YAMLCPP_INCLUDE)
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_YAMLCPP_INCLUDE)
endif
ifdef ESMF_YAMLCPP_LIBS
ESMF_CXXLINKLIBS += $(ESMF_YAMLCPP_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_YAMLCPP_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_YAMLCPP_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_YAMLCPP_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_YAMLCPP_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_YAMLCPP_LIBS))))
endif
ifdef ESMF_YAMLCPP_LIBPATH
Expand Down Expand Up @@ -1737,9 +1737,9 @@ ESMF_CXXCOMPILEPATHSTHIRD += -I$(ESMF_PIO_INCLUDE)
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_PIO_INCLUDE)
endif
ifdef ESMF_PIO_LIBS
ESMF_CXXLINKLIBS += $(ESMF_PIO_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_PIO_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_PIO_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_PIO_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_PIO_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_PIO_LIBS))))
endif
ifdef ESMF_PIO_LIBPATH
Expand Down Expand Up @@ -1776,9 +1776,9 @@ ESMF_CXXCOMPILEPATHSTHIRD += -I$(ESMF_PROJ4_INCLUDE)
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_PROJ4_INCLUDE)
endif
ifdef ESMF_PROJ4_LIBS
ESMF_CXXLINKLIBS += $(ESMF_PROJ4_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_PROJ4_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_PROJ4_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_PROJ4_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_PROJ4_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_PROJ4_LIBS))))
endif
ifdef ESMF_PROJ4_LIBPATH
Expand All @@ -1805,9 +1805,9 @@ ESMF_CXXCOMPILEPATHSTHIRD += -I$(ESMF_BABELTRACE_INCLUDE)
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_BABELTRACE_INCLUDE)
endif
ifdef ESMF_BABELTRACE_LIBS
ESMF_CXXLINKLIBS += $(ESMF_BABELTRACE_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_BABELTRACE_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_BABELTRACE_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_BABELTRACE_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_BABELTRACE_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_BABELTRACE_LIBS))))
endif
ifdef ESMF_BABELTRACE_LIBPATH
Expand Down Expand Up @@ -1841,9 +1841,9 @@ ESMF_CXXCOMPILEPATHSTHIRD += -I$(ESMF_NUMA_INCLUDE)
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_NUMA_INCLUDE)
endif
ifdef ESMF_NUMA_LIBS
ESMF_CXXLINKLIBS += $(ESMF_NUMA_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_NUMA_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_NUMA_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_NUMA_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_NUMA_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_NUMA_LIBS))))
endif
ifdef ESMF_NUMA_LIBPATH
Expand Down Expand Up @@ -1877,9 +1877,9 @@ ESMF_CXXCOMPILEPATHSTHIRD += -I$(ESMF_NVML_INCLUDE)
ESMF_F90COMPILEPATHSTHIRD += -I$(ESMF_NVML_INCLUDE)
endif
ifdef ESMF_NVML_LIBS
ESMF_CXXLINKLIBS += $(ESMF_NVML_LIBS)
ESMF_CXXLINKLIBSTHIRD += $(ESMF_NVML_LIBS)
ESMF_CXXLINKRPATHSTHIRD += $(addprefix $(ESMF_CXXRPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_NVML_LIBS))))
ESMF_F90LINKLIBS += $(ESMF_NVML_LIBS)
ESMF_F90LINKLIBSTHIRD += $(ESMF_NVML_LIBS)
ESMF_F90LINKRPATHSTHIRD += $(addprefix $(ESMF_F90RPATHPREFIX),$(subst -L,,$(filter -L%,$(ESMF_NVML_LIBS))))
endif
ifdef ESMF_NVML_LIBPATH
Expand Down
2 changes: 1 addition & 1 deletion build_config/Cygwin.g95.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ ESMF_F90LINKOPTS += -march=k8 -m64 -mcmodel=medium
endif

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree-form
ESMF_F90COMPILEFIXCPP = -cpp -ffixed-form
Expand Down
2 changes: 1 addition & 1 deletion build_config/Cygwin.gfortran.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ ESMF_OPENMP_F90LINKOPTS += -fopenmp
ESMF_OPENMP_CXXLINKOPTS += -fopenmp

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree-form
ESMF_F90COMPILEFIXCPP = -cpp -ffixed-form
Expand Down
2 changes: 1 addition & 1 deletion build_config/Darwin.absoft.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ ESMF_CXXLINKOPTS += -pthread
endif

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree
ESMF_F90COMPILEFIXCPP = -ffixed
Expand Down
2 changes: 1 addition & 1 deletion build_config/Darwin.g95.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ ESMF_CXXLINKOPTS += -pthread
endif

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree-form
ESMF_F90COMPILEFIXCPP = -cpp -ffixed-form
Expand Down
2 changes: 1 addition & 1 deletion build_config/Darwin.gfortran.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ ESMF_OPENACC_F90LINKOPTS += -fopenacc
ESMF_OPENACC_CXXLINKOPTS += -fopenacc

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree-form
ESMF_F90COMPILEFIXCPP = -cpp -ffixed-form
Expand Down
2 changes: 1 addition & 1 deletion build_config/Darwin.gfortranclang.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ ESMF_OPENMP_F90LINKOPTS += -fopenmp
ESMF_OPENMP_CXXLINKOPTS += -Xpreprocessor -fopenmp

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree-form
ESMF_F90COMPILEFIXCPP = -cpp -ffixed-form
Expand Down
2 changes: 1 addition & 1 deletion build_config/Darwin.nag.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ ESMF_F90LINKOPTS += -thread_safe
endif

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREECPP = -free -fpp
ESMF_F90COMPILEFREENOCPP = -free
Expand Down
2 changes: 1 addition & 1 deletion build_config/Darwin.pgi.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ ESMF_OPENACC_F90LINKOPTS += -acc -Minfo
ESMF_OPENACC_CXXLINKOPTS += -acc -Minfo

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -Mfreeform
ESMF_F90COMPILEFIXCPP = -Mpreprocess -Mnofreeform
Expand Down
2 changes: 1 addition & 1 deletion build_config/Linux.absoft.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ ESMF_PIO = OFF
ESMF_F90IMOD = -p

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree
ESMF_F90COMPILEFIXCPP = -ffixed
Expand Down
2 changes: 1 addition & 1 deletion build_config/Linux.absoftintel.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ endif
endif

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree
ESMF_F90COMPILEFIXCPP = -ffixed
Expand Down
13 changes: 2 additions & 11 deletions build_config/Linux.aocc.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ESMF_CPPDEFAULT = clang -E -P -x c

ESMF_CXXCOMPILECPPFLAGS += -x c++

# Need this until __aocc__ macro shows up in Fortran preprocessing
ESMF_CPPFLAGS += -DESMF_COMPILER_AOCC

############################################################
Expand Down Expand Up @@ -80,15 +81,6 @@ ESMF_CDEFAULT = mpicc
ESMF_MPIRUNDEFAULT = mpirun $(ESMF_MPILAUNCHOPTIONS)
ESMF_MPIMPMDRUNDEFAULT = mpiexec $(ESMF_MPILAUNCHOPTIONS)
else
ifeq ($(ESMF_COMM),lam)
# LAM (assumed to be built with gfortran) -----------------------
ESMF_CXXCOMPILECPPFLAGS+= -DESMF_NO_SIGUSR2
ESMF_F90DEFAULT = mpif77
ESMF_CXXDEFAULT = mpic++
ESMF_CDEFAULT = mpicc
ESMF_MPIRUNDEFAULT = mpirun $(ESMF_MPILAUNCHOPTIONS)
ESMF_MPIMPMDRUNDEFAULT = mpiexec $(ESMF_MPILAUNCHOPTIONS)
else
ifeq ($(ESMF_COMM),openmpi)
# OpenMPI --------------------------------------------------
ifeq ($(shell $(ESMF_DIR)/scripts/available mpifort),mpifort)
Expand Down Expand Up @@ -116,7 +108,6 @@ endif
endif
endif
endif
endif

############################################################
# Print compiler version string
Expand Down Expand Up @@ -228,7 +219,7 @@ ESMF_OPENMP_F90LINKOPTS += -fopenmp
ESMF_OPENMP_CXXLINKOPTS += -fopenmp

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree-form
ESMF_F90COMPILEFIXCPP = -cpp -ffixed-form
Expand Down
2 changes: 1 addition & 1 deletion build_config/Linux.arm.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ ESMF_OPENMP=OFF
# ESMF_OPENMP_CXXLINKOPTS += -fopenmp

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree-form
ESMF_F90COMPILEFIXCPP = -cpp -ffixed-form
Expand Down
2 changes: 1 addition & 1 deletion build_config/Linux.g95.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ ESMF_OPENMP_F90LINKOPTS += -fopenmp
ESMF_OPENMP_CXXLINKOPTS += -fopenmp

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree-form
ESMF_F90COMPILEFIXCPP = -cpp -ffixed-form
Expand Down
2 changes: 1 addition & 1 deletion build_config/Linux.gfortran.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ ESMF_OPENACC_F90LINKOPTS += -fopenacc
ESMF_OPENACC_CXXLINKOPTS += -fopenacc

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree-form
ESMF_F90COMPILEFIXCPP = -cpp -ffixed-form
Expand Down
2 changes: 1 addition & 1 deletion build_config/Linux.gfortranclang.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ ESMF_OPENMP_F90LINKOPTS += -fopenmp
ESMF_OPENMP_CXXLINKOPTS += -fopenmp

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -ffree-form
ESMF_F90COMPILEFIXCPP = -cpp -ffixed-form
Expand Down
2 changes: 1 addition & 1 deletion build_config/Linux.intelgcc.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ ESMF_OPENMP_CXXCOMPILEOPTS += -fopenmp
ESMF_OPENMP_CXXLINKOPTS += -fopenmp

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = -fpp0 -FR
ESMF_F90COMPILEFIXCPP = -fpp
Expand Down
2 changes: 1 addition & 1 deletion build_config/Linux.lahey.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ ESMF_OPENMP_F90LINKOPTS += -fopenmp
ESMF_OPENMP_CXXLINKOPTS += -fopenmp

############################################################
# Need this until the file convention is fixed (then remove these two lines)
# Explicit flags for handling specific format and cpp combos
#
ESMF_F90COMPILEFREENOCPP = --nfix
ESMF_F90COMPILEFIXCPP = --fix -Cpp
Expand Down
Loading

0 comments on commit cc31a23

Please sign in to comment.