magma-2.6.2 failed to build with cuda-11.7 ?

15 views
Skip to first unread message

Pei Jia

unread,
Jul 4, 2022, 3:49:17 PMJul 4
to MAGMA User

Can anybody take a look and give me a hand please?





➜  build make
/usr/bin/cmake -E cmake_progress_start /opt/magma/build/CMakeFiles /opt/magma/build//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/opt/magma-2.6.2/build'
make  -f CMakeFiles/magma.dir/build.make CMakeFiles/magma.dir/depend
make[2]: Entering directory '/opt/magma-2.6.2/build'
[  0%] Building NVCC (Device) object CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o
cd /opt/magma/build/CMakeFiles/magma.dir/magmablas && /usr/bin/cmake -E make_directory /opt/magma/build/CMakeFiles/magma.dir/magmablas/.
cd /opt/magma/build/CMakeFiles/magma.dir/magmablas && /usr/bin/cmake -D verbose:BOOL=ON -D build_configuration:STRING=Release -D generated_file:STRING=/opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o -D generated_cubin_file:STRING=/opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o.cubin.txt -P /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o.Release.cmake
-- Removing /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o
/usr/bin/cmake -E rm -f /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o
-- Generating dependency file: /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o.NVCC-depend
/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /opt/magma/magmablas/ztrtri_upper_batched.cu -o /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 --std c++11 -Dmagma_EXPORTS -Xcompiler ,\"-fopenmp\",\"-Wall\",\"-Wno-unused-function\",\"-fPIC\",\"-O3\",\"-DNDEBUG\" -Xcompiler -fPIC sm_86 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -DNVCC -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing
nvcc fatal   : A single input file is required for a non-link phase when an outputfile is specified
CMake Error at magma_generated_ztrtri_upper_batched.cu.o.Release.cmake:220 (message):
  Error generating
  /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o


make[2]: *** [CMakeFiles/magma.dir/build.make:535: CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o] Error 1
make[2]: Leaving directory '/opt/magma-2.6.2/build'
make[1]: *** [CMakeFiles/Makefile2:1321: CMakeFiles/magma.dir/all] Error 2
make[1]: Leaving directory '/opt/magma-2.6.2/build'
make: *** [Makefile:139: all] Error 2
➜  build sudo rm -R *
➜  build ccmake ../


➜  build make -j16
/usr/bin/cmake -E cmake_progress_start /opt/magma/build/CMakeFiles /opt/magma/build//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/opt/magma-2.6.2/build'
make  -f CMakeFiles/magma.dir/build.make CMakeFiles/magma.dir/depend
make  -f CMakeFiles/lapacktest.dir/build.make CMakeFiles/lapacktest.dir/depend
make[2]: Entering directory '/opt/magma-2.6.2/build'
cd /opt/magma/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/magma /opt/magma /opt/magma/build /opt/magma/build /opt/magma/build/CMakeFiles/lapacktest.dir/DependInfo.cmake --color=
Scanning dependencies of target lapacktest
make[2]: Leaving directory '/opt/magma-2.6.2/build'
make  -f CMakeFiles/lapacktest.dir/build.make CMakeFiles/lapacktest.dir/build
make[2]: Entering directory '/opt/magma-2.6.2/build'
make[2]: Entering directory '/opt/magma-2.6.2/build'
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/zhet22.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/zhst01.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/zqpt01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/zhet22.f -o CMakeFiles/lapacktest.dir/testing/lin/zhet22.f.o
[  0%] Building NVCC (Device) object CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o
cd /opt/magma/build/CMakeFiles/magma.dir/magmablas && /usr/bin/cmake -E make_directory /opt/magma/build/CMakeFiles/magma.dir/magmablas/.
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/zbdt01.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/zget22.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/zhet21.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/chet22.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/zunt01.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/cbdt01.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/chet21.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/zqrt02.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/zbdt01.f -o CMakeFiles/lapacktest.dir/testing/lin/zbdt01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/zget22.f -o CMakeFiles/lapacktest.dir/testing/lin/zget22.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/zhet21.f -o CMakeFiles/lapacktest.dir/testing/lin/zhet21.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/zstt21.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/zhst01.f -o CMakeFiles/lapacktest.dir/testing/lin/zhst01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/zunt01.f -o CMakeFiles/lapacktest.dir/testing/lin/zunt01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/zqpt01.f -o CMakeFiles/lapacktest.dir/testing/lin/zqpt01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/zqrt02.f -o CMakeFiles/lapacktest.dir/testing/lin/zqrt02.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/zlarfy.f.o
[  0%] Building NVCC (Device) object CMakeFiles/magma.dir/magmablas/magma_generated_cpotf2_kernels_var.cu.o
cd /opt/magma/build/CMakeFiles/magma.dir/magmablas && /usr/bin/cmake -E make_directory /opt/magma/build/CMakeFiles/magma.dir/magmablas/.
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/cget22.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/zlarfy.f -o CMakeFiles/lapacktest.dir/testing/lin/zlarfy.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/zstt21.f -o CMakeFiles/lapacktest.dir/testing/lin/zstt21.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/cbdt01.f -o CMakeFiles/lapacktest.dir/testing/lin/cbdt01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/cget22.f -o CMakeFiles/lapacktest.dir/testing/lin/cget22.f.o
cd /opt/magma/build/CMakeFiles/magma.dir/magmablas && /usr/bin/cmake -D verbose:BOOL=ON -D build_configuration:STRING=Release -D generated_file:STRING=/opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o -D generated_cubin_file:STRING=/opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o.cubin.txt -P /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o.Release.cmake
cd /opt/magma/build/CMakeFiles/magma.dir/magmablas && /usr/bin/cmake -D verbose:BOOL=ON -D build_configuration:STRING=Release -D generated_file:STRING=/opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_cpotf2_kernels_var.cu.o -D generated_cubin_file:STRING=/opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_cpotf2_kernels_var.cu.o.cubin.txt -P /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_cpotf2_kernels_var.cu.o.Release.cmake
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/chet21.f -o CMakeFiles/lapacktest.dir/testing/lin/chet21.f.o
-- Removing /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o
/usr/bin/cmake -E rm -f /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/chet22.f -o CMakeFiles/lapacktest.dir/testing/lin/chet22.f.o
-- Removing /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_cpotf2_kernels_var.cu.o
[  0%] Building NVCC (Device) object CMakeFiles/magma.dir/magmablas/magma_generated_zcaxpycp.cu.o
cd /opt/magma/build/CMakeFiles/magma.dir/magmablas && /usr/bin/cmake -E make_directory /opt/magma/build/CMakeFiles/magma.dir/magmablas/.
[  0%] Building NVCC (Device) object CMakeFiles/magma.dir/magmablas/magma_generated_zaxpycp.cu.o
cd /opt/magma/build/CMakeFiles/magma.dir/magmablas && /usr/bin/cmake -E make_directory /opt/magma/build/CMakeFiles/magma.dir/magmablas/.
/usr/bin/cmake -E rm -f /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_cpotf2_kernels_var.cu.o
-- Generating dependency file: /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o.NVCC-depend
/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /opt/magma/magmablas/ztrtri_upper_batched.cu -o /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 --std c++11 -Dmagma_EXPORTS -Xcompiler ,\"-fopenmp\",\"-Wall\",\"-Wno-unused-function\",\"-fPIC\",\"-O3\",\"-DNDEBUG\" -Xcompiler -fPIC sm_86 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -DNVCC -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing
nvcc fatal   : A single input file is required for a non-link phase when an outputfile is specified
CMake Error at magma_generated_ztrtri_upper_batched.cu.o.Release.cmake:220 (message):
  Error generating
  /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o


-- Generating dependency file: /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_cpotf2_kernels_var.cu.o.NVCC-depend
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/chst01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/chst01.f -o CMakeFiles/lapacktest.dir/testing/lin/chst01.f.o
/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /opt/magma/magmablas/cpotf2_kernels_var.cu -o /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_cpotf2_kernels_var.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 --std c++11 -Dmagma_EXPORTS -Xcompiler ,\"-fopenmp\",\"-Wall\",\"-Wno-unused-function\",\"-fPIC\",\"-O3\",\"-DNDEBUG\" -Xcompiler -fPIC sm_86 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -DNVCC -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing
nvcc fatal   : A single input file is required for a non-link phase when an outputfile is specified
CMake Error at magma_generated_cpotf2_kernels_var.cu.o.Release.cmake:220 (message):
  Error generating
  /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_cpotf2_kernels_var.cu.o


[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/cqrt02.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/cqpt01.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/clarfy.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/cqpt01.f -o CMakeFiles/lapacktest.dir/testing/lin/cqpt01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/cqrt02.f -o CMakeFiles/lapacktest.dir/testing/lin/cqrt02.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/clarfy.f -o CMakeFiles/lapacktest.dir/testing/lin/clarfy.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/cunt01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/cunt01.f -o CMakeFiles/lapacktest.dir/testing/lin/cunt01.f.o
make[2]: *** [CMakeFiles/magma.dir/build.make:535: CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/magma.dir/build.make:3020: CMakeFiles/magma.dir/magmablas/magma_generated_cpotf2_kernels_var.cu.o] Error 1
cd /opt/magma/build/CMakeFiles/magma.dir/magmablas && /usr/bin/cmake -D verbose:BOOL=ON -D build_configuration:STRING=Release -D generated_file:STRING=/opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_zcaxpycp.cu.o -D generated_cubin_file:STRING=/opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_zcaxpycp.cu.o.cubin.txt -P /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_zcaxpycp.cu.o.Release.cmake
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/cstt21.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/dbdt01.f.o
cd /opt/magma/build/CMakeFiles/magma.dir/magmablas && /usr/bin/cmake -D verbose:BOOL=ON -D build_configuration:STRING=Release -D generated_file:STRING=/opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_zaxpycp.cu.o -D generated_cubin_file:STRING=/opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_zaxpycp.cu.o.cubin.txt -P /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_zaxpycp.cu.o.Release.cmake
-- Removing /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_zcaxpycp.cu.o
-- Removing /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_zaxpycp.cu.o
/usr/bin/cmake -E rm -f /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_zcaxpycp.cu.o
/usr/bin/cmake -E rm -f /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_zaxpycp.cu.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/cstt21.f -o CMakeFiles/lapacktest.dir/testing/lin/cstt21.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/dbdt01.f -o CMakeFiles/lapacktest.dir/testing/lin/dbdt01.f.o
-- Generating dependency file: /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_zcaxpycp.cu.o.NVCC-depend
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/dget22.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/dget22.f -o CMakeFiles/lapacktest.dir/testing/lin/dget22.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/dhst01.f.o
-- Generating dependency file: /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_zaxpycp.cu.o.NVCC-depend
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/dort01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/dhst01.f -o CMakeFiles/lapacktest.dir/testing/lin/dhst01.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/dsyt21.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/dsyt22.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/dort01.f -o CMakeFiles/lapacktest.dir/testing/lin/dort01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/dsyt21.f -o CMakeFiles/lapacktest.dir/testing/lin/dsyt21.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/dsyt22.f -o CMakeFiles/lapacktest.dir/testing/lin/dsyt22.f.o
/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /opt/magma/magmablas/zaxpycp.cu -o /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_zaxpycp.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 --std c++11 -Dmagma_EXPORTS -Xcompiler ,\"-fopenmp\",\"-Wall\",\"-Wno-unused-function\",\"-fPIC\",\"-O3\",\"-DNDEBUG\" -Xcompiler -fPIC sm_86 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -DNVCC -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing
nvcc fatal   : A single input file is required for a non-link phase when an outputfile is specified
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/dqpt01.f.o
CMake Error at magma_generated_zaxpycp.cu.o.Release.cmake:220 (message):
  Error generating
  /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_zaxpycp.cu.o


/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/dqpt01.f -o CMakeFiles/lapacktest.dir/testing/lin/dqpt01.f.o
make[2]: *** [CMakeFiles/magma.dir/build.make:80: CMakeFiles/magma.dir/magmablas/magma_generated_zaxpycp.cu.o] Error 1
/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /opt/magma/magmablas/zcaxpycp.cu -o /opt/magma/build/CMakeFiles/magma.dir/magmablas/magma_generated_zcaxpycp.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 --std c++11 -Dmagma_EXPORTS -Xcompiler ,\"-fopenmp\",\"-Wall\",\"-Wno-unused-function\",\"-fPIC\",\"-O3\",\"-DNDEBUG\" -Xcompiler -fPIC sm_86 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -DNVCC -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing
nvcc fatal   : A single input file is required for a non-link phase when an outputfile is specified
CMake Error at magma_generated_zcaxpycp.cu.o.Release.cmake:220 (message):
  Error generating
  /opt/magma/build/CMakeFiles/magma.dir/magmablas/./magma_generated_zcaxpycp.cu.o


make[2]: *** [CMakeFiles/magma.dir/build.make:87: CMakeFiles/magma.dir/magmablas/magma_generated_zcaxpycp.cu.o] Error 1
make[2]: Leaving directory '/opt/magma-2.6.2/build'
make[1]: *** [CMakeFiles/Makefile2:1321: CMakeFiles/magma.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/dstt21.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/dqrt02.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/dqrt02.f -o CMakeFiles/lapacktest.dir/testing/lin/dqrt02.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/dstt21.f -o CMakeFiles/lapacktest.dir/testing/lin/dstt21.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/dlarfy.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/dlarfy.f -o CMakeFiles/lapacktest.dir/testing/lin/dlarfy.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/sbdt01.f.o
[  0%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/ssyt21.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/sbdt01.f -o CMakeFiles/lapacktest.dir/testing/lin/sbdt01.f.o
[  1%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/ssyt22.f.o
[  1%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/sqpt01.f.o
[  1%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/sort01.f.o
[  1%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/shst01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/ssyt21.f -o CMakeFiles/lapacktest.dir/testing/lin/ssyt21.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/ssyt22.f -o CMakeFiles/lapacktest.dir/testing/lin/ssyt22.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/shst01.f -o CMakeFiles/lapacktest.dir/testing/lin/shst01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/sort01.f -o CMakeFiles/lapacktest.dir/testing/lin/sort01.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/sqpt01.f -o CMakeFiles/lapacktest.dir/testing/lin/sqpt01.f.o
[  1%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/sget22.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/sget22.f -o CMakeFiles/lapacktest.dir/testing/lin/sget22.f.o
[  1%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/sqrt02.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/sqrt02.f -o CMakeFiles/lapacktest.dir/testing/lin/sqrt02.f.o
[  1%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/slarfy.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/slarfy.f -o CMakeFiles/lapacktest.dir/testing/lin/slarfy.f.o
[  1%] Building Fortran object CMakeFiles/lapacktest.dir/testing/lin/sstt21.f.o
/usr/bin/gfortran -Dlapacktest_EXPORTS -I/usr/local/cuda/include -I/opt/magma/build/include -I/opt/magma/include -I/opt/magma/control -I/opt/magma/magmablas -I/opt/magma/sparse/include -I/opt/magma/sparse/control -I/opt/magma/testing -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -fPIC -c /opt/magma/testing/lin/sstt21.f -o CMakeFiles/lapacktest.dir/testing/lin/sstt21.f.o
[  1%] Linking Fortran shared library lib/liblapacktest.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/lapacktest.dir/link.txt --verbose=1
/usr/bin/gfortran -fPIC  -Dmagma_devptr_t="integer(kind=8)" -O3 -DNDEBUG -O3 -shared -Wl,-soname,liblapacktest.so -o lib/liblapacktest.so CMakeFiles/lapacktest.dir/testing/lin/zbdt01.f.o CMakeFiles/lapacktest.dir/testing/lin/zget22.f.o CMakeFiles/lapacktest.dir/testing/lin/zhet21.f.o CMakeFiles/lapacktest.dir/testing/lin/zhet22.f.o CMakeFiles/lapacktest.dir/testing/lin/zhst01.f.o CMakeFiles/lapacktest.dir/testing/lin/zunt01.f.o CMakeFiles/lapacktest.dir/testing/lin/zqpt01.f.o CMakeFiles/lapacktest.dir/testing/lin/zqrt02.f.o CMakeFiles/lapacktest.dir/testing/lin/zlarfy.f.o CMakeFiles/lapacktest.dir/testing/lin/zstt21.f.o CMakeFiles/lapacktest.dir/testing/lin/cbdt01.f.o CMakeFiles/lapacktest.dir/testing/lin/cget22.f.o CMakeFiles/lapacktest.dir/testing/lin/chet21.f.o CMakeFiles/lapacktest.dir/testing/lin/chet22.f.o CMakeFiles/lapacktest.dir/testing/lin/chst01.f.o CMakeFiles/lapacktest.dir/testing/lin/cunt01.f.o CMakeFiles/lapacktest.dir/testing/lin/cqpt01.f.o CMakeFiles/lapacktest.dir/testing/lin/cqrt02.f.o CMakeFiles/lapacktest.dir/testing/lin/clarfy.f.o CMakeFiles/lapacktest.dir/testing/lin/cstt21.f.o CMakeFiles/lapacktest.dir/testing/lin/dbdt01.f.o CMakeFiles/lapacktest.dir/testing/lin/dget22.f.o CMakeFiles/lapacktest.dir/testing/lin/dsyt21.f.o CMakeFiles/lapacktest.dir/testing/lin/dsyt22.f.o CMakeFiles/lapacktest.dir/testing/lin/dhst01.f.o CMakeFiles/lapacktest.dir/testing/lin/dort01.f.o CMakeFiles/lapacktest.dir/testing/lin/dqpt01.f.o CMakeFiles/lapacktest.dir/testing/lin/dqrt02.f.o CMakeFiles/lapacktest.dir/testing/lin/dlarfy.f.o CMakeFiles/lapacktest.dir/testing/lin/dstt21.f.o CMakeFiles/lapacktest.dir/testing/lin/sbdt01.f.o CMakeFiles/lapacktest.dir/testing/lin/sget22.f.o CMakeFiles/lapacktest.dir/testing/lin/ssyt21.f.o CMakeFiles/lapacktest.dir/testing/lin/ssyt22.f.o CMakeFiles/lapacktest.dir/testing/lin/shst01.f.o CMakeFiles/lapacktest.dir/testing/lin/sort01.f.o CMakeFiles/lapacktest.dir/testing/lin/sqpt01.f.o CMakeFiles/lapacktest.dir/testing/lin/sqrt02.f.o CMakeFiles/lapacktest.dir/testing/lin/slarfy.f.o CMakeFiles/lapacktest.dir/testing/lin/sstt21.f.o  /usr/lib/x86_64-linux-gnu/libopenblas.so -lm -ldl
make[2]: Leaving directory '/opt/magma-2.6.2/build'
[  1%] Built target lapacktest
make[1]: Leaving directory '/opt/magma-2.6.2/build'
make: *** [Makefile:139: all] Error 2

Stanimire Tomov

unread,
Jul 4, 2022, 5:48:39 PMJul 4
to Pei Jia, MAGMA User
This may be due to nvcc being form older cuda that doesn't recognize sm_86, or old cmake. 
What do you have for
/usr/local/cuda/bin/nvcc —version
(to make sure it is from CUDA 11.7) 
and 
cmake --version
(I think we may need at least 3.19)


--
You received this message because you are subscribed to the Google Groups "MAGMA User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to magma-user+...@icl.utk.edu.
To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/magma-user/0fa8d899-6cb6-4d09-946f-0c70f9ddbc6cn%40icl.utk.edu.

Reply all
Reply to author
Forward
0 new messages