I renamed the arch file to Linux-i686-gcc.sopt and placed -D__GCC in it and env-ed F77=gcc and i get an error much much sooner, which looks like the previous one btw:<br><br>make[1]: Entering directory `/home/dmt/cp2k/cp2k/obj/Linux-i686-gcc/sopt'<br>cpp -C -D__GCC -D__FFTSG -D__FFTW3 -D__LIBINT -D__COMPILE_ARCH="\"Linux-i686-gcc\"" -D__COMPILE_DATE="\"Wed Nov  7 16:34:57 EET 2012\"" -D__COMPILE_HOST="\"bol\"" -D__COMPILE_REVISION="\"12476\"" -I/home/dmt/cp2k/cp2k/makefiles/../src -D__SHORT_FILE__="\"machine.F\"" /home/dmt/cp2k/cp2k/makefiles/../src/machine.F > machine.f90<br>g95  -c -cpp -O3 -ffast-math -march=pentium4 -fomit-frame-pointer -funroll-loops -I/usr/include machine.f90<br>/home/dmt/cp2k/cp2k/makefiles/../src/machine.F:128.33:<br><br>       m_memory, m_iargc, m_abort, m_chdir, m_loc_r, m_loc_c, m_mov, m_memory_d<br>                                 1<br>Error: Symbol 'm_abort' at (1) has no IMPLICIT type<br>/home/dmt/cp2k/cp2k/makefiles/../src/machine.F:128.42:<br><br>       m_memory, m_iargc, m_abort, m_chdir, m_loc_r, m_loc_c, m_mov, m_memory_d<br>                                          1<br>Error: Symbol 'm_chdir' at (1) has no IMPLICIT type<br>/home/dmt/cp2k/cp2k/makefiles/../src/machine.F:126.33:<br><br>... and it goes on much further with all the vars in these lines<br><br>On Thursday, November 1, 2012 8:33:11 PM UTC+2, Matt W wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div>HI,<br></div><div><br></div><div>you should be using gfortran rather than g95, no? I think g95 was merged with the main gcc sometime ago(?).</div><div><br></div><div>Whatever arch file you are using point it to your gcc rather than g95...</div><div><br></div><div>Matt</div><br></blockquote>