AnsweredAssumed Answered

acml-5-3-0-open64-64bit and magma-1.3.0 fails

Question asked by lejeczek on Apr 8, 2013
Latest reply on Apr 12, 2013 by lejeczek

hi everybody

 

I'm trying to build magma with acml but compilation fails:

 

gcc: unrecognized option '-zmuldefs'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `_TRANSFER'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `_index90'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `_F90_STOP'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `_FRF'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `s_cmp'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `s_copy'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `s_cat'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `__powri'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `_FWF'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `_DEALLOC'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `__powii'
/opt/acml5.3.0/open64_64/lib/libacml.so: undefined reference to `__powdi'
collect2: ld returned 1 exit status
make[1]: *** [testing_zgemm] Error 1
make: *** [test] Error 2

 

content of my make.inc:

------------------------------------

GPU_TARGET = Fermi

 

#CC        = gcc

CC        = opencc-4.5.2

NVCC      = nvcc

FORT      = openf95-4.5.2

#FORT      = gfortran

 

ARCH      = ar

ARCHFLAGS = cr

RANLIB    = ranlib

 

OPTS      = -O3 -DADD_ -fPIC

F77OPTS   = -O3 -DADD_

FOPTS     = -O3 -DADD_

NVOPTS    = -O3 -DADD_ --compiler-options -fno-strict-aliasing -DUNIX

LDOPTS    = -fPIC -Xlinker -zmuldefs

 

LIB       = -lacml -lpthread -lcublas -lm

 

CUDADIR   = /usr/local/cuda

 

LIBDIR    = -L/opt/acml5.3.0/open64_64/lib \

            -L$(CUDADIR)/lib64

INC       = -I$(CUDADIR)/include

--------------------------------------------------------

 

I was hoping a developer/programmer, I ain't one, could shed some light as to what might be wrong,

I am going to ask magma's people but I thought I should before double check here, maybe I'm not doing something silly..

 

any thoughts?

many thanks

Outcomes