Athlon64

option, parallelism,...

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.
Locked
beata
Posts: 1
Joined: Sat Feb 13, 2010 9:52 am

Athlon64

Post by beata » Sat Feb 13, 2010 10:02 am

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.

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: Athlon64

Post by mverstra » Sat Feb 13, 2010 1:11 pm

Need gfortran version and full output of config.log

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

Matthieu
Matthieu Verstraete
University of Liege, Belgium

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Athlon64

Post by pouillon » Tue Feb 16, 2010 9:20 am

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.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked