Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 8 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version: 2.1

# Anchors in case we need to override the defaults from the orb
#baselibs_version: &baselibs_version v8.27.0
#bcs_version: &bcs_version v11.6.0
#baselibs_version: &baselibs_version v8.32.0
#bcs_version: &bcs_version v12.0.0

orbs:
ci: geos-esm/circleci-tools@4
ci: geos-esm/circleci-tools@5

workflows:
build-test:
Expand All @@ -17,10 +17,12 @@ workflows:
- docker-hub-creds
matrix:
parameters:
compiler: [ifort, gfortran]
# We cannot currently test with ifx because HDF4 Fortran interface
# cannot be compiled with ifx. The HDF4 Fortran interface is required
# for the GEOSldas
#compiler: [gfortran, ifort, ifx]
compiler: [gfortran, ifort]
#baselibs_version: *baselibs_version
repo: GEOSldas
mepodevelop: false
# This is needed due to the LDAS BRIDGE workflow
checkout_if_exists: false
persist_workspace: false # Needs to be true to run fv3/gcm experiment, costs extra
2 changes: 1 addition & 1 deletion .github/workflows/release-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
path: ${{ github.event.repository.name }}-${{ github.event.release.tag_name }}

Expand Down
105 changes: 28 additions & 77 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,85 +15,36 @@ on:
- ".codebuild/**"
- ".circleci/**"

jobs:
build_test_ldas_gnu:
name: gfortran / ${{ matrix.cmake-build-type }} / ${{ matrix.cmake-generator }}
runs-on: ubuntu-latest
container:
image: gmao/ubuntu24-geos-env-mkl:v8.27.0-openmpi_5.0.5-gcc_14.2.0
strategy:
fail-fast: false
matrix:
cmake-build-type: [Debug, Release]
cmake-generator: [Unix Makefiles]
env:
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
OMPI_MCA_btl_vader_single_copy_mechanism: none
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 1
filter: blob:none
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}

- name: Build and Test GEOSldas
uses: ./.github/actions/ci-build
with:
cmake-build-type: ${{ matrix.cmake-build-type }}
cmake-generator: ${{ matrix.cmake-generator }}
fortran-compiler: gfortran
extra-cmake-args: -DMPIEXEC_PREFLAGS='--oversubscribe'

build_test_geosldas_ifort:
name: ifort / ${{ matrix.cmake-build-type }} / ${{ matrix.cmake-generator }}
runs-on: ubuntu-latest
container:
image: gmao/ubuntu24-geos-env:v8.27.0-intelmpi_2021.13-ifort_2021.13
jobs:
build_ldas:
strategy:
fail-fast: false
matrix:
cmake-build-type: [Debug, Release]
cmake-generator: [Unix Makefiles]
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 1
filter: blob:none

- name: Build and Test GEOSldas
uses: ./.github/actions/ci-build
with:
cmake-build-type: ${{ matrix.cmake-build-type }}
cmake-generator: ${{ matrix.cmake-generator }}
fortran-compiler: ifort
# We cannot currently test with ifx because HDF4 Fortran interface
# cannot be compiled with ifx. The HDF4 Fortran interface is required
# for the GEOSldas
#compiler: [ifort, gfortran-15, ifx]
compiler: [ifort, gfortran-15]
build-type: [Debug]
uses: GEOS-ESM/CI-workflows/.github/workflows/geosgcm_build_tests.yml@project/geosgcm
with:
compiler: ${{ matrix.compiler }}
cmake-build-type: ${{ matrix.build-type }}
run-mepo-develop: false

# We cannot currently test with ifx because HDF4 Fortran interface
# cannot be compiled with ifx. The HDF4 Fortran interface is required
# for the GEOSldas
################################################################################
# build_test_geosldas_ifx: #
# name: ifx / ${{ matrix.cmake-build-type }} / ${{ matrix.cmake-generator }} #
# runs-on: ubuntu-latest #
# container: #
# image: gmao/ubuntu24-geos-env:v8.27.0-intelmpi_2021.15-ifx_2025.1 #
# strategy: #
# fail-fast: false #
# matrix: #
# cmake-build-type: [Debug, Release] #
# cmake-generator: [Unix Makefiles] #
# steps: #
# - name: Checkout #
# uses: actions/checkout@v6 #
# with: #
# fetch-depth: 1 #
# filter: blob:none #
# #
# - name: Build and Test GEOSldas #
# uses: ./.github/actions/ci-build #
# with: #
# cmake-build-type: ${{ matrix.cmake-build-type }} #
# cmake-generator: ${{ matrix.cmake-generator }} #
# fortran-compiler: ifx #
################################################################################
# We cannot currently test with spack because spack does not build the
# HDF4 Fortran interface, which is required for the GEOSldas.
#######################################################################################
# spack_build: #
# uses: GEOS-ESM/CI-workflows/.github/workflows/spack_gcc_build.yml@project/geosgcm #
# secrets: #
# BUILDCACHE_USERNAME: ${{ secrets.BUILDCACHE_USERNAME }} #
# BUILDCACHE_TOKEN: ${{ secrets.BUILDCACHE_TOKEN }} #
# with: #
# load-fms: true #
# run-mepo-develop: false #
#######################################################################################
1 change: 0 additions & 1 deletion config/GEOSgcm_GridComp_ldas.sparse
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp
/GEOSagcm_GridComp/GEOSphysics_GridComp/CMakeLists.txt
!/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSlake_GridComp
!/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSsaltwater_GridComp
!/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOS_SurfaceGridComp.F90

Expand Down
Loading