Description
shumlib fails to build on Ursa and my Ubuntu WSL with the error:
==> No binary for shumlib-macos_clang_linux_intel_port-xijybtbyq7lftzrqjcrdxu26mkdwcywh found: installing from source
Initialized empty Git repository in /tmp/tmp_4dwt96n/shumlib/.git/
==> No patches needed for shumlib
==> shumlib: Executing phase: 'edit'
==> shumlib: Executing phase: 'build'
==> Error: InstallError: No shumlib make config for this compiler
/scratch3/NCEPDEV/global/David.Huber/SPACK-STACK/update_gw_envs/repos/spack_stack/spack_repo/spack_stack/packages/shumlib/package.py:46, in build:
43 elif spec.satisfies("%intel") or spec.satisfies("%oneapi"):
44 os.system("make -f make/vm-x86-ifort-icc.mk")
45 else:
>> 46 raise InstallError("No shumlib make config for this compiler")
The spack spec doesn't list a compiler dependency for shumlib, so I believe the InstallError will always be triggered here. Adding the needed compiler dependencies to the package resolves the issue. I'd be happy to open a PR with the fix, but I see discussion in #737 about removing shumlib from spack-stack. It's worth noting the latest shumlib has a cmake build system. Not sure if that resolves the compilation issue @climbfuji fixed in his fork.
To Reproduce
Attempt to install an environment with jedi-um-env, which depends on shumlib.
Expected behavior
We expect shumlib to build and install.
System, compiler, code, ...
Ursa and Ubuntu, with oneapi and gcc compilers, respectively.
Description
shumlibfails to build on Ursa and my Ubuntu WSL with the error:The
spack specdoesn't list a compiler dependency forshumlib, so I believe the InstallError will always be triggered here. Adding the needed compiler dependencies to the package resolves the issue. I'd be happy to open a PR with the fix, but I see discussion in #737 about removingshumlibfrom spack-stack. It's worth noting the latest shumlib has a cmake build system. Not sure if that resolves the compilation issue @climbfuji fixed in his fork.To Reproduce
Attempt to install an environment with
jedi-um-env, which depends onshumlib.Expected behavior
We expect
shumlibto build and install.System, compiler, code, ...
Ursa and Ubuntu, with
oneapiandgcccompilers, respectively.