install

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
sdwang
Posts: 5
Joined: Thu Apr 22, 2010 5:05 am

install

Post by sdwang » Thu Apr 22, 2010 5:13 am

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

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

Re: install

Post by pouillon » Thu Apr 22, 2010 1:48 pm

Which version of gfortran are you using?

Please note that Abinit can be compiled by gfortran >= 4.2 only.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

sdwang
Posts: 5
Joined: Thu Apr 22, 2010 5:05 am

Re: install

Post by sdwang » Sun May 16, 2010 12:09 pm

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

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

Re: install

Post by pouillon » Mon May 17, 2010 8:30 pm

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

Locked