<div dir="ltr">Dear Iain,<div><br></div><div>using --enable-threads and --enable-openmp I get this result:</div><div><br></div><div><br></div><div><div>make LDFLAGS= -C /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/obj/Linux-x86-64-gfortran-ACML/tools -f /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/makefiles/Makefile makedepf90</div><div>make[1]: Entering directory `/home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/obj/Linux-x86-64-gfortran-ACML/tools'</div><div>make[1]: `makedepf90' is up to date.</div><div>make[1]: Leaving directory `/home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/obj/Linux-x86-64-gfortran-ACML/tools'</div><div>make -C /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/src -f /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/makefiles/Makefile all.dep</div><div>make[1]: Entering directory `/home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/src'</div><div>make[1]: `/home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/obj/Linux-x86-64-gfortran-ACML/psmp/all.dep' is up to date.</div><div>make[1]: Leaving directory `/home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/src'</div><div>cp /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/cuda_tools/LIBCUDA_DEPENDENCIES /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/obj/Linux-x86-64-gfortran-ACML/psmp/libc_cuda.dep</div><div>cp /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/machine/LIBMA_DEPENDENCIES /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/obj/Linux-x86-64-gfortran-ACML/psmp/libc_ma.dep</div><div>make -C /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/obj/Linux-x86-64-gfortran-ACML/psmp -f /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/makefiles/Makefile _progr</div><div>make[1]: Entering directory `/home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/obj/Linux-x86-64-gfortran-ACML/psmp'</div><div>/home/SWcbbc/SOFTWARE/SYSTEM/openmpi-1.4.3/GNU44/bin/mpif90 -m64 -fopenmp -D__GFORTRAN  -D__FFTW3 -D__LIBINT -D__parallel -D__BLACS -D__SCALAPACK -I/home/SWcbbc/SOFTWARE/SYSTEM/fftw-3.3/GNU44-double/include/ -I/home/SWcbbc/SOFTWARE/SYSTEM/ACML-4-4-0/ACML/gfortran64_mp//include/ -ffree-form -O2 -msse2 -ffast-math -march=opteron -cpp -D__COMPILE_ARCH="\"Linux-x86-64-gfortran-ACML\"" -D__COMPILE_DATE="\"Fri Sep 27 08:25:43 CEST 2013\"" -D__COMPILE_HOST="\"caliban.dm.univaq.it\"" -D__COMPILE_REVISION="\"svn:13039\"" -o /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/exe/Linux-x86-64-gfortran-ACML/cp2k.psmp cp2k.o /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/lib/Linux-x86-64-gfortran-ACML/psmp/libcp2k_lib.a /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/lib/Linux-x86-64-gfortran-ACML/psmp/libcp2k_dbcsr_lib.a /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/lib/Linux-x86-64-gfortran-ACML/psmp/libcp2k_fft_lib.a /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/lib/Linux-x86-64-gfortran-ACML/psmp/libcp2k_base_lib.a /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/lib/Linux-x86-64-gfortran-ACML/psmp/libcp2k_ma_lib.a /home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/lib/Linux-x86-64-gfortran-ACML/psmp/libcp2k_elpa_lib.a    /home/SWcbbc/SOFTWARE/SYSTEM/scalapack-1.8.0/libscalapack_mp_ib.a /home/SWcbbc/SOFTWARE/SYSTEM/BLACS/LIB_MP/blacsF77init_MPI-LINUX-0.a /home/SWcbbc/SOFTWARE/SYSTEM/BLACS/LIB_MP/blacs_MPI-LINUX-0.a /home/SWcbbc/SOFTWARE/SYSTEM/BLACS/LIB_MP/blacsF77init_MPI-LINUX-0.a  /home/SWcbbc/SOFTWARE/SYSTEM/ACML-4-4-0/ACML/gfortran64_mp//lib/libacml_mp.a /home/SWcbbc/SOFTWARE/SYSTEM/fftw-3.3/GNU44-double/lib//libfftw3.a /home/SWcbbc/SOFTWARE/SYSTEM/libint/GNU44/lib//libderiv.a /home/SWcbbc/SOFTWARE/SYSTEM/libint/GNU44/lib//libint.a -lstdc++</div><div>/home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/lib/Linux-x86-64-gfortran-ACML/psmp/libcp2k_fft_lib.a(fftw3_lib.o): In function `fftw3_create_plan_3d_':</div><div>fftw3_lib.F:(.text+0x10de): undefined reference to `dfftw_plan_with_nthreads_'</div><div>collect2: ld returned 1 exit status</div><div>make[1]: *** [/home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/exe/Linux-x86-64-gfortran-ACML/cp2k.psmp] Error 1</div><div>make[1]: Leaving directory `/home/SWcbbc/SOFTWARE/CP2K_RELEASE/cp2k-2.4_trunk/cp2k/obj/Linux-x86-64-gfortran-ACML/psmp'</div><div>make: *** [build] Error 2</div></div><div><br></div><div><br></div><div>Thanks Donato</div><div><br></div><div><br><br>On Thursday, September 26, 2013 4:47:37 PM UTC+2, IBethune wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Dear Donato,
<br>
<br>You need to link with the libfftw3_threads or libfftw3_omp library if you are using threads with FFTW.  This may not be installed by default as you need to build FFTW with the --enable-threads or --enable-openmp option.
<br>
<br>Cheers
<br>
<br>- Iain
<br>
<br>--
<br>
<br>Iain Bethune
<br>Project Manager, EPCC
<br>
<br>Email: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="WicvWDC9LxMJ">ibe...@epcc.ed.ac.uk</a>
<br>Twitter: @IainBethune
<br>Web: <a href="http://www2.epcc.ed.ac.uk/~ibethuneTel/Fax" target="_blank">http://www2.epcc.ed.ac.uk/~<wbr>ibethune
<br>Tel/Fax</a>: +44 (0)131 650 5201/6555
<br>Mob: +44 (0)7598317015
<br>Addr: 2404 JCMB, The King's Buildings, Mayfield Road, Edinburgh, EH9 3JZ
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>On 26 Sep 2013, at 15:44, Donato Pera wrote:
<br>
<br>> Dear all,
<br>> 
<br>> I'm trying to install cp2k but when I run the make file
<br>> I have this error:
<br>> 
<br>> 
<br>> fftw3_lib.F:(.text+0x10de): undefined reference to
<br>> `dfftw_plan_with_nthreads_'
<br>> 
<br>> 
<br>> Thanks Donato
<br>> 
<br>> -- 
<br>> You received this message because you are subscribed to the Google Groups "cp2k" group.
<br>> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="WicvWDC9LxMJ">cp2k+uns...@googlegroups.<wbr>com</a>.
<br>> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="WicvWDC9LxMJ">cp...@googlegroups.com</a>.
<br>> Visit this group at <a href="http://groups.google.com/group/cp2k" target="_blank">http://groups.google.com/<wbr>group/cp2k</a>.
<br>> For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/<wbr>groups/opt_out</a>.
<br>
<br>
<br>-- 
<br>The University of Edinburgh is a charitable body, registered in
<br>Scotland, with registration number SC005336.
<br>
<br></blockquote></div></div>