-
Notifications
You must be signed in to change notification settings - Fork 372
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
Build error with AMD compiler in FatesLitterMod.F90 #6029
Comments
Thanks for posting this @ndkeen , we'll work with you to get this fix in |
Per our discussion yesterday, the current plan is to address this within #5555, by rolling it into fates PR NGEET/fates#1109. |
Added a new PR with the changes, they did not make it into FATES: 1109, see 1121 linked above |
@ndkeen I tested NGEET/fates#1121 and I'm not hitting this any more, but I'm getting the following error during build:
Are you hitting this as well? |
When I checkout branch:
I still see same build error:
Ah maybe that's what you are saying -- need to get in 1121 -- I'm not sure how best to do that? |
@ndkeen I realized I mislead you; I haven't been able to get to the e3sm build step as it's failing in the mct build step. I just attempted this with the current master commit 93ab10c and got a different MCT build failure:
Should I make this a new issue? |
The way I do this is by adding the PR remote to the fates submodule (in this case [email protected]:rgknox/fates.git) and then checking out the branch directly. This is a bit complicated though as that PR branch is based on an e3sm-fates API update that's coming in with #6018. |
…tor' into next (PR #6027) This PR refactors the elm-fates interface to avoid having fates call elmfates_interfacemod. FatesReadParameters has been moved from the aforementioned module into FATES and takes in an HLM-provided fates_param_reader_type to read the parameters from disk. The existing SetFatesGlobalElements1 method now takes in an optional fates_param_reader_type. Upcoming PR's will modify the HLM's to construct and pass in instances of fates_param_reader_type (which will basically call the HLM-side ParametersFromNetCDF method), and then remove the old code path. This work is ported from ESCOMP/CTSM#2198 and is associated with NGEET/fates#1096 Fixes #6029 [BFB]
After updating AMD compiler version #6003 (which was necessary as previous version removed), for several tests, ie
SMS_Ld30.f45_f45.IELMFATES.pm-cpu_amdclang.elm-fates_satphen
, I see build error with AMD compiler:I can work-around by simply using
integer
type:In
components/elm/src/external_models/fates/biogeochem/FatesLitterMod.F90
The text was updated successfully, but these errors were encountered: