<div dir="ltr">I am trying to compile CP2K 2.6 (sopt, ssmp, popt, psmp) on a Linux Ubuntu 12.04 system. <br><br>I tried compiling with Intel/MKL, but get runtime fail for all regtests. I then tried GCC/MKL, and most tests again failed.<br><br>I am currently compiling with: <br><br>GCC 4.9.1<br>FFTW 3.3.4<br>Libint 1.1.4<br>Libxc 2.2.2<br>ACML 5.3.1<br><br>This works best of the combinations I have tried until now, but I still get about 5% runtime failure on the regtests for serial CP2K. The OpenMP version hangs on Ar-ref-3.inp and never goes further. <br><br>Linux-x86-64-gfortran.sopt: <br><br>CC         = gcc<br>CPP        =<br>FC         = gfortran<br>LD         = gfortran<br>AR         = ar -r<br>DFLAGS     = -D__ACML -D__FFTW3 -D__LIBINT -D__LIBXC2\<br>             -D__LIBINT_MAX_AM=7 -D__LIBDERIV_MAX_AM1=6 -D__MAX_CONTR=4<br>CPPFLAGS   = $$FFTW_INCLUDE $$ACML_INCLUDE $$LIBXC_INCLUDE $$LIBINT_INCLUDE<br>FCFLAGS    = $(DFLAGS) -O2 --fast-math -ffree-form -ffree-line-length-none \<br>         -ftree-vectorize -funroll-loops -mtune=native\<br>         $$FFTW_INCLUDE $$ACML_INCLUDE $$LIBXC_INCLUDE $$LIBINT_INCLUDE<br>LDFLAGS    = $(FCFLAGS) $$FFTW_LDFLAGS $$ACML_LDFLAGS $$LIBINT_LDFLAGS $$LIBXC_LDFLAGS <br>LIBS       = -lacml -lfftw3 -lxcf90 -lxc -lderiv -lint -lm -ldl<br><br><br><br>-------------------------------------------------------------------<br>Linux-x86-64-gfortran.ssmp: <br><br>CC         = gcc<br>CPP        =<br>FC         = gfortran<br>LD         = gfortran<br>AR         = ar -r<br>DFLAGS     = -D__ACML -D__FFTW3 -D__LIBINT -D__LIBXC2\<br>             -D__LIBINT_MAX_AM=7 -D__LIBDERIV_MAX_AM1=6 -D__MAX_CONTR=4<br>CPPFLAGS   = $$FFTW_INCLUDE $$ACML_INCLUDE $$LIBXC_INCLUDE $$LIBINT_INCLUDE<br>FCFLAGS    = $(DFLAGS) -O0 -g -ffree-form -ffree-line-length-none\<br>             -fopenmp -ftree-vectorize -funroll-loops\<br>             -mtune=native\<br>             $$FFTW_INCLUDE $$ACML_INCLUDE $$LIBXC_INCLUDE $$LIBINT_INCLUDE<br>LDFLAGS    = $(FCFLAGS) $$FFTW_LDFLAGS $$ACML_LDFLAGS $$LIBINT_LDFLAGS $$LIBXC_LDFLAGS -static-libgfortran<br>LIBS       = -lacml -lfftw3 -lfftw3_threads -lxcf90 -lxc -lderiv -lint -lm -ldl <br><br><br>I have attached the error messages and the list of status of regtest for sopt. <br><br>Any suggestions to what the problem might be? <br><br>Thank you! <br><br>-Birgitte Brydsö<br><br><br></div>