[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
But i have added this libarary in LIBS. And there is
"libmkl_intel_lp64.a" file  in my directory $INTEL_LIB=$(INTEL_MKL)/
So why? And what can i do now?

My arch file is  in this form:


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

CPPFLAGS = -C -traditional $(DFLAGS) -I$(INTEL_INC)
FCFLAGS  = $(DFLAGS) -O2 -xW -heap-arrays 64 -fpp -free \
FCFLAGS2 = $(DFLAGS) -O1 -xW -heap-arrays 64 -fpp -free \
           -I$(INTEL_MKL)/include \

LIBS     = $(INTEL_LIB)/libmkl_lapack.a \
           $(INTEL_LIB)/libmkl_em64t.a \
           $(INTEL_LIB)/libmkl_intel_lp64.a \
           $(INTEL_LIB)/libguide.a  \
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