Error in compiling CP2K 2.6

Hang Xiao xiaoh... at gmail.com
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 

CPPFLAGS =

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

LDFLAGS  = $(FCFLAGS)

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. 



Hang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20150305/cee6d64e/attachment.htm>


More information about the CP2K-user mailing list