ralna / spral

Sparse Parallel Robust Algorithms Library
https://ralna.github.io/spral/
Other
104 stars 27 forks source link

configure can't find nvcc_arch_sm.c when building from build directory #73

Open jfowkes opened 3 years ago

jfowkes commented 3 years ago

When following the build instructions on GPU and building from a build directory:

./autogen.sh # If compiling from fresh git checkout
mkdir build
cd build
../configure --with-metis="-L/path/to/metis -lmetis"

The file nvcc_arch_sm.cis not found:

gcc: error: nvcc_arch_sm.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
../configure: line 5548: ./nvcc_arch_sm: No such file or directory

Copying nvcc_arch_sm.c from ../ into build resolves the issue.

While configure still succeeds, the whole point of nvcc_arch_sm.c is to check that CUDA works.