Magma 2.5 installation failed with cuda-10

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
cosdis
Posts: 2
Joined: Sun Jan 13, 2019 1:44 am

Magma 2.5 installation failed with cuda-10

Post by cosdis » Mon Jan 14, 2019 12:05 pm

Hi, I am new to magma. I have installed cuda-10 (the only supported version) and mkl for my ubuntu 18.04. I try to install magma 2.5 using make.inc.mkl-icc. After setting up mkl and cuda directory, I run make and it stuck at some point giving the error message below:

Code: Select all

nvcc -O3                  -DNDEBUG -DADD_ -Xcompiler "-fPIC -Wall -Wno-unused-function"  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -I/usr/local/cuda//include -I/home/cosdis/intel/compilers_and_libraries_2019.1.144/linux/mkl/include -I./include -I./control -c -o magmablas/zaxpycp.o magmablas/zaxpycp.cu
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:217:0:
/usr/local/cuda//include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /tmp/tmpxft_00006795_00000000-5_zaxpycp.compute_60.cudafe1.stub.c:5:0,
                 from tmpxft_00006795_00000000-5_zaxpycp.compute_60.cudafe1.stub.c:1:
/usr/local/cuda//include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
/tmp/tmpxft_00006795_00000000-5_zaxpycp.compute_60.cudafe1.stub.c: In function ‘void __device_stub__Z14zaxpycp_kerneliP7double2S0_PKS_(int, magmaDoubleComplex*, magmaDoubleComplex*, const magmaDoubleComplex*)’:
/tmp/tmpxft_00006795_00000000-5_zaxpycp.compute_60.cudafe1.stub.c:10:158: error: ‘__args_arr’ was not declared in this scope
 bleComplex *__par1, magmaDoubleComplex *__par2, const magmaDoubleComplex *__par3){__cudaSetupArgSimple(__par0, 0UL);__cudaSetupArgSimple(__par1, 8UL);__cudaSetupArgSimple(__par2, 16UL);__cudaSetupArgSimple(__par3, 24UL);__cudaLaunch(((char *)((void ( *)(int, magmaDoubleComplex *, magmaDoubleComplex *, const magmaDoubleComplex *))zaxpycp_kernel)));}
                                                                                   ^
/tmp/tmpxft_00006795_00000000-5_zaxpycp.compute_60.cudafe1.stub.c:10:158: error: ‘__args_idx’ was not declared in this scope
 bleComplex *__par1, magmaDoubleComplex *__par2, const magmaDoubleComplex *__par3){__cudaSetupArgSimple(__par0, 0UL);__cudaSetupArgSimple(__par1, 8UL);__cudaSetupArgSimple(__par2, 16UL);__cudaSetupArgSimple(__par3, 24UL);__cudaLaunch(((char *)((void ( *)(int, magmaDoubleComplex *, magmaDoubleComplex *, const magmaDoubleComplex *))zaxpycp_kernel)));}
                                                                                   ^
Makefile:605: recipe for target 'magmablas/zaxpycp.o' failed
Please help. Thanks in advance.

Post Reply