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

Couple pflotran biogeochemistry to alm #1649

Merged
merged 35 commits into from
Aug 17, 2017

Conversation

wanggangsheng
Copy link
Contributor

@wanggangsheng wanggangsheng commented Jul 18, 2017

Migrate NGEE-Arctic CLM-PFLOTRAN to ACME Land Model through a generic clm_interface.

  1. clm_interface_dataType consists of biogeochemistry (bgcType) & 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]

fmyuan and others added 30 commits July 18, 2017 12:49
…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.
@rljacob
Copy link
Member

rljacob commented Jul 26, 2017

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.

@bishtgautam
Copy link
Contributor

I understand that trailing characters refer to a directory e.g. a test name ending in .clm-bgcinterface implies that the testing infrastructure will look for files present in cime/cime_config/acme/testmods_dirs/allactive/clm/bgcinterface.

@jqyin
Copy link
Contributor

jqyin commented Jul 28, 2017

@bishtgautam : Gangsheng and I have added the new test for clm-bgcinterface, and we tested that it's BFB.

@bishtgautam
Copy link
Contributor

Thanks for adding the test.

jqyin added a commit that referenced this pull request Aug 9, 2017
#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
@jqyin
Copy link
Contributor

jqyin commented Aug 9, 2017

Merged to next.

jqyin added a commit that referenced this pull request Aug 10, 2017
…o next (PR #1649)"

This reverts commit eae0ffd, reversing
changes made to 572b281.
@jqyin
Copy link
Contributor

jqyin commented Aug 14, 2017

@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).

@rljacob
Copy link
Member

rljacob commented Aug 14, 2017

I thought PR #1468 was the one that had different results on mevlin.

@rljacob
Copy link
Member

rljacob commented Aug 14, 2017

failed or had a diff with baselines?

@jqyin
Copy link
Contributor

jqyin commented Aug 14, 2017

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.

@rljacob
Copy link
Member

rljacob commented Aug 14, 2017

Well I'd like to get 1468 done first since its so old.

@jqyin
Copy link
Contributor

jqyin commented Aug 14, 2017

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.

jqyin added a commit that referenced this pull request Aug 15, 2017
@jqyin jqyin merged commit 2adbce1 into master Aug 17, 2017
jqyin added a commit that referenced this pull request Aug 17, 2017
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
@amametjanov
Copy link
Member

Can you take a look at the ERS.f09_g16.I1850CLM45CN.cetus_ibm.clm-bgcinterface test on CDash?

@jqyin
Copy link
Contributor

jqyin commented Aug 18, 2017

@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.

jgfouca pushed a commit that referenced this pull request Oct 3, 2017

Updates modules for cori-knl in cesm

Test suite:
Test baseline:
Test namelist changes:
Test status: roundoff

Fixes

User interface changes?:

Code review:
jgfouca pushed a commit that referenced this pull request Oct 25, 2017
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
@wanggangsheng wanggangsheng deleted the wanggangsheng/lnd/alm-pflotran-bgc-rebase3 branch February 5, 2018 20:53
jgfouca pushed a commit that referenced this pull request Feb 27, 2018
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
jgfouca pushed a commit that referenced this pull request Mar 14, 2018
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants