gfortran-openMP probelm durigng the compilation

David T amazing... at
Sat Sep 29 16:52:24 UTC 2012

Dear all,
I am not really expert in compiling so I apologise in advanced if my 
problem is trivial (siily).
I am trying to compile a openMP version using gfortran. Unfortunately I 
have some issue that I can't fix by my own.
This is my arch file:

# tested with gcc 4.4.0
CC       = cc
CPP      =
FC       = mpif90 -openmp
LD       = mpif90 -openmp
AR       = ar -r
FCFLAGS  = -g -O2 -ffast-math -funroll-loops -ftree-vectorize -march=native 
-ffree-form $(DFLAGS)
LIBS     =  -llapack -lblas -lfftw3
OBJECTS_ARCHITECTURE = machine_gfortran.o

And this is the error I had during the compilation:

ar: creating 
ar: ctrig.o: No such file or directory
make[2]: *** 
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/dt378/cp2k/trunk/cp2k/makefiles'
make: *** [psmp] Error 2

I tried to figure out what is ctrig without succes and I am actually stuck.
Any help?

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

More information about the CP2K-user mailing list