I have got a strange error during magma installation and I have no idea how to solve it. Any suggestion would be appreciated.
- Code: Select all
#//////////////////////////////////////////////////////////////////////////////
# -- MAGMA (version 1.0) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# November 2010
#
# Contributed by: Allan Menezes (Ontario, Canada)
#//////////////////////////////////////////////////////////////////////////////
#
# GPU_TARGET specifies for which GPU you want to compile MAGMA
# 0: Tesla family
# 1: Fermi Family
#
GPU_TARGET = 0
CC = gcc
NVCC = nvcc
FORT = gfortran
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
OPTS = -O3 -DADD_
FOPTS = -O3 -DADD_ -x f95-cpp-input
NVOPTS = --compiler-bindir /opt/gcc-4.4 --compiler-options \
-fno-strict-aliasing -DUNIX -O3 -DADD
LDOPTS = -fPIC -Xlinker -zmuldefs
LIB = ../../lapack-lite-3.1.1/lapack_LINUX.a \
-lf77blas -llapack -latlas -lcblas -lf2c\
-lcublas -lm
#CUDADIR = /usr
LIBDIR = -L/usr/lib \
-L../../ATLAS/lib/Linux_UNKNOWNSSE2_4 \
-L../../CLAPACK-3.2.1/F2CLIBS
INC = -I/usr/include/cuda/
LIBMAGMA = ../lib/libmagma.a
LIBMAGMABLAS = ../lib/libmagmablas.a
- Code: Select all
make[1]: Entering directory `........................................./testing'
gcc -O3 -DADD_ -DGPUSHMEM=130 -I/usr/include/cuda/ -I../include -I../quark/include -c testing_zhemv.cpp -o testing_zhemv.o
gcc -O3 -DADD_ -DGPUSHMEM=130 -fPIC -Xlinker -zmuldefs -DGPUSHMEM=130 testing_zhemv.o -o testing_zhemv lin/liblapacktest.a -L../lib \
-lcuda -lmagma -lmagmablas -lmagma -L/usr/lib -L../../ATLAS/lib/Linux_UNKNOWNSSE2_4 -L../../CLAPACK-3.2.1/F2CLIBS ../../lapack-lite-3.1.1/lapack_LINUX.a -lf77blas -llapack -latlas -lcblas -lf2c -lcublas -lm
../lib/libmagmablas.a(zhemv_tesla.cu_o): In function `magmablas_zhemv':
tmpxft_00005cd6_00000000-4_zhemv_tesla.compute_13.cudafe1.cpp:(.text+0x46f): undefined reference to `lapackf77_lsame'
tmpxft_00005cd6_00000000-4_zhemv_tesla.compute_13.cudafe1.cpp:(.text+0x4d3): undefined reference to `lapackf77_lsame'
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** [testing_zhemv] Fehler 1
rm testing_zhemv.o
make[1]: Leaving directory `/daten/projekte/studium/Diplomarbeit/cpp/magma_1.0.0/testing'
make: *** [test] Fehler 2
Best regards,
floxtrott