Page 1 of 1

problem in installing abinit-6.4.2

Posted: Sat Jan 01, 2011 4:53 pm
by whyyzf5725
Dear,
I meet the following problems in installing abinit-6.4.2, I need your help urgently.
make[1]: Entering directory `/home/why/abinit/abinit-6.4.2'
Making all in prereqs
make[2]: Entering directory `/home/why/abinit/abinit-6.4.2/prereqs'
make[3]: Entering directory `/home/why/abinit/abinit-6.4.2/prereqs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/why/abinit/abinit-6.4.2/prereqs'
make[2]: Leaving directory `/home/why/abinit/abinit-6.4.2/prereqs'
Making all in plugins
make[2]: Entering directory `/home/why/abinit/abinit-6.4.2/plugins'
make[3]: Entering directory `/home/why/abinit/abinit-6.4.2/plugins'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/why/abinit/abinit-6.4.2/plugins'
make[2]: Leaving directory `/home/why/abinit/abinit-6.4.2/plugins'
Making all in src
make[2]: Entering directory `/home/why/abinit/abinit-6.4.2/src'
Making all in incs
make[3]: Entering directory `/home/why/abinit/abinit-6.4.2/src/incs'
There is no buildable file here
make[3]: Leaving directory `/home/why/abinit/abinit-6.4.2/src/incs'
Making all in mods
make[3]: Entering directory `/home/why/abinit/abinit-6.4.2/src/mods'
There is no buildable file here
make[3]: Leaving directory `/home/why/abinit/abinit-6.4.2/src/mods'
Making all in 01_interfaces_ext
make[3]: Entering directory `/home/why/abinit/abinit-6.4.2/src/01_interfaces_ext'
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/home/why/abinit/abinit-6.4.2/src/mods -I/home/why/abinit/abinit-6.4.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -c -o interfaces_bigdft.o interfaces_bigdft.F90
interfaces_bigdft.F90:0: error: bad value (native) for -march= switch
interfaces_bigdft.F90:0: error: bad value (native) for -mtune= switch
interfaces_bigdft.F90:0: warning: SSE instruction set disabled, using 387 arithmetics
make[3]: *** [interfaces_bigdft.o] error 1
make[3]: Leaving directory `/home/why/abinit/abinit-6.4.2/src/01_interfaces_ext'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/home/why/abinit/abinit-6.4.2/src'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/home/why/abinit/abinit-6.4.2'
make: *** [all] error 2

Re: problem in installing abinit-6.4.2

Posted: Sat Jan 01, 2011 6:50 pm
by pouillon
Try to force the compiler version using the --with-fc-version=4.2 option of configure. Should work.

What does "gfortran --version" report?

Re: problem in installing abinit-6.4.2

Posted: Sat Jan 01, 2011 7:15 pm
by Alain_Jacques
Dear Anonymous :?
if your gfortran compiler doesn't understand the march=native option, it is probably quite old and not supported. Anyway you may try to go further by cleaning up the build first (make clean) and reconfigure by appending FCFLAGS="-O2" CFLAGS="-O2" CXXFLAGS="-O2" to the end of your configure line. More info about your processor and compilers version would be welcomed.

Alain

Re: problem in installing abinit-6.4.2

Posted: Fri Apr 29, 2011 6:38 am
by whyyzf5725
Thank you for your help. I try to complier the programm using your suggestions but the errors still exist, my complier is l-fc-p-9.0.021. I want to know if there are other methods to solve this problem.

Re: problem in installing abinit-6.4.2

Posted: Fri Apr 29, 2011 6:29 pm
by pouillon
The 9.0 version of ifort is extremely old, and not supported anymore by Abinit.

The easiest would probably be to install the latest version of ifort, but you may try the following options of configure:

Code: Select all

--with-fc-vendor="intel" --with-fc-version="9.0"

and set FCFLAGS manually.