Page 1 of 1

compilation MAGMA+BLAS: libmagmablas.so not generated

Posted: Mon Jan 11, 2016 8:03 am
by fabounet
Hello,

I am trying to compile MAGMA. I apparently don't have error message during the compilation.
The libmagma.so is generated well. But I don't have the libmagmablas.so.
Here is my make.inc file:

CC = gcc
NVCC = nvcc
FORT = gfortran

ARCH = gcc
ARCHFLAGS = -shared -o
RANLIB = ran

OPTS = -DADD_ -O3 -fPIC
FOPTS = -DADD_ -O3 -fPIC -x f95-cpp-input
NVOPTS = -DADD_ --shared --compiler-options '-fPIC' -DUNIX -O3
LDOPTS = -fPIC -Xlinker -zmuldefs

LIB = -lcuda -lblas -lpthread -lcublas -lcudart -llapack -lm

CUDADIR = /usr/local/cuda

LIBDIR = -L/usr/local/cuda/lib64 -L/usr/include/blas/lib
INC = -I$(CUDADIR)/include

LIBMAGMA = $(MAGMA_DIR)/lib/libmagma.so
LIBMAGMABLAS = $(MAGMA_DIR)/lib/libmagmablas.so

Do I forgot something in the makefile.inc?

Thanks in advance!

Re: compilation MAGMA+BLAS: libmagmablas.so not generated

Posted: Fri Jan 22, 2016 11:36 am
by mgates3
What version are you using? libmagmablas.a has not existed for several years. It was folded into libmagma.a/.so
-mark