Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU build failing on delta #3770

Open
adityapb opened this issue Oct 30, 2023 · 1 comment
Open

GPU build failing on delta #3770

adityapb opened this issue Oct 30, 2023 · 1 comment
Assignees

Comments

@adityapb
Copy link
Contributor

Building with MPI and CUDA on Delta fails with the build script because of an error in cmake tests. The buildold script runs fine.

@adityapb adityapb self-assigned this Oct 30, 2023
@ericjbohm
Copy link
Contributor

ericjbohm commented Oct 30, 2023

-- Found CUDAToolkit: /sw/spack/delta-2022-03/apps/cuda/11.6.1-gcc-11.2.0-vglutoe/include (found version "11.6.112")
-- The CUDA compiler identification is GNU 11.2.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - failed
-- Check for working CUDA compiler: /sw/spack/delta-2022-03/apps/cuda/11.6.1-gcc-11.2.0-vglutoe/bin/nvcc
-- Check for working CUDA compiler: /sw/spack/delta-2022-03/apps/cuda/11.6.1-gcc-11.2.0-vglutoe/bin/nvcc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCUDACompiler.cmake:52 (message):
The CUDA compiler

"/sw/spack/delta-2022-03/apps/cuda/11.6.1-gcc-11.2.0-vglutoe/bin/nvcc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /u/bohm/charm/mpi-linux-x86_64-smp-cuda/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_b65d6/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_b65d6.dir/build.make CMakeFiles/cmTC_b65d6.dir/build
gmake[1]: Entering directory '/u/bohm/charm/mpi-linux-x86_64-smp-cuda/CMakeFiles/CMakeTmp'
Building CUDA object CMakeFiles/cmTC_b65d6.dir/main.cu.o
/sw/spack/delta-2022-03/apps/cuda/11.6.1-gcc-11.2.0-vglutoe/bin/nvcc      -c /u/bohm/charm/mpi-linux-x86_64-smp-cuda/CMakeFiles/CMakeTmp/main.cu -o CMakeFiles/cmTC_b65d6.dir/main.cu.o
Linking CUDA executable cmTC_b65d6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b65d6.dir/link.txt --verbose=1
"" CMakeFiles/cmTC_b65d6.dir/main.cu.o -o cmTC_b65d6 
Error running link command: No such file or directory
gmake[1]: *** [CMakeFiles/cmTC_b65d6.dir/build.make:99: cmTC_b65d6] Error 2
gmake[1]: Leaving directory '/u/bohm/charm/mpi-linux-x86_64-smp-cuda/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_b65d6/fast] Error 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:699 (enable_language)

-- Configuring incomplete, errors occurred!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants