installation problems Magma 2.5

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

installation problems Magma 2.5

Post by cosdis » Sun Jan 13, 2019 1:58 am

Hi -- I am trying to install MAGMA into my ubuntu 18.04. I have installed cuda 10.0, which is the only cuda version that supports ubuntu 18.04. My machine is described as follows:
nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.48 Driver Version: 410.48 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 Off | 00000000:01:00.0 On | N/A |
| 0% 33C P8 9W / 151W | 331MiB / 8118MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1179 G /usr/lib/xorg/Xorg 18MiB |
| 0 1219 G /usr/bin/gnome-shell 51MiB |
| 0 2019 G /usr/lib/xorg/Xorg 125MiB |
| 0 2300 G /usr/bin/gnome-shell 122MiB |
| 0 17009 G /opt/teamviewer/tv_bin/TeamViewer 11MiB |
+-----------------------------------------------------------------------------+

I am using make.inc.mkl-icc as my make.inc. After setting up the directory of cuda and mkl, I try to run make. It runs for a while and then gets stuck. And I get the error message below:

nvcc -O3 -DNDEBUG -DADD_ -Xcompiler "-fPIC -Wall -Wno-unused-function -Wno-strict-aliasing" -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_000042f2_00000000-5_zaxpycp.compute_60.cudafe1.stub.c:5:0,
from tmpxft_000042f2_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_000042f2_00000000-5_zaxpycp.compute_60.cudafe1.stub.c: In function ‘void __device_stub__Z14zaxpycp_kerneliP7double2S0_PKS_(int, magmaDoubleComplex*, magmaDoubleComplex*, const magmaDoubleComplex*)’:
/tmp/tmpxft_000042f2_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_000042f2_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
make: *** [magmablas/zaxpycp.o] Error 1

Please help. Thanks in advance.

jaferwaleed
Posts: 1
Joined: Fri Jul 05, 2019 2:48 am
Location: CA
Contact:

Re: installation problems Magma 2.5

Post by jaferwaleed » Sun Jul 07, 2019 1:24 am

I too am getting the makefile error. Did you manage to resolve this? I am in a similar sort of situation where I am using cuda 10. Really need your advice!

mgates3
Posts: 892
Joined: Fri Jan 06, 2012 2:13 pm

Re: installation problems Magma 2.5

Post by mgates3 » Sun Jul 07, 2019 1:52 pm

Have you tried the latest MAGMA 2.5.1 alpha 1? It should resolve many compiling issues from 2.5.
https://icl.utk.edu/magma/software/index.html
Mark

Post Reply