Compling Problem for Abinit 7.0.4 with mpich2 [Solved]
Posted: Sun Dec 16, 2012 7:08 am
Previously, when compiling Abinit 6.12.3 with mpich2, it goes well with the following:
#./configure --prefix=XX --enable-mpi=/home/XX/software/abinit-7.0.4/ --with-mpi-prefix=/home/XX/software/mpi/
#make multi multi_nprocs=X
#make install
However, when trying to compiling Abinit 7.0.4 with either mpich2 or mpich3, it shows the following problem:
error: #error "HAVE_MPI1 and HAVE_MPI2 are both undefined"
Makefile:778: recipe for target `m_iso_c_bindings.o' failed
make[4]: *** [m_iso_c_bindings.o] Error 1
make[4]: Leaving directory `/home/XX/software/abinit-7.0.4/src/01_interfaces_ext'
Makefile:802: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/XX/software/abinit-7.0.4/src'
Makefile:1321: recipe for target `all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/XX/software/abinit-7.0.4'
Makefile:1243: recipe for target `all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/XX/software/abinit-7.0.4'
Makefile:1843: recipe for target `multi' failed
make: *** [multi] Error 2
Can anyone tell me what does it mean of "HAVE_MPI1 and HAVE_MPI2 are both undefined"?
The currently status is:
1) Serial compiling of 7.0.4 is good.
2) parallel compiling of 6.12.3 is good, too.
Many thanks for your answer!
#./configure --prefix=XX --enable-mpi=/home/XX/software/abinit-7.0.4/ --with-mpi-prefix=/home/XX/software/mpi/
#make multi multi_nprocs=X
#make install
However, when trying to compiling Abinit 7.0.4 with either mpich2 or mpich3, it shows the following problem:
error: #error "HAVE_MPI1 and HAVE_MPI2 are both undefined"
Makefile:778: recipe for target `m_iso_c_bindings.o' failed
make[4]: *** [m_iso_c_bindings.o] Error 1
make[4]: Leaving directory `/home/XX/software/abinit-7.0.4/src/01_interfaces_ext'
Makefile:802: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/XX/software/abinit-7.0.4/src'
Makefile:1321: recipe for target `all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/XX/software/abinit-7.0.4'
Makefile:1243: recipe for target `all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/XX/software/abinit-7.0.4'
Makefile:1843: recipe for target `multi' failed
make: *** [multi] Error 2
Can anyone tell me what does it mean of "HAVE_MPI1 and HAVE_MPI2 are both undefined"?
The currently status is:
1) Serial compiling of 7.0.4 is good.
2) parallel compiling of 6.12.3 is good, too.
Many thanks for your answer!