[CP2K:2716] There is an error: ld: cannot find libmkl_intel_lp64.a. But i have linked this library in Linux-x86-64-intel.sopt

jinyd jinyd... at gmail.com
Sun May 16 09:22:23 UTC 2010


Dear all:
There is an error: ld: cannot find libmkl_intel_lp64.a when i compile
cp2k.
But i have added this libarary in LIBS. And there is
"libmkl_intel_lp64.a" file  in my directory $INTEL_LIB=$(INTEL_MKL)/
lib/em64t/.
So why? And what can i do now?

My arch file is  in this form:

INTEL_MKL=/opt/intel/Compiler/11.0/081/mkl
INTEL_INC=$(INTEL_MKL)/include/fftw
INTEL_LIB=$(INTEL_MKL)/lib/em64t

CC       = cc
CPP      =
FC       = ifort
LD       = ifort
AR       = ar -r

DFLAGS   = -D__INTEL -D__FFTSG -D__FFTW3 -D_FFTMKL -D_LIBINT
CPPFLAGS = -C -traditional $(DFLAGS) -I$(INTEL_INC)
FCFLAGS  = $(DFLAGS) -O2 -xW -heap-arrays 64 -fpp -free \
           -I/opt/intel/mkl/10.1.1.019/include/fftw
FCFLAGS2 = $(DFLAGS) -O1 -xW -heap-arrays 64 -fpp -free \
           -I$(INTEL_MKL)/include \
           -I/opt/intel/mkl/10.1.1.019/include/fftw

LDFLAGS  = $(FCFLAGS)
LIBS     = $(INTEL_LIB)/libmkl_lapack.a \
           $(INTEL_LIB)/libmkl_em64t.a \
           $(INTEL_LIB)/libmkl_intel_lp64.a \
           $(INTEL_LIB)/libguide.a  \
           /home/jinyd/cp2k/cp2k/tools/hfx_tools/libint_tools/
libint_cpp_wrapper.o \
           /opt/libint/lib/libderiv.a \
           /opt/libint/lib/libint.a \
           /opt/fftw3/lib/libfftw3.a \
           -lmkl_lapack -lguide -lmkl -lpthread -lstdc++

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To post to this group, send email to cp... at googlegroups.com.
To unsubscribe from this group, send email to cp2k+uns... at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cp2k?hl=en.




More information about the CP2K-user mailing list