Hello,
I've managed to configure abinit and there aren't any errors as far as I can tell. However when I want to make this comes out :
make all-recursive
make[1]: Entering directory `/home/sidiq/abinit-6.6.2'
Making all in plugins
make[2]: Entering directory `/home/sidiq/abinit-6.6.2/plugins'
Making all in linalg
make[3]: Entering directory `/home/sidiq/abinit-6.6.2/plugins/linalg'
make -f ../../plugins/linalg/linalg.mk
make[4]: Entering directory `/home/sidiq/abinit-6.6.2/plugins/linalg'
lapack-abinit_6.0 has been uncompressed.
touch configure-stamp
lapack-abinit_6.0 has been configured.
cd lapack-abinit_6.0/blas && make \
FC="gfortran" \
FCFLAGS="-g -O2 -mtune=native -march=native -mfpmath=sse -ffixed-form" \
AR="ar" \
ARFLAGS="rc" \
RANLIB="ranlib"
make[5]: Entering directory `/home/sidiq/abinit-6.6.2/plugins/linalg/lapack-abinit_6.0/blas'
gfortran -g -O2 -mtune=native -march=native -mfpmath=sse -ffixed-form -c caxpy.f
caxpy.f:0: error: bad value (native) for -march= switch
caxpy.f:0: error: bad value (native) for -mtune= switch
caxpy.f:0: warning: SSE instruction set disabled, using 387 arithmetics
make[5]: *** [caxpy.o] Error 1
make[5]: Leaving directory `/home/sidiq/abinit-6.6.2/plugins/linalg/lapack-abinit_6.0/blas'
make[4]: *** [build-stamp] Error 2
make[4]: Leaving directory `/home/sidiq/abinit-6.6.2/plugins/linalg'
make[3]: *** [package-ready] Error 2
make[3]: Leaving directory `/home/sidiq/abinit-6.6.2/plugins/linalg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sidiq/abinit-6.6.2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sidiq/abinit-6.6.2'
make: *** [all] Error 2
I would be thankful if someone could help me out. Thanks..
problem during make
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: problem during make
You're probably using gfortran 4.1, which is too old to compile Abinit.
Solution: upgrade to a newer version of GCC. 4.5 is highly recommended.
Solution: upgrade to a newer version of GCC. 4.5 is highly recommended.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain