-
Notifications
You must be signed in to change notification settings - Fork 383
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
Couple pflotran biogeochemistry to alm #1649
Conversation
…NLY BGC coupling).
…ent edits in regarding to soil column indexing and filtering in clm-pflotran-interface subroutines. These edits are for column-mode and tested for at global-scale.
… It's because the coupling not yet includes P bgc.
…iables: (2) rename namelist ‘use_bgc_interface’ to ‘use_clm_interface’, so that it includes thermal-hydrology and biogeochemical interfaces.
…thermal-hydrology (TH) modules in interface. (1) Separate original ’clm_bgc_data’ into ‘th’ and ‘bgc’ data types, which included in a general interface data type, ‘clm_interface_data_type’; (2) Rename ‘clm_bgc_interfaceMod’ to ‘clm_interface_funcsMod’; (3) Rename ‘clm_pflotran_interfaceMod’ to ‘clm_interface_pflotranMod’.
…. By this commit, BGC coupling runs correctly with hyrolog-coupled codes.
…. By this commit, BGC coupling runs correctly with hyrolog-coupled codes.
What are these "test names" you guys are talking about? The trailing characters in a test entry like "ERP_Ln9.ne30_ne30.FC5", "cam-outfrq9s")" refer to a directory called "cam-outfrq9s" which has commands to modify the test. You can't just append arbitrary strings to the end of a test name in update_acme_tests.py. |
I understand that trailing characters refer to a directory e.g. a test name ending in |
@bishtgautam : Gangsheng and I have added the new test for clm-bgcinterface, and we tested that it's BFB. |
Thanks for adding the test. |
#1649) Migrate NGEE-Arctic CLM-PFLOTRAN to ACME Land Model through a generic clm_interface 1. clm_interface_dataType consists of biogeochemistry (bgcType) and thermal-hydrology (thType). 2. Rename namelist use_bgc_interface to use_clm_interface to include bgc & th interfaces. 3. Data passing between ALM & clm_interface is implemented in clm_interface_funcsMod.F90. 4. Data passing between clm_interface & PFLOTRAN is implemented in clm_interface_pflotranMod.F90. 5. Global-scale ALM-PFLOTRAN-bgc coupled run is tested. 6. The clm_interface is extended to incorporate PLFOTRAN thermal-hydrology in next step. 7. Add configuration for mach "cades" for alm-pflotran coupled run. 8. makefile: update "PETSC_LIB"-"variables" dir for petsc-git-version 1a9d3c3. [BFB] Conflicts: components/clm/src/biogeochem/CNNStateUpdate1Mod.F90 components/clm/src/biogeochem/CNNitrogenFluxType.F90 components/clm/src/biogeochem/PStateUpdate1Mod.F90 components/clm/src/biogeochem/PStateUpdate2Mod.F90 components/clm/src/biogeochem/PStateUpdate3Mod.F90 components/clm/src/biogeophys/HydrologyNoDrainageMod.F90 components/clm/src/main/clm_initializeMod.F90 components/clm/src/main/controlMod.F90
Merged to next. |
@rljacob, can I re-merge (revert the revert) this PR ? The tests passed on ornl Cades cluster, nersc Edison (with same version gnu) and Skybridge (with intel), but it failed on Melvin due to that uninitialized local variables are not set to zero by default on Melvin (it passed with adding -finit-local-zero flag). |
I thought PR #1468 was the one that had different results on mevlin. |
failed or had a diff with baselines? |
I think they both are since they both touched the BGC code region, and we confirmed the -finit-local-zero fix for this PR. I haven't done that for PR #1468 yet. |
Well I'd like to get 1468 done first since its so old. |
OK. I'll request the same test be done on Melvin to confirm -finit-local-zero is also the fix for PR #1468. BTW, this PR is high priority. |
Migrate NGEE-Arctic CLM-PFLOTRAN to ACME Land Model through a generic clm_interface 1. clm_interface_dataType consists of biogeochemistry (bgcType) and thermal-hydrology (thType). 2. Rename namelist use_bgc_interface to use_clm_interface to include bgc & th interfaces. 3. Data passing between ALM & clm_interface is implemented in clm_interface_funcsMod.F90. 4. Data passing between clm_interface & PFLOTRAN is implemented in clm_interface_pflotranMod.F90. 5. Global-scale ALM-PFLOTRAN-bgc coupled run is tested. 6. The clm_interface is extended to incorporate PLFOTRAN thermal-hydrology in next step. 7. Add configuration for mach "cades" for alm-pflotran coupled run. 8. makefile: update "PETSC_LIB"-"variables" dir for petsc-git-version 1a9d3c3. [BFB] Conflicts: components/clm/src/biogeochem/CNNStateUpdate1Mod.F90 components/clm/src/biogeochem/CNNitrogenFluxType.F90 components/clm/src/biogeochem/PStateUpdate1Mod.F90 components/clm/src/biogeochem/PStateUpdate2Mod.F90 components/clm/src/biogeochem/PStateUpdate3Mod.F90 components/clm/src/biogeophys/HydrologyNoDrainageMod.F90 components/clm/src/main/clm_initializeMod.F90 components/clm/src/main/controlMod.F90
Can you take a look at the |
@amametjanov Since threading was used for the test, I think the error was caused by similar issues as reported in issue #1379, which should be fixed by PR #1468. It seems the test was run with a next version before PR #1468 was merge. I think it should clear out with current next. |
Updates modules for cori-knl in cesm Test suite: Test baseline: Test namelist changes: Test status: roundoff Fixes User interface changes?: Code review:
Migrate NGEE-Arctic CLM-PFLOTRAN to ACME Land Model through a generic clm_interface 1. clm_interface_dataType consists of biogeochemistry (bgcType) and thermal-hydrology (thType). 2. Rename namelist use_bgc_interface to use_clm_interface to include bgc & th interfaces. 3. Data passing between ALM & clm_interface is implemented in clm_interface_funcsMod.F90. 4. Data passing between clm_interface & PFLOTRAN is implemented in clm_interface_pflotranMod.F90. 5. Global-scale ALM-PFLOTRAN-bgc coupled run is tested. 6. The clm_interface is extended to incorporate PLFOTRAN thermal-hydrology in next step. 7. Add configuration for mach "cades" for alm-pflotran coupled run. 8. makefile: update "PETSC_LIB"-"variables" dir for petsc-git-version 1a9d3c3. [BFB] Conflicts: components/clm/src/biogeochem/CNNStateUpdate1Mod.F90 components/clm/src/biogeochem/CNNitrogenFluxType.F90 components/clm/src/biogeochem/PStateUpdate1Mod.F90 components/clm/src/biogeochem/PStateUpdate2Mod.F90 components/clm/src/biogeochem/PStateUpdate3Mod.F90 components/clm/src/biogeophys/HydrologyNoDrainageMod.F90 components/clm/src/main/clm_initializeMod.F90 components/clm/src/main/controlMod.F90
Migrate NGEE-Arctic CLM-PFLOTRAN to ACME Land Model through a generic clm_interface 1. clm_interface_dataType consists of biogeochemistry (bgcType) and thermal-hydrology (thType). 2. Rename namelist use_bgc_interface to use_clm_interface to include bgc & th interfaces. 3. Data passing between ALM & clm_interface is implemented in clm_interface_funcsMod.F90. 4. Data passing between clm_interface & PFLOTRAN is implemented in clm_interface_pflotranMod.F90. 5. Global-scale ALM-PFLOTRAN-bgc coupled run is tested. 6. The clm_interface is extended to incorporate PLFOTRAN thermal-hydrology in next step. 7. Add configuration for mach "cades" for alm-pflotran coupled run. 8. makefile: update "PETSC_LIB"-"variables" dir for petsc-git-version 1a9d3c3. [BFB] Conflicts: components/clm/src/biogeochem/CNNStateUpdate1Mod.F90 components/clm/src/biogeochem/CNNitrogenFluxType.F90 components/clm/src/biogeochem/PStateUpdate1Mod.F90 components/clm/src/biogeochem/PStateUpdate2Mod.F90 components/clm/src/biogeochem/PStateUpdate3Mod.F90 components/clm/src/biogeophys/HydrologyNoDrainageMod.F90 components/clm/src/main/clm_initializeMod.F90 components/clm/src/main/controlMod.F90
Migrate NGEE-Arctic CLM-PFLOTRAN to ACME Land Model through a generic clm_interface 1. clm_interface_dataType consists of biogeochemistry (bgcType) and thermal-hydrology (thType). 2. Rename namelist use_bgc_interface to use_clm_interface to include bgc & th interfaces. 3. Data passing between ALM & clm_interface is implemented in clm_interface_funcsMod.F90. 4. Data passing between clm_interface & PFLOTRAN is implemented in clm_interface_pflotranMod.F90. 5. Global-scale ALM-PFLOTRAN-bgc coupled run is tested. 6. The clm_interface is extended to incorporate PLFOTRAN thermal-hydrology in next step. 7. Add configuration for mach "cades" for alm-pflotran coupled run. 8. makefile: update "PETSC_LIB"-"variables" dir for petsc-git-version 1a9d3c3. [BFB] Conflicts: components/clm/src/biogeochem/CNNStateUpdate1Mod.F90 components/clm/src/biogeochem/CNNitrogenFluxType.F90 components/clm/src/biogeochem/PStateUpdate1Mod.F90 components/clm/src/biogeochem/PStateUpdate2Mod.F90 components/clm/src/biogeochem/PStateUpdate3Mod.F90 components/clm/src/biogeophys/HydrologyNoDrainageMod.F90 components/clm/src/main/clm_initializeMod.F90 components/clm/src/main/controlMod.F90
Migrate NGEE-Arctic CLM-PFLOTRAN to ACME Land Model through a generic clm_interface.
[BFB]