Skip to content

Commit

Permalink
Update CI; add ifx
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed Dec 2, 2024
1 parent 9a6c442 commit 35686e6
Showing 1 changed file with 28 additions and 9 deletions.
37 changes: 28 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parameters:

# Anchors to prevent forgetting to update a version
os_version: &os_version ubuntu20
baselibs_version: &baselibs_version v7.25.0
baselibs_version: &baselibs_version v7.27.0
bcs_version: &bcs_version v11.6.0
tag_build_arg_name: &tag_build_arg_name gcmversion

Expand All @@ -32,7 +32,7 @@ workflows:
- docker-hub-creds
matrix:
parameters:
compiler: [ifort, gfortran]
compiler: [gfortran, ifort, ifx]
baselibs_version: *baselibs_version
repo: GEOSgcm
persist_workspace: true # Needs to be true to run fv3/gcm experiment, costs extra
Expand All @@ -44,12 +44,12 @@ workflows:
- docker-hub-creds
matrix:
parameters:
compiler: [gfortran, ifort]
baselibs_version: *baselibs_version
bcs_version: *bcs_version
compiler: [gfortran, ifort, ifx]
requires:
- build-GEOSgcm-on-<< matrix.compiler >>
repo: GEOSgcm
baselibs_version: *baselibs_version
bcs_version: *bcs_version

# Run Coupled GCM (1 hour, no ExtData)
- ci/run_gcm:
Expand All @@ -59,11 +59,11 @@ workflows:
matrix:
parameters:
compiler: [gfortran, ifort]
baselibs_version: *baselibs_version
bcs_version: *bcs_version
requires:
- build-GEOSgcm-on-<< matrix.compiler >>
repo: GEOSgcm
baselibs_version: *baselibs_version
bcs_version: *bcs_version
gcm_ocean_type: MOM6
change_layout: false

Expand All @@ -90,6 +90,25 @@ workflows:
image_name: geos-env-bcs
tag_build_arg_name: *tag_build_arg_name
resource_class: xlarge
- ci/publish_docker:
filters:
tags:
only: /^v.*$/
name: publish-ifx-docker-image
context:
- docker-hub-creds
- ghcr-creds
os_version: *os_version
baselibs_version: *baselibs_version
bcs_version: *bcs_version
container_name: geosgcm
mpi_name: intelmpi
mpi_version: "2021.14"
compiler_name: ifx
compiler_version: "2025.0"
image_name: geos-env-bcs
tag_build_arg_name: *tag_build_arg_name
resource_class: xlarge
- ci/publish_docker:
filters:
tags:
Expand All @@ -103,9 +122,9 @@ workflows:
bcs_version: *bcs_version
container_name: geosgcm
mpi_name: openmpi
mpi_version: 5.0.2
mpi_version: 5.0.5
compiler_name: gcc
compiler_version: 13.2.0
compiler_version: 14.2.0
image_name: geos-env-bcs
tag_build_arg_name: *tag_build_arg_name
resource_class: xlarge

0 comments on commit 35686e6

Please sign in to comment.