Dear ALL:
In order to compile 7.0.5, I use the following configure:
./configure CC=mpicc CXX=mpicxx FC=mpif90 --prefix=/home/ML/software/abinit-7.0.5 --enable-mpi=yes --enable-mpi-io=yes --with-mpi-prefix=/home/ML/software/mpich3 --with-fft-flavor="fftw3" --enable-gw-dpc --with-fft-incs="-I/home/ML/software/fftw/include" --with-fft-libs="-L/home/ML/software/fftw/lib -lfftw3"
Usually, it works pretty well, and at the step of configure, it does not contain any error.
However, when make mj4, there is a problem like this:
Error: Name 'mpi_comm' at (1) is an ambiguous reference to 'mpi_comm' from current program unit
Makefile:843: recipe for target `accrho.o' failed
make[5]: *** [accrho.o] Error 1
make[5]: *** Waiting for unfinished jobs....
applypot.F90:78.57:
integer :: max1o,max2o,max3o,m1o,m2o,m3o,mpi_comm,nproc,iproc
1
Error: Name 'mpi_comm' at (1) is an ambiguous reference to 'mpi_comm' from current program unit
applypot.F90:251.55:
MPI_double_precision,mpi_comm,ierr)
1
Error: Name 'mpi_comm' at (1) is an ambiguous reference to 'mpi_comm' from current program unit
applypot.F90:431.55:
MPI_double_precision,mpi_comm,ierr)
1
Error: Name 'mpi_comm' at (1) is an ambiguous reference to 'mpi_comm' from current program unit
Makefile:843: recipe for target `applypot.o' failed
make[5]: *** [applypot.o] Error 1
make[5]: Leaving directory `/home/ML/software/abinit-7.0.5/src/52_fft_mpi_noabirule'
Makefile:802: recipe for target `all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/ML/software/abinit-7.0.5/src'
Makefile:1321: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ML/software/abinit-7.0.5'
Makefile:1243: recipe for target `all' failed
make[2]: Leaving directory `/home/ML/software/abinit-7.0.5'
Makefile:1843: recipe for target `multi' failed
make[1]: *** [multi] Error 2
make[1]: Leaving directory `/home/ML/software/abinit-7.0.5'
Makefile:1840: recipe for target `mj4' failed
make: *** [mj4] Error 2
Any suggestion? The system is cygwin in win7 64bit.
Thank you very much for any kind of help and suggestions!!!
MPI_comm Error when Compilation Error 7.0.5 [SOLVED]
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.
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.
MPI_comm Error when Compilation Error 7.0.5
Last edited by ljludwig on Thu Feb 07, 2013 8:09 pm, edited 1 time in total.
- Alain_Jacques
- Posts: 279
- Joined: Sat Aug 15, 2009 9:34 pm
- Location: Université catholique de Louvain - Belgium
Re: MPI_comm Error when Compilation Error 7.0.5 [SOLVED]
... I bet before you switched to mpich-3. I'm working on this issue.Usually, it works pretty well
As an interim solution, try to configure with
Code: Select all
--with-mpi-level=1
Kind regards,
Alain
Re: MPI_comm Error when Compilation Error 7.0.5
Alain_Jacques wrote:... I bet before you switched to mpich-3. I'm working on this issue.Usually, it works pretty well
As an interim solution, try to configure withCode: Select all
--with-mpi-level=1
Kind regards,
Alain
Hi, Alain:
Thank you so much!! This is exactly the problem coming from- previously I used mpich2.15, but turn to mpich3. I'll change the status to [solved].
Best regards,
Ludwig