Closed pghysels closed 1 year ago
On Perlmutter, the CUDA math libs are in a separate folder from the main CUDA libraries:
/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64
/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64
This will cause issues as we make assumptions on the location of the CUDA libs (e.g., all located in the same place under ${CUDA_HOME}). We have a workaround for this when manually building hypre, but not a fix in spack.
Maybe we just need to:
export LIBRARY_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64:$LIBRARY_PATH
I'll try that soon. The Perlmutter scratch filesystem seems to be down at the moment.
that didn't work
I tested that this is fixed with this PR: https://github.com/hypre-space/hypre/pull/788
On Perlmutter, with GCC and with the system's CUDA.
To use systems cuda libraries, I have in
~/.spack/packages.yaml
:On Perlmutter, the CUDA math libs are in a separate folder from the main CUDA libraries:
/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64
/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64
spack-build-out.txt