3 Replies Latest reply on Sep 20, 2011 8:11 AM by santosh.zanjurne

    HPL with ACML, open64 and openmpi

    boemelb

      I followed quite strictly the instructions from the AMD site:

      http://developer.amd.com/documentation/articles/pages/hpchighperformancelinpack.aspx

      which describes how to build HPL with the open64 compiler, open-mpi and ACML.

      But during linking I get a lot of unresolved references like:

      /opt/acml5.0.0/gfortran64/lib/libacml.a(dgemv.o): In function `dgemv_':
      dgemv.F:(.text+0x217): undefined reference to `_gfortran_string_index'
      /opt/acml5.0.0/gfortran64/lib/libacml.a(xerbla.o): In function `xerbla_':
      xerbla.f:(.text+0x5e): undefined reference to `_gfortran_compare_string'

      Looking at libacml.a:

      nm /opt/acml5.0.0/gfortran64/lib/libacml.a | grep _gfortran_string_index
                       U _gfortran_string_index
                       U _gfortran_string_index
                       ...

       

      the symbols seem to be present.

      Any idea?

       

       

      SHELL = /bin/sh # CD = cd CP = cp LN_S = ln -s MKDIR = mkdir RM = /bin/rm -f TOUCH = touch # ARCH = Linux_AMD6176 # TOPdir = $(HOME)/HPL_2.0/hpl-2.0 INCdir = $(TOPdir)/include BINdir = $(TOPdir)/bin/$(ARCH) LIBdir = $(TOPdir)/lib/$(ARCH) # HPLlib = $(LIBdir)/libhpl.a # MPdir = /usr/local/openmpi-1.4.3-open64 MPinc = -I$(MPdir)/include MPlib = # LAdir = /opt/acml5.0.0/gfortran64 LAinc = -I$(LAdir)/include LAlib = $(LAdir)/lib/libacml.a # F2CDEFS = -DAdd__ -DF77_INTEGER=int -DStringSunStyle # HPL_INCLUDES = -I$(INCdir) -I$(INCdir)/$(ARCH) $(LAinc) $(MPinc) HPL_LIBS = $(HPLlib) $(LAlib) $(MPlib) HPL_OPTS = HPL_DEFS = $(F2CDEFS) $(HPL_OPTS) $(HPL_INCLUDES) # CC = mpicc CCNOOPT = $(HPL_DEFS) CCFLAGS = $(HPL_DEFS) -fomit-frame-pointer -O3 -funroll-loops -W -Wall # LINKER = mpif90 LINKFLAGS = $(CCFLAGS) # ARCHIVER = ar ARFLAGS = r RANLIB = echo