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.
When following the build instructions on GPU and building from a build directory:
The file
nvcc_arch_sm.c
is not found:Copying
nvcc_arch_sm.c
from../
intobuild
resolves the issue.While configure still succeeds, the whole point of
nvcc_arch_sm.c
is to check that CUDA works.