Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FMS 2024.01 and libyaml 0.2.5 to Baselibs (main branch) #63

Merged
merged 43 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
a27ac90
Add FMS to Baselibs
mathomp4 Aug 3, 2021
86b4fe7
NAG cannot build FMS
mathomp4 Aug 3, 2021
b6005b9
Update to FMS 2021.03
mathomp4 Aug 24, 2021
931f1d5
Use Autotools
mathomp4 Aug 24, 2021
504ced9
Update README
mathomp4 Aug 24, 2021
e2f9f2f
Make FMS at j1
mathomp4 Sep 1, 2021
da51ff7
Use CMake for FMS Build
mathomp4 Sep 2, 2021
38e8ca8
Update to geos/2021.03 tag and CMake fixes
mathomp4 Sep 2, 2021
07a5437
Update changelog
mathomp4 Sep 2, 2021
ca68bb8
pthread fix for NAG
mathomp4 Sep 28, 2021
64c834e
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs
mathomp4 Sep 28, 2021
60b35e3
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs
mathomp4 Oct 8, 2021
f413a91
Update VERSION
mathomp4 Oct 8, 2021
e70e72b
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs
mathomp4 Dec 6, 2021
8834d7f
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs
mathomp4 Jan 10, 2022
8064969
Update to FMS geos/2021.04
mathomp4 Jan 25, 2022
fd7254e
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs
mathomp4 Jan 26, 2022
8174298
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs
mathomp4 Mar 4, 2022
d26e358
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs
mathomp4 Mar 9, 2022
4319e70
Merge branch 'feature/mathomp4/add-fms-to-baselibs'
mathomp4 Jul 19, 2022
91acd05
Move to use geos/2022.02 version of FMS
mathomp4 Jul 19, 2022
ddf3839
Add mismatch flag to FMS build
mathomp4 Jul 19, 2022
a9202ae
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 Jul 26, 2022
2d1c0ce
Move to canonical FMS repo
mathomp4 Jul 26, 2022
30ab3af
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 Sep 19, 2022
e594215
Update to FMS 2022.04
mathomp4 Oct 21, 2022
aa4b87e
Add libyaml 0.2.5
mathomp4 Oct 21, 2022
b25e8f1
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 Dec 14, 2022
fd1fa57
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 Jan 20, 2023
7d71d10
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 Feb 9, 2023
9db7977
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 Apr 6, 2023
99a91f9
Fix up GNUmakefile
mathomp4 Apr 6, 2023
8ff1c77
Update to FMS 2023.01
mathomp4 Apr 6, 2023
9664222
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 Apr 19, 2023
184cef4
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 May 24, 2023
9b70764
Update to FMS 2023.01.01
mathomp4 Jun 12, 2023
286fc05
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 Jul 21, 2023
d977e31
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 Oct 17, 2023
97a4c39
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 Dec 5, 2023
95dda8b
Update to FMS 2023.04 (#146)
mathomp4 May 10, 2024
bf3b11b
Merge branch 'main' into feature/mathomp4/add-fms-to-baselibs-v8
mathomp4 May 10, 2024
dae399c
Update .gitmodules
mathomp4 May 10, 2024
872b1d1
Update to FMS 2024.01 (#186)
mathomp4 May 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@
[submodule "xgboost"]
path = xgboost
url = https://github.com/dmlc/xgboost.git
[submodule "FMS"]
path = FMS
url = https://github.com/NOAA-GFDL/FMS.git
[submodule "libyaml"]
path = libyaml
url = https://github.com/yaml/libyaml.git

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

## [Unreleased]

### Added

- FMS 2024.01
- Has GEOS/MAPL Constants
- Uses fPIC to build
- Currently enabling deprecated IO
- libyaml 0.2.5
- Added for possible YAML support in FMS

### Updates
### Fixed
### Changed
Expand Down
1 change: 1 addition & 0 deletions FMS
Submodule FMS added at 87344e
60 changes: 56 additions & 4 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ MAKEJOBS := $(if $(MAKEJOBS),$(MAKEJOBS),1)
# --------------------------------

ALLDIRS = antlr2 gsl jpeg zlib szlib curl hdf4 hdf5 netcdf netcdf-fortran netcdf-cxx4 \
udunits2 nco cdo nccmp esmf xgboost \
udunits2 nco cdo nccmp libyaml FMS esmf xgboost \
GFE \
hdfeos hdfeos5 SDPToolkit

Expand All @@ -279,10 +279,12 @@ ifeq ($(ARCH),Darwin)
endif

# NAG cannot build cdo
# https://code.mpimet.mpg.de/boards/1/topics/9337
# https://code.mpimet.mpg.de/boards/1/topics/9337
# or FMS due to cray pointers
ifeq ($(findstring nagfor,$(notdir $(FC))),nagfor)
NO_NAG_DIRS = cdo
NO_NAG_DIRS = cdo FMS
ALLDIRS := $(filter-out $(NO_NAG_DIRS),$(ALLDIRS))
ESSENTIAL_DIRS := $(filter-out $(NO_NAG_DIRS),$(ESSENTIAL_DIRS))
endif

# NVHPC seems to have issues with SDPToolkit
Expand All @@ -291,7 +293,7 @@ ifeq ($(findstring nvfortran,$(notdir $(FC))),nvfortran)
ALLDIRS := $(filter-out $(NO_NVHPC_DIRS),$(ALLDIRS))
endif

ESSENTIAL_DIRS = jpeg zlib szlib hdf4 hdf5 netcdf netcdf-fortran \
ESSENTIAL_DIRS = jpeg zlib szlib hdf4 hdf5 netcdf netcdf-fortran libyaml FMS \
udunits2 esmf GFE

ifeq ($(MACH),aarch64)
Expand Down Expand Up @@ -766,6 +768,20 @@ GFE.config:
cmake -B build -S . --install-prefix=$(prefix) -DCMAKE_PREFIX_PATH=$(prefix) -DSKIP_OPENMP=YES )
@touch $@

libyaml.config:
@echo "Configuring libyaml"
@mkdir -p ./libyaml/build
@(cd ./libyaml; \
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=$(prefix) -DCMAKE_PREFIX_PATH=$(prefix) )
@touch $@

FMS.config: netcdf.install netcdf-fortran.install libyaml.install
@echo "Configuring FMS"
@mkdir -p ./FMS/build
@(cd ./FMS; \
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=$(prefix)/FMS -DCMAKE_PREFIX_PATH=$(prefix) -D32BIT=ON -D64BIT=ON -DFPIC=ON -DCONSTANTS=GEOS -DNetCDF_ROOT=$(prefix) -DNetCDF_INCLUDE_DIR=$(prefix)/include/netcdf -DUSE_DEPRECATED_IO=ON )
@touch $@

antlr2.config : antlr2/configure
@echo "Configuring antlr2"
@mkdir -p ./antlr2/build
Expand Down Expand Up @@ -938,6 +954,18 @@ GFE.install: GFE.config
cmake --build build --target install -j $(MAKEJOBS))
@touch $@

libyaml.install: libyaml.config
@echo "Installing libyaml"
@(cd ./libyaml; \
cmake --build build --target install -j $(MAKEJOBS))
@touch $@

FMS.install: FMS.config
@echo "Installing FMS"
@(cd ./FMS; \
cmake --build build --target install -j $(MAKEJOBS))
@touch $@

# MAT: Note that on Mac machines there seems to be an issue with the libtool setup
# in nco. If you just run nco, it never makes the libnco.a library, or at least
# does not make it correctly. As the nco/m4/libtool.m4 and, say, the
Expand Down Expand Up @@ -1097,6 +1125,22 @@ GFE.distclean:
@echo "Cleaning GFE"
@rm -rf ./GFE/build

libyaml.clean:
@echo "Cleaning libyaml"
@rm -rf ./libyaml/build

libyaml.distclean:
@echo "Cleaning libyaml"
@rm -rf ./libyaml/build

FMS.clean:
@echo "Cleaning FMS"
@rm -rf ./FMS/build

FMS.distclean:
@echo "Cleaning FMS"
@rm -rf ./FMS/build

antlr2.clean:
@echo "Cleaning antlr2"
@rm -rf ./antlr2/build
Expand Down Expand Up @@ -1128,6 +1172,14 @@ curl.check: curl.install
xgboost.check: xgboost.install
@echo "Not sure how to check xgboost"

libyaml.check: libyaml.install
@echo "Checking libyaml"
@echo "We do not check libyaml not sure how."

FMS.check: FMS.install
@echo "Checking FMS"
@echo "We do not check FMS."

GFE.check: GFE.install
@echo "Checking GFE"
@echo "This requires a re-CMake to enable testing"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ NASA/GSFC.
| Library | Version |
| --- | --- |
| [ESMF](https://github.com/esmf-org/esmf) | v8.6.1b04 |
| [FMS](https://github.com/NOAA-GFDL/FMS/) | 2024.01 |
| [netCDF](https://github.com/Unidata/netcdf-c) | 4.9.2 |
| [netCDF Fortran](https://github.com/Unidata/netcdf-fortran) | 4.6.1 |
| [netCDF C++](https://github.com/Unidata/netcdf-cxx4) | 4.3.1 |
| [HDF5](https://portal.hdfgroup.org/display/support) | 1.10.11 |
| [HDF4](https://portal.hdfgroup.org/display/support) | 4.2.16-2 |
| [GFE](https://github.com/Goddard-Fortran-Ecosystem/GFE) | v1.15.0 |
| [xgboost](https://github.com/dmlc/xgboost) | v1.6.0 |
| [libyaml](https://github.com/yaml/libyaml.git) | 0.2.5 |
| [antlr2](https://www.antlr2.org/) | 2.7.7 |
| [GSL](https://www.gnu.org/software/gsl/) | 2.7 |
| [jpeg](http://www.ijg.org/) | 9e |
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.24.0
8.0.0
1 change: 1 addition & 0 deletions libyaml
Submodule libyaml added at 2c891f