Is there any error in the default arch file Linux-x86-64-g95.sopt?

hawk2012 hawk2... at
Wed Jul 16 04:29:49 CEST 2008

Dear All:
I am trying to compile a serial version of cp2k2.0 with the
recommended compiler g95. Following the INSTALL instructions of cp2k,
I downloaded the latest version 0.92 of g95 souce code from
and installed it on my 64bit Linux machine. I also downloaded
lapack-3.1.1, GotoBLAS-1.26, fftw-3.1.2 and libint-1.1.2 from the
recommended websites. These packages were then compiled with F77=g95
and installed on my machine.
After that I modified cp2k/arch/Linux-x86-64-g95.sopt to be:
CC       = cc
CPP      =
FC       = g95
LD       = g95
AR       = ar -r
FCFLAGS  = $(DFLAGS) -I$(G95_INC) -ffree-form -O2 -ffast-math -
march=opteron -cpp -g
LIBS     = /home/lapack-3.1.1/lapack_LINUX.a \
           /home/GotoBLAS/libgoto.a \
           /home/libint/lib/libderiv.a \
           /home/libint/lib/libint.a \
           /home/fftw/lib/libfftw3.a \
           -lstdc++ -lpthread

Finally, I tried to compile cp2k with the command "make ARCH=Linux-
x86-64-g95 VERSION=sopt" after entering directory cp2k/makefiles.
However, some errors were reported during compileing process (see
attached file log.g95).
Could anyone give me any suggestions?

More information about the CP2K-user mailing list