BtW do you mind to post your arch file?<br><br>Cheers<br>Davide<br><br>On Monday, October 1, 2012 8:57:13 AM UTC+1, IBethune wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi Davide,
<br>
<br>ctrig.o is part of the FFT library within CP2K.  It should be compiled from the source file cp2k/src/fft_lib/ctrig.F - you should first check you have this file.  ctrig.o should get built automatically by the Makefile, so sounds like something went wrong in your build process.  Probably best is to start again:
<br>
<br>make ARCH=Linux-x86-64-gfortran VERSION=psmp realclean
<br>
<br>Hopefully this should fix the issue.  I have recently built CP2K with for this arch and it worked fine for me.
<br>
<br>Cheers
<br>
<br>- Iain
<br>
<br>--
<br>
<br>Iain Bethune
<br>Applications Consultant, EPCC
<br>
<br>Email: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="6tdHx8sTuRgJ">ibe...@epcc.ed.ac.uk</a>
<br>Twitter: @IainBethune
<br>Web: <a href="http://www2.epcc.ed.ac.uk/~ibethuneTel/Fax" target="_blank">http://www2.epcc.ed.ac.uk/~<wbr>ibethune
<br>Tel/Fax</a>: +44 (0)131 650 5201/6555
<br>Mob: +44 (0)7598317015
<br>Addr: 2404 JCMB, The King's Buildings, Mayfield Road, Edinburgh, EH9 3JZ
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>On 29 Sep 2012, at 17:52, David T wrote:
<br>
<br>> 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/<wbr>makefiles/../lib/Linux-x86-64-<wbr>gfortran/psmp/libcp2k_fft_lib.<wbr>a
<br>> ar: ctrig.o: No such file or directory
<br>> make[2]: *** [/home/dt378/cp2k/trunk/cp2k/<wbr>makefiles/../lib/Linux-x86-64-<wbr>gfortran/psmp/libcp2k_fft_lib.<wbr>a] Error 1
<br>> make[2]: *** Waiting for unfinished jobs....
<br>> make[2]: Leaving directory `/home/dt378/cp2k/trunk/cp2k/<wbr>obj/Linux-x86-64-gfortran/<wbr>psmp'
<br>> make[1]: *** [build] Error 2
<br>> make[1]: Leaving directory `/home/dt378/cp2k/trunk/cp2k/<wbr>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>> 
<br>> -- 
<br>> You received this message because you are subscribed to the Google Groups "cp2k" group.
<br>> To view this discussion on the web visit <a href="https://groups.google.com/d/msg/cp2k/-/dXMMVlT8dgYJ" target="_blank">https://groups.google.com/d/<wbr>msg/cp2k/-/dXMMVlT8dgYJ</a>.
<br>> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="6tdHx8sTuRgJ">cp...@googlegroups.com</a>.
<br>> To unsubscribe from this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="6tdHx8sTuRgJ">cp2k+uns...@googlegroups.<wbr>com</a>.
<br>> For more options, visit this group at <a href="http://groups.google.com/group/cp2k?hl=en" target="_blank">http://groups.google.com/<wbr>group/cp2k?hl=en</a>.
<br>
<br>
<br>-- 
<br>The University of Edinburgh is a charitable body, registered in
<br>Scotland, with registration number SC005336.
<br>
<br></blockquote>