Page 1 of 1

Athlon64

Posted: Sat Feb 13, 2010 10:02 am
by beata
Hi,
I am beginner in the field - trying for the first time to compile Abinit under linux (Fedora core) and get this message after running the makefile :
.............
cd blas && make FC="gfortran" FCFLAGS=" -g -ffree-line-length-none -O2 -march=athlon64" AR="ar" ARFLAGS="rc" RANLIB="ranlib"
make[5]: Entering directory `/home/Beata/PROGRAMS/ABINIT/abinit-5.8.4/prereqs/linalg/blas'
gfortran -g -ffree-line-length-none -O2 -march=athlon64 -c caxpy.f
f951: error: unrecognized command line option "-ffree-line-length-none"
make[5]: *** [caxpy.o] Błąd 1
.........
I suspect that may processor (athlon64) couldn't be recognized in the command -ffree-line-length-none -O2 -march=athlon64 -c caxpy.f

Does anyone experienced this sort of problem ?
Thanks in advance for help.
Beata.

Re: Athlon64

Posted: Sat Feb 13, 2010 1:11 pm
by mverstra
Need gfortran version and full output of config.log

The march value may be different from "athlon64" - check the gfortran documentation.

Matthieu

Re: Athlon64

Posted: Tue Feb 16, 2010 9:20 am
by pouillon
This problem does not come at all from your architecture.

You're probably using a too old version of gfortran, likely 4.1. Abinit will not build with gfortran < 4.2.