Skip to content

Commit ac78edc

Browse files
authored
Merge branch 'develop' into feature/zhaobin74/support-cice6-rewind
2 parents 7a1a1b3 + be39cab commit ac78edc

File tree

231 files changed

+4175
-1020
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+4175
-1020
lines changed

.circleci/config.yml

Lines changed: 48 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ parameters:
1616

1717
# Anchors to prevent forgetting to update a version
1818
os_version: &os_version ubuntu20
19-
baselibs_version: &baselibs_version v7.25.0
20-
bcs_version: &bcs_version v11.5.0
19+
baselibs_version: &baselibs_version v7.27.0
20+
bcs_version: &bcs_version v11.6.0
2121
tag_build_arg_name: &tag_build_arg_name maplversion
2222

2323
orbs:
24-
ci: geos-esm/circleci-tools@2
24+
ci: geos-esm/circleci-tools@4
2525

2626
workflows:
2727
build-and-test-MAPL:
@@ -33,7 +33,7 @@ workflows:
3333
- docker-hub-creds
3434
matrix:
3535
parameters:
36-
compiler: [gfortran, ifort]
36+
compiler: [gfortran, ifort, ifx]
3737
cmake_generator: ['Unix Makefiles','Ninja']
3838
baselibs_version: *baselibs_version
3939
repo: MAPL
@@ -49,7 +49,7 @@ workflows:
4949
- docker-hub-creds
5050
matrix:
5151
parameters:
52-
compiler: [gfortran, ifort]
52+
compiler: [gfortran, ifort, ifx]
5353
baselibs_version: *baselibs_version
5454
repo: MAPL
5555
mepodevelop: false
@@ -60,14 +60,29 @@ workflows:
6060
# ExtData1G tests were removed from ESSENTIAL, so we run them separately here as UFS might still use 1G?
6161
ctest_options: "-L 'ESSENTIAL|EXTDATA1G_SMALL_TESTS' --output-on-failure"
6262

63+
# Builds MAPL without pFUnit support
64+
- ci/build:
65+
name: build-MAPL-without-pFUnit-on-<< matrix.compiler >>
66+
context:
67+
- docker-hub-creds
68+
matrix:
69+
parameters:
70+
compiler: [ifort, ifx]
71+
baselibs_version: *baselibs_version
72+
repo: MAPL
73+
mepodevelop: false
74+
remove_pfunit: true
75+
run_unit_tests: true
76+
ctest_options: "-L 'ESSENTIAL' --output-on-failure"
77+
6378
# Run MAPL Tutorials
6479
- ci/run_mapl_tutorial:
6580
name: run-<< matrix.tutorial_name >>-Tutorial-with-<< matrix.compiler >>
6681
context:
6782
- docker-hub-creds
6883
matrix:
6984
parameters:
70-
compiler: [gfortran, ifort]
85+
compiler: [gfortran, ifort, ifx]
7186
tutorial_name:
7287
- hello_world
7388
- parent_no_children
@@ -89,7 +104,7 @@ workflows:
89104
- docker-hub-creds
90105
matrix:
91106
parameters:
92-
compiler: [gfortran, ifort]
107+
compiler: [gfortran, ifort, ifx]
93108
baselibs_version: *baselibs_version
94109
repo: GEOSgcm
95110
checkout_fixture: true
@@ -104,7 +119,7 @@ workflows:
104119
- docker-hub-creds
105120
matrix:
106121
parameters:
107-
compiler: [gfortran, ifort]
122+
compiler: [gfortran, ifort, ifx]
108123
requires:
109124
- build-GEOSgcm-on-<< matrix.compiler >>
110125
repo: GEOSgcm
@@ -136,7 +151,7 @@ workflows:
136151
- docker-hub-creds
137152
matrix:
138153
parameters:
139-
compiler: [gfortran,ifort]
154+
compiler: [gfortran, ifort]
140155
baselibs_version: *baselibs_version
141156
repo: GEOSldas
142157
mepodevelop: false
@@ -161,7 +176,8 @@ workflows:
161176
fixture_branch: feature/mathomp4/mapldevelop
162177
checkout_mapl_branch: true
163178
mepodevelop: false
164-
rebuild_procs: 1
179+
rebuild_procs: 4
180+
build_type: Release
165181

166182
build-and-publish-docker:
167183
when:
@@ -171,7 +187,7 @@ workflows:
171187
filters:
172188
tags:
173189
only: /^v.*$/
174-
name: publish-intel-docker-image
190+
name: publish-ifort-docker-image
175191
context:
176192
- docker-hub-creds
177193
- ghcr-creds
@@ -180,8 +196,25 @@ workflows:
180196
container_name: mapl
181197
mpi_name: intelmpi
182198
mpi_version: "2021.13"
183-
compiler_name: intel
184-
compiler_version: "2024.2"
199+
compiler_name: ifort
200+
compiler_version: "2021.13"
201+
image_name: geos-env
202+
tag_build_arg_name: *tag_build_arg_name
203+
- ci/publish_docker:
204+
filters:
205+
tags:
206+
only: /^v.*$/
207+
name: publish-ifx-docker-image
208+
context:
209+
- docker-hub-creds
210+
- ghcr-creds
211+
os_version: *os_version
212+
baselibs_version: *baselibs_version
213+
container_name: mapl
214+
mpi_name: intelmpi
215+
mpi_version: "2021.14"
216+
compiler_name: ifx
217+
compiler_version: "2025.0"
185218
image_name: geos-env
186219
tag_build_arg_name: *tag_build_arg_name
187220
- ci/publish_docker:
@@ -196,8 +229,8 @@ workflows:
196229
baselibs_version: *baselibs_version
197230
container_name: mapl
198231
mpi_name: openmpi
199-
mpi_version: 5.0.2
232+
mpi_version: 5.0.5
200233
compiler_name: gcc
201-
compiler_version: 13.2.0
234+
compiler_version: 14.2.0
202235
image_name: geos-env-mkl
203236
tag_build_arg_name: *tag_build_arg_name

.github/stale.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/cron-stale.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Based on examples from the stale action site:
2+
# https://github.com/actions/stale
3+
4+
name: 'Close stale issues and PR'
5+
on:
6+
schedule:
7+
- cron: '30 1 * * *'
8+
9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
13+
14+
jobs:
15+
stale:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/stale@v9
19+
with:
20+
days-before-issue-stale: 60
21+
stale-issue-message: >
22+
This issue has been automatically marked as stale because it
23+
has not had activity in the last 60 days. If there are no
24+
updates within 7 days, it will be closed. You can add the
25+
":hourglass: Long Term" label to prevent the stale action
26+
from closing this issue.
27+
days-before-issue-close: 7
28+
close-issue-message: >
29+
This issue was closed because it has been stalled for 7 days with no activity.
30+
You can reopen this issue if you are still working on it.
31+
stale-issue-label: ':snowflake: Stale'
32+
exempt-issue-labels: ':hourglass: Long Term,:exclamation: High Priority'
33+
34+
days-before-pr-stale: 60
35+
stale-pr-message: >
36+
This PR has been automatically marked as stale because it
37+
has not had activity in the last 60 days. If there are no
38+
updates within 7 days, it will be closed. You can add the
39+
":hourglass: Long Term" label to prevent the stale action
40+
from closing this issue.
41+
days-before-pr-close: 30
42+
close-pr-message: >
43+
This PR was closed because it has been stalled for 30 days with no activity.
44+
You can reopen this PR if you are still working on it.
45+
stale-pr-label: ':snowflake: Stale'
46+
exempt-pr-labels: ':hourglass: Long Term,:exclamation: High Priority'
47+
48+
labels-to-remove-when-unstale: ':snowflake: Stale'
49+
remove-stale-when-updated: true
50+
51+

.github/workflows/release-tarball.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,20 @@ jobs:
1414
with:
1515
path: ${{ github.event.repository.name }}-${{ github.event.release.tag_name }}
1616

17-
- name: Checkout mepo
18-
uses: actions/checkout@v4
17+
- name: Setup Python
18+
uses: actions/setup-python@v5
1919
with:
20-
repository: GEOS-ESM/mepo
21-
path: mepo
20+
python-version: '3.11'
21+
22+
- name: Pip install mepo
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install mepo
2226
2327
- name: Run mepo
2428
run : |
2529
cd ${GITHUB_WORKSPACE}/${{ github.event.repository.name }}-${{ github.event.release.tag_name }}
26-
${GITHUB_WORKSPACE}/mepo/mepo clone
30+
mepo clone
2731
2832
- name: Create tarball
2933
run: |

.github/workflows/workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
name: Build and Test MAPL GNU
3636
runs-on: ubuntu-latest
3737
container:
38-
image: gmao/ubuntu20-geos-env-mkl:v7.25.0-openmpi_5.0.2-gcc_13.2.0
38+
image: gmao/ubuntu20-geos-env-mkl:v7.27.0-openmpi_5.0.5-gcc_14.2.0
3939
# Per https://github.com/actions/virtual-environments/issues/1445#issuecomment-713861495
4040
# It seems like we might not need secrets on GitHub Actions which is good for forked
4141
# pull requests
@@ -86,7 +86,7 @@ jobs:
8686
name: Build and Test MAPL Intel
8787
runs-on: ubuntu-latest
8888
container:
89-
image: gmao/ubuntu20-geos-env:v7.25.0-intelmpi_2021.13-intel_2024.2
89+
image: gmao/ubuntu20-geos-env:v7.27.0-intelmpi_2021.13-ifort_2021.13
9090
# Per https://github.com/actions/virtual-environments/issues/1445#issuecomment-713861495
9191
# It seems like we might not need secrets on GitHub Actions which is good for forked
9292
# pull requests

Apps/Regrid_Util.F90

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module regrid_util_support_mod
2626
integer :: deflate, shave
2727
integer :: quantize_algorithm
2828
integer :: quantize_level
29+
integer :: zstandard_level
2930
logical :: use_weights
3031
contains
3132
procedure :: create_grid
@@ -98,6 +99,7 @@ subroutine process_command_line(this,rc)
9899
this%deflate=0
99100
this%quantize_algorithm=0
100101
this%quantize_level=0
102+
this%zstandard_level=0
101103
this%use_weights = .false.
102104
nargs = command_argument_count()
103105
do i=1,nargs
@@ -161,6 +163,9 @@ subroutine process_command_line(this,rc)
161163
case('-quantize_level')
162164
call get_command_argument(i+1,astr)
163165
read(astr,*)this%quantize_level
166+
case('-zstandard_level')
167+
call get_command_argument(i+1,astr)
168+
read(astr,*)this%zstandard_level
164169
case('-file_weights')
165170
this%use_weights = .true.
166171
case('--help')
@@ -432,7 +437,7 @@ subroutine main()
432437

433438
call ESMF_ClockSet(clock,currtime=time,_RC)
434439
if (.not. writer_created) then
435-
call newWriter%create_from_bundle(bundle,clock,n_steps=tsteps,time_interval=tint,nbits_to_keep=support%shave,deflate=support%deflate,vertical_data=vertical_data,quantize_algorithm=support%quantize_algorithm,quantize_level=support%quantize_level,_RC)
440+
call newWriter%create_from_bundle(bundle,clock,n_steps=tsteps,time_interval=tint,nbits_to_keep=support%shave,deflate=support%deflate,vertical_data=vertical_data,quantize_algorithm=support%quantize_algorithm,quantize_level=support%quantize_level,zstandard_level=support%zstandard_level,_RC)
436441
writer_created=.true.
437442
end if
438443

0 commit comments

Comments
 (0)