error when i make abinit 6.10.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
abinituser
Posts: 1
Joined: Thu Nov 17, 2011 12:43 pm

error when i make abinit 6.10.2

Post by abinituser » Thu Nov 17, 2011 12:51 pm

hi all

when i tried to make abinit, i find this message :


make[5] : on entre dans le répertoire « /home/abinit-6.10.2/src/mods »
There is no buildable file here
make[5] : on quitte le répertoire « /home/abinit-6.10.2/src/mods »
Making all in 01_interfaces_ext
make[5] : on entre dans le répertoire « /home/abinit-6.10.2/src/01_interfaces_ext »
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/home/abinit-6.10.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -c -o interfaces_bigdft.o interfaces_bigdft.F90
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/home/abinit-6.10.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -c -o interfaces_etsf_io.o interfaces_etsf_io.F90
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/home/abinit-6.10.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -c -o interfaces_libxc.o interfaces_libxc.F90
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/home/abinit-6.10.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -c -o interfaces_fox.o interfaces_fox.F90
../../config.h:581:2: erreur: #error "HAVE_MPI1 and HAVE_MPI2 are both undefined"
../../config.h:581:2: erreur: #error "HAVE_MPI1 and HAVE_MPI2 are both undefined"
../../config.h:581:2: erreur: #error "HAVE_MPI1 and HAVE_MPI2 are both undefined"
../../config.h:581:2: erreur: #error "HAVE_MPI1 and HAVE_MPI2 are both undefined"
make[5]: *** [interfaces_etsf_io.o] Erreur 1
make[5]: *** Attente des tâches non terminées....
make[5]: *** [interfaces_libxc.o] Erreur 1
make[5]: *** [interfaces_bigdft.o] Erreur 1
make[5]: *** [interfaces_fox.o] Erreur 1


any one can help me please
Thanks.

mab
Posts: 9
Joined: Sun Nov 13, 2011 2:38 pm

Re: error when i make abinit 6.10.2

Post by mab » Thu Nov 17, 2011 6:01 pm

Hi

This error comes probably from ./configure. You change the option after this command ./configure --option.

Good luck

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

Re: error when i make abinit 6.10.2

Post by pouillon » Fri Nov 18, 2011 3:07 pm

This means that the build system was not able to find a working MPI environment. If you look at the output of configure, you'll see that there are warnings about MPI.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked