mvapich2 1.9b compilation problem, related to mpich3?
Posted: Wed Apr 03, 2013 7:22 pm
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
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$