[CP2K:4014] cp2k compilation error

Thomas Spura thomas... at gmail.com
Fri Sep 7 08:31:38 UTC 2012


On Fri, Sep 7, 2012 at 10:22 AM, Jeya vimalan
<jeyavi... at googlemail.com> wrote:
> Dear All,
>
> I am trying to compile cp2k the new version,
> but i end up with the following error.
>
> I have this libfftw3.a in the ~usr/bin/lib folder,

Then you need to add that in the Linux-x86-64-intel.popt file too:
~/usr/bin/lib/libfftw3.a and not just "/libfftw3.a", what you did apparently:

> mpif90 -D__INTEL -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK
> -D__libfftw3xf_intel.a -I -O3 -xW -heap-arrays 64 -funroll-loops -fpp -free
> -D__COMPILE_ARCH="\"Linux-x86-64-intel\"" -D__COMPILE_DATE="\"Thu Sep  6
> 11:52:57 CEST 2012\"" -D__COMPILE_HOST="\"ektorp\""
> -D__COMPILE_REVISION="\"12343\"" -I -o
> /home/work-itp/muthukumar/Software_Try/cp2k/cp2k_new/New/cp2k-2.3/makefiles/../exe/Linux-x86-64-intel/cp2k.popt
> cp2k.o
> /home/work-itp/muthukumar/Software_Try/cp2k/cp2k_new/New/cp2k-2.3/makefiles/../lib/Linux-x86-64-intel/popt/libcp2k_lib.a
> /home/work-itp/muthukumar/Software_Try/cp2k/cp2k_new/New/cp2k-2.3/makefiles/../lib/Linux-x86-64-intel/popt/libcp2k_dbcsr_lib.a
> /home/work-itp/muthukumar/Software_Try/cp2k/cp2k_new/New/cp2k-2.3/makefiles/../lib/Linux-x86-64-intel/popt/libcp2k_fft_lib.a
> /home/work-itp/muthukumar/Software_Try/cp2k/cp2k_new/New/cp2k-2.3/makefiles/../lib/Linux-x86-64-intel/popt/libcp2k_base_lib.a
> /home/work-itp/muthukumar/Software_Try/cp2k/cp2k_new/New/cp2k-2.3/makefiles/../lib/Linux-x86-64-intel/popt/libcp2k_ma_lib.a
> /libscalapack.a /libblacs_init.a /libblacs.a /libacml.a /libacml_mv.a
> /libfftw3.a
> ld: cannot find /libfftw3.a: No such file or directory

The same applies for scalapack/blacs/acml...

Hope that helps,
     Tom



More information about the CP2K-user mailing list