Error compiling RC5

Open discussion for MAGMA

Error compiling RC5

Postby Luciole » Thu Apr 21, 2011 5:26 am

Hi,

I'm on Ubuntu 9.04 and I've an error when I try to instal the RC5 :

testing_zgemm.cpp:(.text+0x8c2): undefined reference to `zaxpy_'

Does someone knows what's wrong ? Here is the make.inc file :
Code: Select all
#//////////////////////////////////////////////////////////////////////////////
#   -- MAGMA (version 1.0) --
#      Univ. of Tennessee, Knoxville
#      Univ. of California, Berkeley
#      Univ. of Colorado, Denver
#      November 2010
#//////////////////////////////////////////////////////////////////////////////

#
# 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       = /home/sebastien/Librairies/lapack-3.3.1/lapack_LINUX.a -lcublas

CUDADIR   = /usr/local/cuda/

LIBDIR    = -L$(CUDADIR)/lib64
INC       = -I$(CUDADIR)/include

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


Thanks for your help,

Best regards
Luciole
 
Posts: 1
Joined: Thu Apr 21, 2011 5:20 am

Re: Error compiling RC5

Postby jeremiahpalmer » Sat Apr 23, 2011 10:05 pm

Perhaps this is a trailing underscore issue.
jeremiahpalmer
 
Posts: 58
Joined: Fri Jan 28, 2011 12:46 pm

Re: Error compiling RC5

Postby Stan Tomov » Sat Apr 23, 2011 11:11 pm

Hello,
This is a call to a BLAS function on the CPU. You have to add link to a CPU BLAS implementation, e.g., MKL, ACML, ATLAS, etc. (see the examples make.inc.mkl, make.inc.acml, make.inc.atlas, etc).
Stan
Stan Tomov
 
Posts: 247
Joined: Fri Aug 21, 2009 10:39 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron