Dear all,<br>I am not really expert in compiling so I apologise in advanced if my problem is trivial (siily).<br>I am trying to compile a openMP version using gfortran. Unfortunately I have some issue that I can't fix by my own.<br>This is my arch file:<br><br># tested with gcc 4.4.0<br>CC       = cc<br>CPP      =<br>FC       = mpif90 -openmp<br>LD       = mpif90 -openmp<br>AR       = ar -r<br>CPPFLAGS =<br>DFLAGS   =  -D__GFORTRAN -D__FFTSG -D__LIBINT -D__parallel -D__SCALAPACK -D__BLACS -D__FFTW3 <br>FCFLAGS  = -g -O2 -ffast-math -funroll-loops -ftree-vectorize -march=native -ffree-form $(DFLAGS)<br>LDFLAGS  = $(FCFLAGS)<br>LIBS     =  -llapack -lblas -lfftw3<br>OBJECTS_ARCHITECTURE = machine_gfortran.o<br><br><br>And this is the error I had during the compilation:<br><br>ar: creating /home/dt378/cp2k/trunk/cp2k/makefiles/../lib/Linux-x86-64-gfortran/psmp/libcp2k_fft_lib.a<br>ar: ctrig.o: No such file or directory<br>make[2]: *** [/home/dt378/cp2k/trunk/cp2k/makefiles/../lib/Linux-x86-64-gfortran/psmp/libcp2k_fft_lib.a] Error 1<br>make[2]: *** Waiting for unfinished jobs....<br>make[2]: Leaving directory `/home/dt378/cp2k/trunk/cp2k/obj/Linux-x86-64-gfortran/psmp'<br>make[1]: *** [build] Error 2<br>make[1]: Leaving directory `/home/dt378/cp2k/trunk/cp2k/makefiles'<br>make: *** [psmp] Error 2<br><br>I tried to figure out what is ctrig without succes and I am actually stuck.<br>Any help?<br><br>Thanks a lot<br>Davide<br>