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.
Athlon64
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Re: Athlon64
Need gfortran version and full output of config.log
The march value may be different from "athlon64" - check the gfortran documentation.
Matthieu
The march value may be different from "athlon64" - check the gfortran documentation.
Matthieu
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: Athlon64
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.
You're probably using a too old version of gfortran, likely 4.1. Abinit will not build with gfortran < 4.2.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain