Repository navigation
Conversation
|
@mathomp4 Can you pull in the latest develop code, please? Maybe this fixes the CI errors. |
Done. |
…rce fixing libirc.so/libimf.so in intel-oneapi-runtime by requiring +fix_rt_linkage for intel-oneapi-compilers in configs/common/packages_oneapi.yaml
|
Just want to double check. Doesn't the netcdf-c library need to be upgraded to at least 4.10.0 for hdf5 2.x compatibility. Check out the release notes: https://github.com/Unidata/netcdf-c/releases under the v4.10.0 section. If you agree, I would vote for netcdf-c 4.10.1 since it's the latest. Thanks! |
Fix CI errors for hdf5/pnetcdf branch
Well huh. That is interesting. I've done all my testing with I can try it out and see. @climbfuji Thoughts? |
|
Related #2055 |
I am looking at the issue in netcdf-c Unidata/netcdf-c#3246 and the pull request Unidata/netcdf-c#3247. I am not sure if these bug fixes are critical. Mostly they are about the parallel tests. I would say continue this update to hdf5 version 2 and parallel-netcdf 1.14.1. We can all check our applications and if we find critical issues OR we have time left, we can update netcdf-c. |
Okay. I suppose no one needs #2055 yet. Maybe for 2.3 we move to netcdf-c 4.10.1 and netcdf-fortran 4.9.4 (or whatever is newest then). If I have time tomorrow, I'll do a test build with the newer versions just to see:
|
Well, the answer to 1 is not without changes. I know we'd at least need to fix up the |
|
We can also backport the small update to the CMakeLists.txt file in netcdf-c that deals with detecting HDF5 PARALLEL. We don't need the test fixes. |
|
Thank you @mathomp4 and @climbfuji for checking the netcdf compatibility question. Given that we haven't seen any issues around this crop up yet, I suspect that the hdf5 2.x compatibility fix in netcdf-c 4.10.0 is limited in scope enough that the risk is low to stay with netcdf-c 4.9.2. Perhaps at this point we should proceed with netcdf-c 4.9.2, possibly add @climbfuji's suggestion with backporting the fix that was done in 4.10.0, and make sure we test thoroughly once we have the 2.2 release branch ready. In other words, I feel that upgrading to netcdf-c 4.10.x now is not worth the impact on the spack-stack-2.2 schedule. |
|
@mathomp4 I updated the PR description for my changes that you merged in yesterday. |
|
Can someone elaborate about exactly where in my |
See for example |
Yeah, if we don't worry about the test_nc4 update, then all we need to pick up from https://github.com/Unidata/netcdf-c/pull/3247/changes is this change in |
|
I'm more than a little confused by this change and your wording here.
This almost sounds like you're just saying that we need a spec fix, but how does the actual fix get applied to the Edit:
ohhh... ok so spack does the fixing because external compilers are vendored and spack uses this variant to fix the vendored version of the external compiler. Yes? |
Almost. spack copies runtime libraries from the compiler installation (internal or external) as intel-oneapi-runtime package. The latter is always spack-built, not external. We hijack this process with patchelf with the variant |
Description
Update to
hdf52.1.0 andparallel-netcdf1.14.1Because the new
parallel-netcdfis missing the internal patch to link againstlibintlc.soinstead oflibirc.so, we now enforce = require the variant+fix_rt_linkageforintel-oneapi-compilers. What this variant does is patching the Intel runtime libraries when installed in the environment by Spack with the usual bug fix for partially missing/unresolved symbols inlibirc.soandlibimf.so. This variant is declared forintel-oneapi-compilersbut affects theintel-oneapi-runtimepackage - i.e. it applies to both external and spack-builtintel-oneapi-compilers.Site maintainers must add
+fix_rt_linkageto their externalintel-oneapi-compilerspackage or they will hit the following error during concretization:No other action is required. The only effect of the
+fix_rt_linkagevariant is thatlibirc.soandlibimf.soare patched on the fly when being copied from the original Intel installation to the Spack environment runtime directory.The CI workflows are updated accordingly, and the now unnecessary tool
util/check_libirc.shis removed.Dependencies
None
Issues addressed
Closes #1822
Applications affected
Any application using
hdf5→netcdf,esmf, etc.Systems affected
None directly
Testing
Checklist