[mpich-discuss] Error with MPMD using MPE

Anthony Chan chan at mcs.anl.gov
Sun Nov 11 21:23:15 CST 2012


Does the same MPMD program work without MPE ?

----- Original Message -----
> 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
> 
> 
> _______________________________________________
> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list