Magma Installation RC5 error message

Open discussion for MAGMA

Magma Installation RC5 error message

Postby nabil » Wed Apr 20, 2011 7:19 am

Good Evening everyone,
I am trying to install the new magma RC5 with CUDA 4.0 installed on Fedora 11 linux based system with Tesla GPU. Also, I have installed gotoBlas.

I have the following make.inc:


#//////////////////////////////////////////////////////////////////////////////
# -- 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-options -fno-strict-aliasing -DUNIX -O3 -DADD_
LDOPTS = -fPIC -Xlinker -zmuldefs

LIB = -lgoto2_nehalemp-r1.13 -lpthread -lcublas -lcudart -lm -lgfortran

CUDADIR = /usr/local/cuda

LIBDIR = -L/home/bukharin/Nabil/GotoBLAS2 -L$(CUDADIR)/lib64 -L/usr/lib64
INC = -I$(CUDADIR)/include

LIBMAGMA = ../lib/libmagma.a
LIBMAGMABLAS = ../lib/libmagmablas.a


however, I got the following error message:

../lib/libmagmablas.a(zhemv_tesla.cu_o): In function `magmablas_zhemv':
tmpxft_0000564b_00000000-4_zhemv_tesla.compute_13.cudafe1.cpp:(.text+0x116d): undefined reference to `cublasZhemv'
collect2: ld returned 1 exit status
make[1]: *** [testing_zhemv] Error 1
rm testing_zgemm.o testing_zhemv.o
make[1]: Leaving directory `/home/bukharin/Nabil/cuda_magma/magma_1.0.0-rc5/magma_1.0.0-rc5/testing'
make: *** [test] Error 2


any help will be appreciated.
nabil
 
Posts: 3
Joined: Wed Apr 20, 2011 7:11 am

Return to User discussion

Who is online

Users browsing this forum: Bing [Bot] and 3 guests