<div dir="ltr">Hello everyone<br><br>I have now a cp2k version which is running smoothly if I compile the *opt versions, however I have problems (in term of runtime failures) with the *smp version.<br><br>I can access the linear algebra routines through a MKL library, which provide also a wrapper for FFTW3 (but I DON'T have access to the intel compilers, I use the GNU ones)<br>The runtime error for the smp version is the following:<br><br>STOP Intel's FFTW3 interface to MKL is not thread-safe prior to MKL 11.1.0!  Please rebuild CP2K, linking against FFTW 3 from www.fftw.org or a newer version of MKL. Now exiting...<br><br>This is quite strange since my version of MKL should be newer than 11.1.0 (I am not the sysadmin, the intel folder is referred as "2016.0.109", a quick search suggests that the 11.3 version should be installed, but I'd like to know a way to check this for sure)<br><br>However if I try to install the "vanilla" version of fftw3 and try to install with the configure option "--enable-openmp" and thus linking the libraries "libfftw3.a" and "libfftw3_omp.a" I get the same error.<br>the arch file I am using is the following:<br>(the fftw libraries are in $(FFTW3ROOT)/lib )<br><br><br>## Begin test.ssmp ##<br>MKLROOT    = /opt/intel/compilers_and_libraries_2016.0.109/linux/mkl<br>MKLLIB     = $(MKLROOT)/lib/intel64<br>FFTW3ROOT  = $(HOME)/cp2k_build/src/fftw3_vanilla/fftw-3.3.5/installazione<br><br>CC         = gcc<br>CPP        =<br>FC         = mpif90<br>LD         = mpif90<br>AR         = ar -r<br>ALLFLAGS   = -D__MKL -D__FFTW3 -O2 -fopenmp -I$(MKLROOT)/include -I$(FFTW3ROOT)/include<br>FCFLAGS    = $(ALLFLAGS) -ffree-form<br>CFLAGS     = $(ALLFLAGS)<br>LDFLAGS    = -L$(FFTW3ROOT)/lib -fopenmp<br>LIBS       = -Wl,--start-group $(MKLLIB)/libmkl_gf_lp64.a $(MKLLIB)/libmkl_gnu_thread.a $(MKLLIB)/libmkl_core.a -Wl,--end-group -lpthread -lm -ldl -lstdc++ -lfftw3 -lfftw3_omp<br>## End test.ssmp ##<br><br><br>Just recently I noticed that the installation wiki on the website might be saying that if I compile with GNU+MKL I cannot have openmp? Is this the case?<br><br>Thanks<br><br>Daniele<br><a name="l00124"></a><span class="lineno"></span></div>