Open mkavulich opened 4 months ago
This is probably related to https://github.com/ufs-community/ccpp-physics/pull/160. Should be an easy fix, I think.
This seems to be just an Intel issue on Derecho. I should point out that while this Github issue is for the Ferrier-Aligo microphysics issue I wasn't ever able to reproduce that error.
On Derecho I was able to successfully build all the suites with the following:
and got the HAFS_v0_hwrf
suite building with:
ifort (IFORT) 2021.10.0 20230609
but only if the 'ccpp/physics/physics/MP/module_mp_radar.F90',
line is added to VARIABLE_DEFINITION_FILES
variable at ccpp_prebuild_config.py#16-31That same trick didn't work for building all the suites with Intel. I'd get an Internal Compiler Error
being reported in ccpp_static_api.F90:4661
at
ierr = SCM_GFS_v15p2_FA_radiation_run_cap(one=one,physics=physics,cdata=cdata,LTP=LTP,con_eps=con_eps,con_pi=con_pi, &
con_rd=con_rd,con_g=con_g,con_ttp=con_ttp,con_thgni=con_thgni,con_epsm1=con_epsm1, &
con_fvirt=con_fvirt,con_rog=con_rog,con_rocp=con_rocp)
Note: this was building with the old ifort
compiler, which is-now or will-be-soon deprecated. This is weird since it is a different error than what Mike initially reported when building all the cases so maybe that is just an older ifort
issue? I did try with the new ifx
compiler but don't think the Derecho spack stack is set up for the new ifx
since it was breaking at weird places.
Description
At some point in the past few months, compilation of Ferrier-Aligo microphysics was broken, unfortunately I don't have time to track down the exact hash. This was first noted in the Single-Column model when updating to the latest ccpp-physics hash, but I have confirmed this occurs in the ufs-weather-model as well, which suggests the problem is in the physics and not a specific host.
Steps to Reproduce
For SCM, the easiest way to replicate this is to attempt to compile with all SDFs:
NOTE: A different error occurs if you attempt to compile with just a single suite with FA, which suggests there may be multiple issues involved. See "Output" section for full details
Additional Context
I first ran into this error on Hera with Intel, but also replicated it with MacOS clang compilers. It's likely this affects all compilers/platforms
Output
Full set of errors when attempting to compile with HAFS_v0_hwrf: