Page 1 of 1

install

Posted: Thu Apr 22, 2010 5:13 am
by sdwang
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

Re: install

Posted: Thu Apr 22, 2010 1:48 pm
by pouillon
Which version of gfortran are you using?

Please note that Abinit can be compiled by gfortran >= 4.2 only.

Re: install

Posted: Sun May 16, 2010 12:09 pm
by sdwang
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

Posted: Mon May 17, 2010 8:30 pm
by pouillon
Then I suggest you to set FCFLAGS manually at configure time, by copying the above flags except the offending option.