Closed jeffhammond closed 3 years ago
If CUDA and OpenMP are not mutually supported with some toolchain, CMake should detect the conflict and inform the user.
I'm still seeing this on LASSEN.
Figure this out?
Not that I remember but October 2019 was a century ago.
I think i identified the issue. The link line had /usr/tce/packages/cuda/cuda-10.1.243/lib64/libcudadevrt.a
on it, and it appears that nvcc is complaining about several more -lsomethings
after it. Since this was a make-based build system, it was fairly easy to hack myself to victory. Your mileage may vary.
This was also on lassen.
Clearly what Jeff is suggesting is that he wants RAJA to have an nvcc_wrapper, he really loves portability models that add those
On Wed, Sep 2, 2020 at 7:58 PM Matt Larsen notifications@github.com wrote:
I think i identified the issue. The link line had /usr/tce/packages/cuda/cuda-10.1.243/lib64/libcudadevrt.a on it, and it appears that nvcc is complaining about several more -lsomethings after it. Since this was a make-based build system, it was fairly easy to hack myself to victory. Your mileage may vary.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LLNL/RAJA/issues/672#issuecomment-686186153, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAGLSLY6DLTDQ5WQJOFIOTSD3Z6FANCNFSM4JCVK4NQ .
-- Thanks,
David
have an nvcc_wrapper, he really loves portability models that add those
I would rather have a CMake option to compile CUDA Clang from source so I could use a real CUDA compiler that respects the value of human dignity.
nvlink fatal : we can't handle any libraries after cudadevrt. Please use nvlink better.
I'm trying to build RAJA on a POWER9 + V100 system with OpenMP host and target plus CUDA enabled at the same time.
It works fine when I disable OpenMP host and target
I am using the
develop
branch updated this morning.Compiler Versions
NVCC
XLC
CMake Invocation
NVCC Link Error