Skip to content

Commit 8269e7b

Browse files
authored
Merge branch 'release/MAPL-v3' into feature/MAPL3-adapt-step
2 parents 32a1fc1 + dc5f5f9 commit 8269e7b

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ workflows:
2121
#baselibs_version: *baselibs_version
2222
repo: GEOSgcm
2323
checkout_fixture: true
24-
mepodevelop: true
25-
checkout_mapl3_release_branch: true
26-
persist_workspace: true # Needs to be true to run fv3/gcm experiment, costs extra
24+
mepodevelop: false
25+
fixture_branch: release/MAPL-v3
26+
persist_workspace: false # Needs to be true to run fv3/gcm experiment, costs extra
2727

2828
######################################################
2929
# # Run AMIP GCM (1 hour, no ExtData) #

.github/workflows/push-to-develop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
17+
filter: blob:none
1718
- name: Run the action
1819
uses: devops-infra/[email protected]
1920
with:

.github/workflows/workflow.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,19 @@ jobs:
1919
build_gcm:
2020
strategy:
2121
matrix:
22-
compiler: [ifort, gfortran-14, gfortran-15]
22+
#compiler: [ifort, gfortran-14, gfortran-15]
23+
# We remove ifort because for some reason, MAPL3 + ifort + Github CI
24+
# is running out of space on the device. For now, CircleCI will
25+
# continue to test ifort.
26+
compiler: [gfortran-14, gfortran-15]
2327
build-type: [Debug]
2428
uses: GEOS-ESM/CI-workflows/.github/workflows/geosgcm_build_tests.yml@project/geosgcm
2529
with:
2630
compiler: ${{ matrix.compiler }}
2731
cmake-build-type: ${{ matrix.build-type }}
2832
fixture-repo: GEOS-ESM/GEOSgcm
2933
fixture-ref: release/MAPL-v3
34+
run-mepo-develop: false
3035

3136
spack_build:
3237
uses: GEOS-ESM/CI-workflows/.github/workflows/spack_gcc_build.yml@project/geosgcm
@@ -36,3 +41,9 @@ jobs:
3641
with:
3742
fixture-repo: GEOS-ESM/GEOSgcm
3843
fixture-ref: release/MAPL-v3
44+
run-mepo-develop: false
45+
patch-esmf: true
46+
# There is some weird issue with spack builds and the install step with
47+
# MAPL 3. For now, turn off as we don't need to *run* GEOS.
48+
run-install: false
49+

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSgwd_GridComp/GEOS_GwdGridComp.F90

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,8 @@ subroutine Initialize ( GC, IMPORT, EXPORT, CLOCK, RC )
225225
! Local derived type aliases
226226

227227
type(ESMF_Grid) :: grid
228-
integer :: IM, JM !, dims_(3)
229-
real, allocatable, dimension(:,:) :: LONS
230-
real, allocatable, dimension(:,:) :: LATS
228+
integer :: IM, JM !, dims_(3)
229+
real, allocatable :: lats(:,:), lons(:,:)
231230

232231
character(len=:), allocatable :: GRIDNAME
233232
character(len=4) :: imchar
@@ -463,8 +462,7 @@ subroutine RUN ( GC, IMPORT, EXPORT, CLOCK, RC )
463462
!real :: effgworo, effgwbkg
464463
!real :: CDMBGWD1, CDMBGWD2
465464
!real :: bgstressmax
466-
real, allocatable, dimension(:,:) :: LONS
467-
real, allocatable, dimension(:,:) :: LATS
465+
real, allocatable, dimension(:,:) :: LATS, LONS
468466
! Rayleigh friction parameters
469467

470468
REAL :: H0, HH, Z1, TAU1
@@ -503,6 +501,7 @@ subroutine RUN ( GC, IMPORT, EXPORT, CLOCK, RC )
503501
! Grid info
504502
call MAPL_GridCompGet(gc, grid=grid, num_levels=LM, _RC)
505503
call MAPL_GridGetCoordinates(grid, longitudes=lons, latitudes=lats, _RC)
504+
call MAPL_GridGet(grid, im=IM, jm=JM, _RC)
506505

507506
! call ESMF_ClockGetAlarm(clock,
508507

0 commit comments

Comments
 (0)