Skip to content

Commit

Permalink
Merge pull request #632 from GEOS-ESM/develop
Browse files Browse the repository at this point in the history
Sync develop into main
  • Loading branch information
sdrabenh authored Sep 8, 2022
2 parents 20f4b85 + 6fd8a61 commit affeb4e
Show file tree
Hide file tree
Showing 30 changed files with 2,217 additions and 427 deletions.
18 changes: 16 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1

# Anchors to prevent forgetting to update a version
baselibs_version: &baselibs_version v7.5.0
bcs_version: &bcs_version v10.22.3
bcs_version: &bcs_version v10.22.5

orbs:
ci: geos-esm/circleci-tools@1
Expand All @@ -22,4 +22,18 @@ workflows:
repo: GEOSgcm
checkout_fixture: true
mepodevelop: true
persist_workspace: false # Needs to be true to run fv3/gcm experiment, costs extra
persist_workspace: true # Needs to be true to run fv3/gcm experiment, costs extra
# Run GCM (1 hour, no ExtData)
- ci/run_gcm:
name: run-GCM-on-<< matrix.compiler >>
context:
- docker-hub-creds
matrix:
parameters:
compiler: [gfortran, ifort]
requires:
- build-GEOSgcm-on-<< matrix.compiler >>
repo: GEOSgcm
baselibs_version: *baselibs_version
bcs_version: *bcs_version

4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Build GEOSgcm
if: "!contains(github.event.pull_request.labels.*.name, '0 diff trivial')"
runs-on: ubuntu-latest
container:
container:
image: gmao/ubuntu20-geos-env-mkl:v7.5.0-openmpi_4.1.2-gcc_11.2.0
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand All @@ -25,7 +25,7 @@ jobs:
LANGUAGE: en_US.UTF-8
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LC_TYPE: en_US.UTF-8
LC_TYPE: en_US.UTF-8
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
OMPI_MCA_btl_vader_single_copy_mechanism: none
Expand Down
12 changes: 12 additions & 0 deletions GEOSagcm_GridComp/GEOS_AgcmGridComp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,15 @@ subroutine SetServices ( GC, RC )
RC=STATUS )
VERIFY_(STATUS)

call MAPL_AddConnectivity ( GC, &
SRC_NAME = (/'T ','PLE ','ZLE ','TROPP_BLENDED'/), &
DST_NAME = (/'T_avg24 ','PLE_avg24 ','ZLE_avg24 ','TROPP_avg24 '/), &
DST_ID = PHYS, &
SRC_ID = SDYN, &
RC=STATUS )
VERIFY_(STATUS)


call MAPL_AddConnectivity ( GC, &
SRC_NAME = 'PLE', &
DST_NAME = 'PLEINST', &
Expand Down Expand Up @@ -2414,6 +2423,9 @@ subroutine Run ( GC, IMPORT, EXPORT, CLOCK, RC )
call ESMF_GridCompRun(GCS(SDYN), importState=GIM(SDYN), exportState=GEX(SDYN), clock=CLOCK, PHASE=2, userRC=STATUS)
VERIFY_(STATUS)

call MAPL_GenericRunCouplers( STATE, SDYN, CLOCK, RC=STATUS )
VERIFY_(STATUS)

call MAPL_TimerOff(STATE,"SUPERDYNAMICS" )

! Get Names Associated with Friendly Advection Bundle for Final Check for Negative Tracers
Expand Down
16 changes: 16 additions & 0 deletions GEOSagcm_GridComp/GEOSphysics_GridComp/GEOS_PhysicsGridComp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,14 @@ subroutine SetServices ( GC, RC )
RC=STATUS )
VERIFY_(STATUS)

call MAPL_AddConnectivity ( GC, &
SRC_NAME = (/ 'Q ','FCLD ' /), &
DST_NAME = (/ 'Q_avg24 ','FCLD_avg24' /), &
DST_ID = CHEM, &
SRC_ID = MOIST, &
RC=STATUS )
VERIFY_(STATUS)

call MAPL_AddConnectivity ( GC, &
SHORT_NAME = (/'ZPBL','PPBL'/), &
DST_ID = CHEM, &
Expand Down Expand Up @@ -1258,6 +1266,14 @@ subroutine SetServices ( GC, RC )
RC=STATUS )
VERIFY_(STATUS)

call MAPL_AddConnectivity ( GC, &
SRC_NAME = (/ 'TAUCLI ', 'TAUCLW '/), &
DST_NAME = (/ 'TAUCLI_avg24', 'TAUCLW_avg24'/), &
DST_ID = CHEM, &
SRC_ID = RAD, &
RC=STATUS )
VERIFY_(STATUS)

! Moist Imports
!--------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module GEOS_MoistGridCompMod
!-srf-gf-scheme

!ALT-protection for GF
USE ConvectionMod, only: Disable_Convection
! USE ConvectionMod, only: Disable_Convection
!ALT-protection for GF

!--kml--------------
Expand Down
Loading

0 comments on commit affeb4e

Please sign in to comment.