Magma 1.4 on nvidia tesla (compute 1x) arch
Posted: Tue Oct 29, 2013 1:04 pm
Hi, I'm trying to get HiPLARM working correctly, and I've come upon a snag.
I compiled MAGMA with the following make.inc:
And all seems to go fine. However, libmagma.so has some undefined symbols:
And I can't get HiPLARM to link libmagma without them. Any ideas? Thanks!
I compiled MAGMA with the following make.inc:
Code: Select all
GPU_TARGET=Tesla
CC = gcc
NVCC = /usr/local/cuda/bin/nvcc
FORT = gfortran
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
OPTS = -fPIC -O3 -DADD_ -Wall -fno-strict-aliasing -fopenmp -DMAGMA_SETAFFINITY
F77OPTS = -fPIC -O3 -DADD_ -Wall
FOPTS = -fPIC -O3 -DADD_ -Wall -x f95-cpp-input
NVOPTS = -O3 -DADD_ -Xcompiler -fno-strict-aliasing,-fPIC
LDOPTS = -fPIC -fopenmp
LIB = -lopenblas -lpthread -lcublas -lcudart -lstdc++ -lm -lgfortran
CUDADIR = /usr/local/cuda
LIBDIR = -L/u2/home/miseiler/tmp/LALibs/lib -L/usr/local/cuda/lib64
INC = -I/usr/local/cuda/includeCode: Select all
ld lib/libmagma.so ──(Tue,Oct29)─┘
ld: warning: cannot find entry symbol _start; not setting start address
lib/libmagma.so: undefined reference to `magmablas_chemv2'
lib/libmagma.so: undefined reference to `magmablas_ssymv2'
lib/libmagma.so: undefined reference to `magmablas_dsymv2'