mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/export/modules/devel/fftw/3.3.3/gnu/include -I/home/eyurtese/tmp/abinit-7.2.1/fallbacks/exports/include -ffree-form -J/home/eyurtese/tmp/abinit-7.2.1/src/mods -O3 -mtune=native -march=native -faggressive-function-elimination -fstack-arrays -g -ffree-line-length-none -c -o applypot.o applypot.F90
accrho.F90:59.12:
use mpi
1
Error: Name 'mpi_comm' at (1) is an ambiguous reference to 'mpi_comm' from current program unit
accrho.F90:76.54:
integer :: md1,md2proc,md3,mpi_comm,nproc,iproc,paral_kgb
1
Error: Name 'mpi_comm' at (1) is an ambiguous reference to 'mpi_comm' from current program unit
accrho.F90:224.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
accrho.F90:7.25:
subroutine accrho(icplexwf,ndat,n1,n2,n3,nd1,nd2,nd3proc,&
1
Error: Name 'mpi_comm' at (1) is an ambiguous reference to 'mpi_comm' from current program unit
make[5]: *** [accrho.o] Error 1
make[5]: *** Waiting for unfinished jobs....
applypot.F90:59.5:
use mpi
1
Error: Name 'mpi_comm' at (1) is an ambiguous reference to 'mpi_comm' from current program unit
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
applypot.F90:7.27:
subroutine applypot(icplexwf,icplex,ndat,n1,n2,n3,nd1,nd2,nd3proc,&
1
Error: Name 'mpi_comm' at (1) is an ambiguous reference to 'mpi_comm' from current program unit
make[5]: *** [applypot.o] Error 1
make[5]: Leaving directory `/home/eyurtese/tmp/abinit-7.2.1/src/52_fft_mpi_noabirule'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/eyurtese/tmp/abinit-7.2.1/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/eyurtese/tmp/abinit-7.2.1'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/eyurtese/tmp/abinit-7.2.1'
make[1]: *** [multi] Error 2
make[1]: Leaving directory `/home/eyurtese/tmp/abinit-7.2.1'
make: *** [mj2] Error 2
-bash-4.1$ mpif90 -v
mpif90 for MVAPICH2 version 1.9b
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/export/modules/compilers/gnu/gcc/4.7.2/libexec/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/export/modules/compilers/gnu/gcc/4.7.2 --enable-languages=c,c++,fortran --disable-multilib --with-pkgversion='Abo Akademi http://www.abo.fi/'
Thread model: posix
gcc version 4.7.2 (Abo Akademi http://www.abo.fi/)
-bash-4.1$
mvapich2 1.9b compilation problem, related to mpich3?
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.
mvapich2 1.9b compilation problem, related to mpich3?
I am getting the following error when compiling with mvapich2 1.9b, please let me know if there is more information I can provide... Thanks! Evren
Re: mvapich2 1.9b compilation problem, related to mpich3?
HI,
can you try with :
see the post :http://forum.abinit.org/viewtopic.php?f=3&t=1990
jmb
can you try with :
Code: Select all
--with-mpi-level=1
see the post :http://forum.abinit.org/viewtopic.php?f=3&t=1990
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist
Re: mvapich2 1.9b compilation problem, related to mpich3?
Hi,
this is resolved by changing all mpi_com by mpicom ( mpi_ is "reserved" for MPI ) in the applypot.F90 and accrho.F90 files ( corrected in 7.3.2 )
no more needed "--with-mpi-level=1"
jmb
this is resolved by changing all mpi_com by mpicom ( mpi_ is "reserved" for MPI ) in the applypot.F90 and accrho.F90 files ( corrected in 7.3.2 )
no more needed "--with-mpi-level=1"
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist