Dear:
I install ABNIT-5.8.2.When ./configure it has no error,but after I type "make",it appears:
[sdwang@storage abinit-5.8.2]$ make
make all-recursive
make[1]: Entering directory `/home/sdwang/abinit-5.8.2'
Making all in prereqs
make[2]: Entering directory `/home/sdwang/abinit-5.8.2/prereqs'
Making all in linalg
make[3]: Entering directory `/home/sdwang/abinit-5.8.2/prereqs/linalg'
make -f ../../prereqs/linalg/linalg.mk
make[4]: Entering directory `/home/sdwang/abinit-5.8.2/prereqs/linalg'
lapack-abinit_5.7 has been uncompressed.
touch configure-stamp
lapack-abinit_5.7 has been configured.
cd blas && make FC="gfortran" FCFLAGS=" -g -ffree-line-length-none -O3 -fschedule-insns2 -march=nocona -mmmx -msse -msse2 -msse3 -mfpmath=sse" AR="ar" ARFLAGS="rc" RANLIB="ranlib"
make[5]: Entering directory `/home/sdwang/abinit-5.8.2/prereqs/linalg/blas'
gfortran -g -ffree-line-length-none -O3 -fschedule-insns2 -march=nocona -mmmx -msse -msse2 -msse3 -mfpmath=sse -c caxpy.f
f951: error: unrecognized command line option "-ffree-line-length-none"
make[5]: *** [caxpy.o] Error 1
make[5]: Leaving directory `/home/sdwang/abinit-5.8.2/prereqs/linalg/blas'
make[4]: *** [build-stamp] Error 2
make[4]: Leaving directory `/home/sdwang/abinit-5.8.2/prereqs/linalg'
make[3]: *** [package-ready] Error 2
make[3]: Leaving directory `/home/sdwang/abinit-5.8.2/prereqs/linalg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sdwang/abinit-5.8.2/prereqs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sdwang/abinit-5.8.2'
make: *** [all] Error 2
Where is my problem?
Thanks!
sdwang
Southeast University in Nanjing,China
install
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: install
Which version of gfortran are you using?
Please note that Abinit can be compiled by gfortran >= 4.2 only.
Please note that Abinit can be compiled by gfortran >= 4.2 only.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: install
pouillon wrote:Which version of gfortran are you using?
Please note that Abinit can be compiled by gfortran >= 4.2 only.
I used gfortran = 4.2
Re: install
Then I suggest you to set FCFLAGS manually at configure time, by copying the above flags except the offending option.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain