make magma
Posted: Sun Apr 08, 2012 3:39 pm
Hello there, friends
I am currently trying to build MAGMA lib, which, i believe, provides the gs gpu routines;
so i got a problem (i know, that magma is not your product, but i hope some of you compiled it correctly)
so that is my make file:
# GPU_TARGET specifies for which GPU you want to compile MAGMA
# 0: Tesla family
# 1: Fermi Family
#
GPU_TARGET = 0
CC = /usr/bin/gcc-4.4
NVCC = /usr/local/cuda/bin/nvcc
FORT = /usr/bin/gfortran-4.4
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
OPTS = -O3 -DADD_
FOPTS = -O3 -DADD_ -x f95-cpp-input
NVOPTS = --compiler-options -fno-strict-aliasing -DUNIX -O3 -DADD_
LDOPTS = -fPIC -Xlinker -zmuldefs
LIB = /usr/lib/lapack/liblapack.a \
-lf77blas -latlas -lcblas -lf2c -lcublas -lm
CUDADIR = /usr/local/cuda
LIBDIR = -L/usr/lib/atlas-base \
-L/usr/lib \
-L/lib \
-L/home/magniff/Desktop/downloads/magma_1.1.0/lib \
-L/usr/lib/lapack \
-L$(CUDADIR)/lib64 \
-L$(CUDADIR)/lib
INC = -I$(CUDADIR)/include \
LIBMAGMA = /home/magniff/Desktop/downloads/magma_1.1.0/lib/magma.a
LIBMAGMABLAS = /home/magniff/Desktop/downloads/magma_1.1.0/lib/magmablas.a
so it starts and runs for a couple of mins, and then crushes:
/usr/bin/ld: cannot find -lmagma
i dont really get it, maby some of you got the same error?
sys:
debian 6
nvidia gtx275
last dev. drivers;
magniff;
I am currently trying to build MAGMA lib, which, i believe, provides the gs gpu routines;
so i got a problem (i know, that magma is not your product, but i hope some of you compiled it correctly)
so that is my make file:
# GPU_TARGET specifies for which GPU you want to compile MAGMA
# 0: Tesla family
# 1: Fermi Family
#
GPU_TARGET = 0
CC = /usr/bin/gcc-4.4
NVCC = /usr/local/cuda/bin/nvcc
FORT = /usr/bin/gfortran-4.4
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
OPTS = -O3 -DADD_
FOPTS = -O3 -DADD_ -x f95-cpp-input
NVOPTS = --compiler-options -fno-strict-aliasing -DUNIX -O3 -DADD_
LDOPTS = -fPIC -Xlinker -zmuldefs
LIB = /usr/lib/lapack/liblapack.a \
-lf77blas -latlas -lcblas -lf2c -lcublas -lm
CUDADIR = /usr/local/cuda
LIBDIR = -L/usr/lib/atlas-base \
-L/usr/lib \
-L/lib \
-L/home/magniff/Desktop/downloads/magma_1.1.0/lib \
-L/usr/lib/lapack \
-L$(CUDADIR)/lib64 \
-L$(CUDADIR)/lib
INC = -I$(CUDADIR)/include \
LIBMAGMA = /home/magniff/Desktop/downloads/magma_1.1.0/lib/magma.a
LIBMAGMABLAS = /home/magniff/Desktop/downloads/magma_1.1.0/lib/magmablas.a
so it starts and runs for a couple of mins, and then crushes:
/usr/bin/ld: cannot find -lmagma
i dont really get it, maby some of you got the same error?
sys:
debian 6
nvidia gtx275
last dev. drivers;
magniff;