Page 1 of 1

error when i make abinit 6.10.2

Posted: Thu Nov 17, 2011 12:51 pm
by abinituser
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.

Re: error when i make abinit 6.10.2

Posted: Thu Nov 17, 2011 6:01 pm
by mab
Hi

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

Good luck

Re: error when i make abinit 6.10.2

Posted: Fri Nov 18, 2011 3:07 pm
by pouillon
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.