problem in installing abinit-6.4.2

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
whyyzf5725
Posts: 4
Joined: Sat Jan 01, 2011 4:42 pm

problem in installing abinit-6.4.2

Post by whyyzf5725 » Sat Jan 01, 2011 4:53 pm

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

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

Re: problem in installing abinit-6.4.2

Post by pouillon » Sat Jan 01, 2011 6:50 pm

Try to force the compiler version using the --with-fc-version=4.2 option of configure. Should work.

What does "gfortran --version" report?
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: problem in installing abinit-6.4.2

Post by Alain_Jacques » Sat Jan 01, 2011 7:15 pm

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

whyyzf5725
Posts: 4
Joined: Sat Jan 01, 2011 4:42 pm

Re: problem in installing abinit-6.4.2

Post by whyyzf5725 » Fri Apr 29, 2011 6:38 am

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.

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

Re: problem in installing abinit-6.4.2

Post by pouillon » Fri Apr 29, 2011 6:29 pm

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.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked