Dear colleagues,<br><br>did anyone of you succeed in compiling cp2k with the ACML library? We have an Opteron Cluster here and we might buy a Bulldozer-based workstation. Therefore I want to test ACML against the currently installed MKL-Version to see if it runs faster.<br><br>Compiling of the trunk version is ok, but running C.inp in tests/QS gives a SEGFAULT at the SCF wavefunction optimization stage.<br><br>arch file:<br><br>CC       = mpicc<br>CPP      =<br><br>FC       = mpif90<br>LD       = mpif90<br><br>AR       = ar -r<br><br>CPPFLAGS =<br>DFLAGS   = -D__GFORTRAN  -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK -D__FFTW3<br>FCFLAGS  = -O2 -ffast-math -funroll-loops -ftree-vectorize -march=native -ffree-form $(DFLAGS) \<br>           -I~/soft/fftw-3.3/gfortran/include<br>LDFLAGS  = $(FCFLAGS)<br>LIBS     = ~/soft/scalapack/2.0.2/gfortran/4.6.1/acml_5.1.0/lib/libscalapack.a \<br>            -L~/soft/acml5.1.0/gfortran/gfortran64/lib/ -lacml \<br>              ~/soft/fftw-3.3/gfortran/lib/libfftw3.a<br><br>OBJECTS_ARCHITECTURE = machine_gfortran.o<br><br>gcc 4.6.1 / openmpi 1.4.5 / fftw 3.3<br>Scalapack was compiled using the scalapack installer and ACML as library. All tests went fine.<br>I tried ACML 4.4.0 and / or gcc 4.4.4 to no avail.<br><br>Thanks a lot for your help.<br>