Skip to content

Commit

Permalink
Add ifx executor (#87)
Browse files Browse the repository at this point in the history
* Add ifx executor

* Update changelog for release
  • Loading branch information
mathomp4 authored Aug 23, 2024
1 parent 0620059 commit c51ac2b
Show file tree
Hide file tree
Showing 13 changed files with 64 additions and 10 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [5.0.0] - 2024-08-23

Note: This is a major version bump due to the change from `intel` to `ifort` and `ifx` executors.
So older v3 based CI will need to change their `.circleci/config.yml` to use the new executors.

### Added

- Added new `ifx` executor as we transition from `ifort` to `ifx`

### Changed

- Changed the `ifort` executor to use newly named Docker images

### Removed

## [3.4.0] - 2024-07-23
Expand Down
2 changes: 1 addition & 1 deletion src/examples/build_geosgcm_with_commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ usage:
name: build-GEOSgcm-on-<< matrix.compiler >>
matrix:
parameters:
compiler: [gfortran, ifort]
compiler: [gfortran, ifort, ifx]
context:
- docker-hub-creds
jobs:
Expand Down
2 changes: 1 addition & 1 deletion src/examples/build_geosgcm_with_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ usage:
name: build-GEOSgcm-on-<< matrix.compiler >>
matrix:
parameters:
compiler: [gfortran, ifort]
compiler: [gfortran, ifort, ifx]
repo: GEOSgcm
checkout_fixture: true
context:
Expand Down
1 change: 1 addition & 0 deletions src/executors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ CircleCI jobs. We currently define two executors:

1. gfortran
2. ifort
3. ifx

These are named to match the Fortran compiler.

Expand Down
2 changes: 1 addition & 1 deletion src/executors/ifort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ parameters:
type: string

docker:
- image: gmao/ubuntu20-geos-env:<< parameters.baselibs_version >>-intelmpi_2021.13-intel_2024.2
- image: gmao/ubuntu20-geos-env:<< parameters.baselibs_version >>-intelmpi_2021.13-ifort_2021.13
auth:
username: $DOCKERHUB_USER
password: $DOCKERHUB_AUTH_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion src/executors/ifort_bcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parameters:
type: string

docker:
- image: gmao/ubuntu20-geos-env-bcs:<< parameters.baselibs_version >>-intelmpi_2021.13-intel_2024.2-bcs_<< parameters.bcs_version >>
- image: gmao/ubuntu20-geos-env-bcs:<< parameters.baselibs_version >>-intelmpi_2021.13-ifort_2021.13-bcs_<< parameters.bcs_version >>
auth:
username: $DOCKERHUB_USER
password: $DOCKERHUB_AUTH_TOKEN
Expand Down
20 changes: 20 additions & 0 deletions src/executors/ifx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
description: >
GEOS-ESM ifx docker executor
parameters:
resource_class:
description: "Resource class to use"
default: large
type: string
baselibs_version:
description: "Version of Baselibs to use"
default: v8.5.0
type: string

docker:
- image: gmao/ubuntu20-geos-env:<< parameters.baselibs_version >>-intelmpi_2021.13-ifx_2024.2
auth:
username: $DOCKERHUB_USER
password: $DOCKERHUB_AUTH_TOKEN

resource_class: << parameters.resource_class >>
24 changes: 24 additions & 0 deletions src/executors/ifx_bcs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
description: >
GEOS-ESM ifx docker executor with boundary conditions
parameters:
resource_class:
description: "Resource class to use"
default: large
type: string
baselibs_version:
description: "Version of Baselibs to use"
default: v8.5.0
type: string
bcs_version:
description: "Version of boundary conditions to use"
default: v11.6.0
type: string

docker:
- image: gmao/ubuntu20-geos-env-bcs:<< parameters.baselibs_version >>-intelmpi_2021.13-ifx_2024.2-bcs_<< parameters.bcs_version >>
auth:
username: $DOCKERHUB_USER
password: $DOCKERHUB_AUTH_TOKEN

resource_class: << parameters.resource_class >>
2 changes: 1 addition & 1 deletion src/jobs/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parameters:
type: enum
default: ifort
description: "Compiler to use"
enum: ["ifort", "gfortran"]
enum: ["ifort", "gfortran", "ifx"]
resource_class:
type: enum
default: large
Expand Down
4 changes: 2 additions & 2 deletions src/jobs/publish_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ parameters:
description: "Base Docker Image Name"
compiler_name:
type: enum
default: intel
default: ifort
description: "Compiler Name on image"
enum: ["intel", "gcc"]
enum: ["ifort", "gcc", "ifx"]
compiler_version:
type: string
default: ""
Expand Down
2 changes: 1 addition & 1 deletion src/jobs/run_fv3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parameters:
type: enum
default: ifort
description: "Compiler to use"
enum: ["ifort", "gfortran"]
enum: ["ifort", "gfortran", "ifx"]
resource_class:
type: enum
default: large
Expand Down
2 changes: 1 addition & 1 deletion src/jobs/run_gcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parameters:
type: enum
default: ifort
description: "Compiler to use"
enum: ["ifort", "gfortran"]
enum: ["ifort", "gfortran", "ifx"]
resource_class:
type: enum
default: xlarge
Expand Down
2 changes: 1 addition & 1 deletion src/jobs/run_mapl_tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parameters:
type: enum
default: ifort
description: "Compiler to use"
enum: ["ifort", "gfortran"]
enum: ["ifort", "gfortran", "ifx"]
resource_class:
type: enum
default: medium
Expand Down

0 comments on commit c51ac2b

Please sign in to comment.