Compilation error gcc 4.8.0

ritwik kri... at gmail.com
Fri Apr 26 04:38:58 UTC 2013


Hello,

I am trying to compile cp2k using the following arch file

make ARCH=Linux-x86-64-gfortran  VERSION=psmp

ARCH FILE:

CC       = mpicc
CPP      =
FC       = mpif90 -openmp -I/opt/apps/gnu/gcc/4.8/numlibs/fftw/3.3.3/include
LD       = mpif90 -openmp
AR       = ar -r
CPPFLAGS =
DFLAGS   = -D__GFORTRAN -D__FFTSG -D__LIBINT -D__parallel -D__SCALAPACK 
-D__BLACS -D__FFTW3
FCFLAGS  = -O2 -ffast-math -funroll-loops -ftree-vectorize -march=native 
-ffree-form $(DFLAGS)
LDFLAGS  = $(FCFLAGS)
LIBS     =-L/opt/apps/gnu/gcc/4.8/numlibs -llapack -lblas -lscalapack 
-L/opt/apps/gnu/gcc/4.8/numlibs/fftw/3.3.3/lib -lfftw3

OBJECTS_ARCHITECTURE = machine_gfortran.o

EOF

and get the following error:

ar: creating 
/opt/apps/gnu/gcc/4.8/cp2k/cp2k-2.3/makefiles/../lib/Linux-x86-64-gfortran/psmp/libcp2k_lib.a
ar: admm_methods.o: No such file or directory

In the path ../obj/Linux-x86-64-gfortran/psmp/ there are a lot of *.mod 
files but no *.o object files.

Thanks in advance.

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


More information about the CP2K-user mailing list