Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade develop to GEOS-Chem v14.4.3 #43

Merged
merged 20 commits into from
Nov 11, 2024
Merged

Upgrade develop to GEOS-Chem v14.4.3 #43

merged 20 commits into from
Nov 11, 2024

Conversation

jwallwork23
Copy link
Collaborator

@jwallwork23 jwallwork23 commented Oct 22, 2024

Closes #46.

Linked PRs:

My attempt to rebase Lee's updates in #42 on top of develop.

It turns out we do need the environment variables for the compilers. (Commit 3a8e436 tells CMake which compiler(s) to use, fixing an issue @AdelekeBankole and I were having running with Intel compilers.) As such, PR #43 is reverted here.

Checklist

Other branches I'm using:

@jwallwork23 jwallwork23 added the enhancement New feature or request label Oct 22, 2024
@jwallwork23 jwallwork23 self-assigned this Oct 22, 2024
@jwallwork23 jwallwork23 marked this pull request as draft October 22, 2024 15:10
model/RAD_COM.f Outdated Show resolved Hide resolved
@jwallwork23 jwallwork23 linked an issue Oct 28, 2024 that may be closed by this pull request
@jwallwork23
Copy link
Collaborator Author

With the latest changes here, I'm able to build the model on CSD3 under the Intel compiler and start the model run. However, I hit the following error in HEMCO setup:

...
HEMCO: Opening /home/jw2423/rds/hpc-work/run/prod_input_files/ExtData/HEMCO/VerticalScaleFactors/v2021-05/gc_layers.nc
 Invalid level standard name:
 ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ
 ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ
 ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ
 ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ in
 /home/jw2423/rds/hpc-work/run/prod_input_files/ExtData/HEMCO/VerticalScaleFacto
 rs/v2021-05/gc_layers.nc

HEMCO ERROR: Cannot read sigma levels of /home/jw2423/rds/hpc-work/run/prod_in
 put_files/ExtData/HEMCO/VerticalScaleFactors/v2021-05/gc_layers.nc

HEMCO ERROR: Error encountered in routine HCOIO_Read!

HEMCO ERROR: Error in HCOIO_DATAREAD called from HEMCO ReadList_Fill: ENERGY_L
 EVS
 --> LOCATION: ReadList_Fill (HCO_ReadList_Mod.F90)

HEMCO ERROR: Error in ReadList_Fill (1) called from HEMCO ReadList_Read
 --> L
 OCATION: ReadList_Read (HCO_ReadList_Mod.F90)
 Error in ReadList_Read called from hco_run
===============================================================================
GEOS-Chem ERROR: Error encountered in "HCO_Run"!
 -> at HCOI_GC_Run (in module GeosCore/hco_interface_gc_mod.F90)

THIS ERROR ORIGINATED IN HEMCO!  Please check the HEMCO log file for
additional error messages!
===============================================================================

===============================================================================
GEOS-Chem ERROR: Error encountered in "HCOI_GC_Run"!
 -> at Emissions_Run (in module GeosCore/emissions_mod.F90)
===============================================================================

===============================================================================
GEOS-CHEM ERROR: Error encountered in "Emissions_Run", Phase 0

This error can indicate a missing file. Please check the HEMCO log file for
additional error messages!

Does this error look familiar @ltmurray? Might it be because I need to update the ExtData files for v14.4.3 of GEOS-Chem?

@jwallwork23
Copy link
Collaborator Author

With these config files from #51, the model runs!

0NASA/GISS Climate Model (re)started           Year 2016 JUL   1, Hr  0      Internal clock: DTsrc-steps since 1/1/2016      8688
0Restart file written on fort.1                                             Year 2016 JUL   1, Hr  0  Internal clock time:    8688
---------- Main Loop, itime=     8688 day=2016-07-01

...although it does segfault shortly afterwards.

@jwallwork23 jwallwork23 marked this pull request as ready for review November 5, 2024 10:27
@jwallwork23 jwallwork23 requested a review from ltmurray November 5, 2024 10:27
@jwallwork23
Copy link
Collaborator Author

I should note that it's running with SUBDD=''. If I run with SUBDD='CH4:2' then I get

0NASA/GISS Climate Model (re)started           Year 2016 JUL   1, Hr  0      Internal clock: DTsrc-steps since 1/1/2016      8688
 error: variable nacc_taijlh2 is already defined
Abort(1) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0

So #33 still needs addressing.

@ltmurray ltmurray merged commit 4c8d85b into develop Nov 11, 2024
1 check passed
@jwallwork23 jwallwork23 deleted the joe/giss-gc-v14.4.3 branch November 11, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ICCS Deliverable 4
2 participants