[mpich-discuss] Error with MPMD using MPE
Edward Smith
edwardsmith999 at hotmail.com
Sat Nov 10 18:35:54 CST 2012
Hi, I hope you can help me. I have a problem using mpe logging with an mpmd job in fortran. With the following two routines using duplicate comms,
!-----------------------------------------------------
program a
use mpi
implicit none
integer :: ierr, dup_COMM
call MPI_init(ierr)
call MPI_COMM_dup(MPI_COMM_WORLD,dup_COMM,ierr)
call MPI_finalize(ierr)
end program a
!-----------------------------------------------------
program b
use mpi
implicit none
integer :: ierr, dup_COMM, rank, rankdup
call MPI_init(ierr)
call MPI_COMM_dup(MPI_COMM_WORLD,dup_COMM,ierr)
call MPI_finalize(ierr)
end program b
Compiled using:
mpif90 -mpe=mpilog -o a.exe a.f90
mpif90 -mpe=mpilog -o b.exe b.f90
Run using:
mpiexec -n 3 ./b.exe : -n 3 ./a.exe
The error returned is:
Fatal error in PMPI_Comm_dup: Other MPI error, error stack:
PMPI_Comm_dup(175)..................: MPI_Comm_dup(MPI_COMM_WORLD, new_comm=0x7fffd3ed9c8c) failed
PMPI_Comm_dup(160)..................:
MPIR_Comm_dup_impl(55)..............:
MPIR_Comm_copy(1500)................:
MPIR_Get_contextid(743).............:
MPIR_Get_contextid_sparse_group(999):
MPIR_Allreduce_impl(719)............:
MPIR_Allreduce_intra(212)...........:
MPIR_Bcast_impl(1369)...............:
MPIR_Bcast_intra(1199)..............:
MPIR_Bcast_binomial(160)............: message sizes do not match across processes in the collective routine: Received 4 but expected 256
Should it be possible to use mpe for an mpmd case?
Thanks
Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20121111/0e2f3f8a/attachment.html>
More information about the mpich-discuss
mailing list