[MPICH2-dev] [patch] fix crash when using mpid defined collectives

Rajeev Thakur thakur at mcs.anl.gov
Tue Oct 11 11:18:16 CDT 2005


Fixed. Thanks.

Rajeev 

> -----Original Message-----
> From: owner-mpich2-dev at mcs.anl.gov 
> [mailto:owner-mpich2-dev at mcs.anl.gov] On Behalf Of Ashley Pittman
> Sent: Tuesday, October 11, 2005 10:32 AM
> To: Mpich2 Dev
> Subject: [MPICH2-dev] [patch] fix crash when using mpid 
> defined collectives
> 
> 
> This looks like a simple typo, it's was checking for coll_fns->Gather
> but then following coll_fns->Gatherv.
> 
> I needed to make some more changes to the group startup code to enable
> these mpid level collective functions, I should be able to send you a
> patch for this later on in the week.
> 
> Ashley,
> 
> Index: src/mpi/coll/gatherv.c
> ===================================================================
> RCS file: /cvs/master/quadrics/mpi2/mpich2/src/mpi/coll/gatherv.c,v
> retrieving revision 1.1.1.1
> retrieving revision 1.2
> diff -u -3 -p -r1.1.1.1 -r1.2
> --- src/mpi/coll/gatherv.c      3 Mar 2005 15:17:20 -0000     
>   1.1.1.1
> +++ src/mpi/coll/gatherv.c      4 Jul 2005 17:25:03 -0000       1.2
> @@ -310,7 +310,7 @@ int MPI_Gatherv(void *sendbuf, int sendc
> 
>      /* ... body of routine ...  */
> 
> -    if (comm_ptr->coll_fns != NULL && comm_ptr->coll_fns->Gather !=
> NULL)
> +    if (comm_ptr->coll_fns != NULL && comm_ptr->coll_fns->Gatherv !=
> NULL)
>      {
>         mpi_errno = comm_ptr->coll_fns->Gatherv(sendbuf, sendcnt,
>                                                  sendtype, recvbuf,
> recvcnts,
> 
> 




More information about the mpich2-dev mailing list