Error in compiling CP2K 2.6

Hang Xiao xiaoh... at
Thu Mar 5 17:09:45 UTC 2015

Dear Matthias,

Thank you very much for your kind help. It works like a charm. I will show 
content of the working ARCH file below.

# CP2K 2.6 Tested with: GFortran 4.9.1, OPENMPI 1.6.5

CC         = cc

CPP        =

FC         = mpif90

LD         = mpif90

AR         = ar -r

DFLAGS   =  -D__FFTSG -D__parallel  -D__SCALAPACK -D__FFTW3 


FCFLAGS  = $(DFLAGS)  -ffree-form -O2 -ffast-math -march=opteron -cpp -g


LIBS     = -L/usr/lib -lscalapack-openmpi -lblacsF77init-openmpi 
-lblacs-openmpi -llapack -lblas   -lfftw3


OBJECTS_ARCHITECTURE = machine_gfortran.o

Hope this can be helpful for someone stuck with compiling CP2K 2.6. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the CP2K-user mailing list