-
Notifications
You must be signed in to change notification settings - Fork 376
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
fates-interface: integration of external model #1536
fates-interface: integration of external model #1536
Conversation
This PR replaces #1531. |
Does this depend on #1460 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor changes
# ED is not a clm4_0 option and should not be used with crop and not with clm4_0 | ||
fatal_error("** Cannot turn betr mode on with crop or with clm4_0 physics.\n" ); | ||
} | ||
# if ( $nl_flags->{'ed_mode'} == 1 ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The original logic in the if-loop was incorrect and should be fixed by
if ( $nl_flags->{$var} == 1 ) {
# BeTR is not a clm4_0 option and should not be used with crop and not with clm4_0
fatal_error("** Cannot turn betr mode on with crop or with clm4_0 physics.\n" );
}
@@ -111,13 +111,11 @@ module clm_instMod | |||
type(phosphorusflux_type) :: phosphorusflux_vars | |||
type(clm_bgc_interface_data_type) :: clm_bgc_data | |||
type(chemstate_type) :: chemstate_vars | |||
! (FATES-INTERF) | |||
! type(hlm_fates_interface_type) :: clm_fates (FATES-INTERF) | |||
type(hlm_fates_interface_type) :: clm_fates |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename clm_fates
to alm_fates
.
@@ -655,8 +661,6 @@ contains | |||
|
|||
end subroutine ncd_inqvdlen_byDesc | |||
|
|||
|
|||
!----------------------------------------------------------------------- | |||
subroutine ncd_inqvdlen_byName(ncid,varname,dimnum,dlen,err_code) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add back the two deleted lines:
!-----------------------------------------------------------------------
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do, I think those got deleted in the rebasing effort, there were some conflicts in there if I remember correctly, and the way the head vs base diffs were structured was a little confusing.
@rgknox: Following changes are needed to the first commit message:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. The threading is in initialization part and not nested threading in the main driver calls.
…t (PR #1536) This change set completes a first version of 1) the ALM-side interface for FATES, 2) initializes FATES as a submodule and 3) adds a test to acme_land_developer. Restart simulations, while having the code in place, are not passing tests yet and will be addressed in forthcoming changesets. Modifications to the namelist build system were necessary. Thus, there are trivial conflicts with namelists generated by master, specifically use_ed=.false. is now appended to all namelists where it is not used.This has no impact on existing tests' model output, however CLM regression tests will fail namelist comparisons for this reason. As this PR initializes a new submodule, all CLM users must update their submodule pointers to bring the fates codeset in, without this the code will not compile. [BFB] [NML]
@amametjanov reported following error on Cetus for
@rgknox: Do you have access to Cetus to debug this failure? |
This change set completes a first version of 1) the ALM-side interface for FATES, 2) initializes FATES as a submodule and 3) adds a test to acme_land_developer. Restart simulations, while having the code in place, are not passing tests yet and will be addressed in forthcoming changesets. Modifications to the namelist build system were necessary. Thus, there are trivial conflicts with namelists generated by master, specifically use_ed=.false. is now appended to all namelists where it is not used.This has no impact on existing tests' model output, however CLM regression tests will fail namelist comparisons for this reason. As this PR initializes a new submodule, all CLM users must update their submodule pointers to bring the fates codeset in, without this the code will not compile. [BFB] [NML]
The duration of the ICLM45ED test has been decreased to avoid failure on Cetus. |
82d5c18
to
1ee1d0a
Compare
This change set completes a first version of 1) the ALM-side interface for FATES, 2) initializes FATES as a submodule and 3) adds a test to acme_land_developer. Restart simulations, while having the code in place, are not passing tests yet and will be addressed in forthcoming changesets. Modifications to the namelist build system were necessary. Thus, there are trivial conflicts with namelists generated by master, specifically use_ed=.false. is now appended to all namelists where it is not used.This has no impact on existing tests' model output, however CLM regression tests will fail namelist comparisons for this reason. As this PR initializes a new submodule, all CLM users must update their submodule pointers to bring the fates codeset in, without this the code will not compile. [BFB] [NML]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should have reviewed this sooner. All the changes to files in cime need to be in a separate commit. This is because cime is an external.
ok, I should be able to do an interactive rebase, and then go into edit mode to split this up. Or, I guess I can just git reset HEAD~ and go from there. |
1ee1d0a
to
86c72aa
Compare
Commits have been split into 3 parts. The second two are cime side, the first is components ie non-cime. For comparison I copied and renamed the single commit branch here: https://github.com/rgknox/ACME/tree/rgknox/lnd/fates-part3-pre-split |
Looks good. Gautum, you can re-merge this to next. |
This change set completes a first version of 1) the ALM-side interface for FATES, 2) initializes FATES as a submodule and 3) adds a test to acme_land_developer. Restart simulations, while having the code in place, are not passing tests yet and will be addressed in forthcoming changesets. Modifications to the namelist build system were necessary. Thus, there are trivial conflicts with namelists generated by master, specifically use_ed=.false. is now appended to all namelists where it is not used.This has no impact on existing tests' model output, however CLM regression tests will fail namelist comparisons for this reason. As this PR initializes a new submodule, all CLM users must update their submodule pointers to bring the fates codeset in, without this the code will not compile. [BFB] [NML]
This change set completes a first version of 1) the ALM-side interface for FATES, 2) initializes FATES as a submodule and 3) adds a test to acme_land_developer. Restart simulations, while having the code in place, are not passing tests yet and will be addressed in forthcoming changesets. Modifications to the namelist build system were necessary. Thus, there are trivial conflicts with namelists generated by master, specifically use_ed=.false. is now appended to all namelists where it is not used.This has no impact on existing tests' model output, however CLM regression tests will fail namelist comparisons for this reason. As this PR initializes a new submodule, all CLM users must update their submodule pointers to bring the fates codeset in, without this the code will not compile. [BFB] [NML]
This change set completes a first version of 1) the ALM-side interface for FATES, 2) initializes FATES as a submodule and 3) adds a test to acme_land_developer. Restart simulations, while having the code in place, are not passing tests yet and will be addressed in forthcoming changesets. Modifications to the namelist build system were necessary. Thus, there are trivial conflicts with namelists generated by master, specifically use_ed=.false. is now appended to all namelists where it is not used.This has no impact on existing tests' model output, however CLM regression tests will fail namelist comparisons for this reason. As this PR initializes a new submodule, all CLM users must update their submodule pointers to bring the fates codeset in, without this the code will not compile. [BFB] [NML]
This change set completes a first version of 1) the ALM-side interface for FATES, 2) initializes FATES as a submodule and 3) adds a test to acme_land_developer. Restart simulations, while having the code in place, are not passing tests yet and will be addressed in forthcoming changesets. Modifications to the namelist build system were necessary. Thus, there are trivial conflicts with namelists generated by master, specifically use_ed=.false. is now appended to all namelists where it is not used.This has no impact on existing tests' model output, however CLM regression tests will fail namelist comparisons for this reason. As this PR initializes a new submodule, all CLM users must update their submodule pointers to bring the fates codeset in, without this the code will not compile. [BFB] [NML]
This change set completes a first version of 1) the ALM-side interface for FATES, 2) initializes FATES as a submodule and 3) adds a test to acme_land_developer. Restart simulations, while having the code in place, are not passing tests yet and will be addressed in forthcoming changesets. Modifications to the namelist build system were necessary. Thus, there are trivial conflicts with namelists generated by master, specifically use_ed=.false. is now appended to all namelists where it is not used.This has no impact on existing tests' model output, however CLM regression tests will fail namelist comparisons for this reason. As this PR initializes a new submodule, all CLM users must update their submodule pointers to bring the fates codeset in, without this the code will not compile. [BFB] [NML]
This change set completes a first version of 1) the ALM-side interface for FATES,
2) initializes FATES as a submodule and 3) adds a test to acme_land_developer.
Restart simulations, while having the code in place, are not passing tests yet and
will be addressed in forthcoming changesets. Modifications to the namelist build
system were necessary. Thus, there are trivial conflicts with namelists generated
by master, specifically use_ed=.false. is now appended to all namelists where it
is not used.This has no impact on existing tests' model output, however CLM
regression tests will fail namelist comparisons for this reason.
As this PR initializes a new submodule, all CLM users must update their submodule
pointers to bring the fates codeset in, without this the code will not compile.
[BFB]
[NML]