-
Notifications
You must be signed in to change notification settings - Fork 92
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
Cleanup compiler warnings and errors #666
Cleanup compiler warnings and errors #666
Conversation
@@ -210,6 +210,7 @@ function th_from_psi_base(this,psi) result(th) | |||
class(wrf_type) :: this | |||
real(r8),intent(in) :: psi | |||
real(r8) :: th | |||
th = 0._r8 |
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.
This is just to avoid IBM compiler warning with th
as uninitialized function result:
"/autofs/nccs-svm1_home1/azamat/repos/E3SM-tests/components/clm/src/external_models/fates/biogeophys/FatesHydroWTFMod.F90", 1513-083 (E) Internal or module function ftc was not set within the function.
"/autofs/nccs-svm1_home1/azamat/repos/E3SM-tests/components/clm/src/external_models/fates/biogeophys/FatesHydroWTFMod.F90", 1513-083 (E) Internal or module function dftcdpsi was not set within the function.
"/autofs/nccs-svm1_home1/azamat/repos/E3SM-tests/components/clm/src/external_models/fates/biogeophys/FatesHydroWTFMod.F90", 1513-083 (E) Internal or module function dpsidth was not set within the function.
"/autofs/nccs-svm1_home1/azamat/repos/E3SM-tests/components/clm/src/external_models/fates/biogeophys/FatesHydroWTFMod.F90", 1513-083 (E) Internal or module function th was not set within the function.
"/autofs/nccs-svm1_home1/azamat/repos/E3SM-tests/components/clm/src/external_models/fates/biogeophys/FatesHydroWTFMod.F90", 1513-083 (E) Internal or module function psi was not set within the function.
@@ -567,7 +567,7 @@ subroutine FatesReportParams(is_master) | |||
write(fates_log(),fmt0) 'q10_mr = ',q10_mr | |||
write(fates_log(),fmt0) 'q10_froz = ',q10_froz | |||
write(fates_log(),fmt0) 'cg_strikes = ',cg_strikes | |||
write(fates_log(),'(a,L)') 'active_crown_fire = ',active_crown_fire | |||
write(fates_log(),'(a,L2)') 'active_crown_fire = ',active_crown_fire |
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.
"/autofs/nccs-svm1_home1/azamat/repos/E3SM-tests/components/clm/src/external_models/fates/main/EDParamsMod.F90", line 570.31: 1512-047 (E) The L FORMAT edit descriptor, in literal FMT specifier, is missing a field width. A default value based on the edit descriptor and
the type of the data item being processed is assumed.
cohort_hydr%iterh1 = max(cohort_hydr%iterh1,real(iter)) | ||
cohort_hydr%iterh1 = max(cohort_hydr%iterh1,real(iter,r8)) | ||
! Save the number of sub-steps we ultimately used | ||
cohort_hydr%iterh2 = max(cohort_hydr%iterh2,real(nsteps)) | ||
cohort_hydr%iterh2 = max(cohort_hydr%iterh2,real(nsteps,r8)) |
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.
"/autofs/nccs-svm1_home1/azamat/repos/E3SM-tests/components/clm/src/external_models/fates/biogeophys/FatesPlantHydraulicsMod.F90", line 3623.53: 1513-041 (S) Arguments of the wrong type were specified for the INTRINSIC procedure "max".
"/autofs/nccs-svm1_home1/azamat/repos/E3SM-tests/components/clm/src/external_models/fates/biogeophys/FatesPlantHydraulicsMod.F90", line 3625.53: 1513-041 (S) Arguments of the wrong type were specified for the INTRINSIC procedure "max".
"/autofs/nccs-svm1_home1/azamat/repos/E3SM-tests/components/clm/src/external_models/fates/biogeophys/FatesPlantHydraulicsMod.F90", line 4986.54: 1513-041 (S) Arguments of the wrong type were specified for the INTRINSIC procedure "max".
Hi @amametjanov can you make public the location of the test results for us to check please? |
type(ed_site_type), intent(in), target :: currentSite | ||
type(ed_site_type), intent(inout), target :: currentSite |
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.
PGI compiler warning
PGF90-W-0194-INTENT(IN) argument cannot be defined - currentsite (/qfs/people/mame117/repos/E3SM-tests/components/clm/src/external_models/fates/biogeochem/EDPatchDynamicsMod.F90: 1054)
Hi @glemieux, thanks for taking a look.
and the path is
and the path is
It's probably easier to try building the cases though. If there are issues with that, please let me know if I should copy build logs somewhere. |
Thanks for this submission @amametjanov . These changes all look good to me. |
Need help with this warning:
Would going from
This came up with |
@amametjanov , we have another PR addressing this issue: #665 |
@amametjanov we were also wondering if we should leave this PR open for a little while if you want to add to it, or is this ready for integration and testing? |
This is ready to go. Thanks. |
Confirmed SMS_Ld1.ne30_oECv3.F20TRC5-CMIP6.cori-knl_intel test passed b4b:
|
Cleanup compiler warnings and errors that occur with FATES in E3SM.
[BFB] -- bit-for-bit