From fd45714c03228d3db50091c7e91ce0296bc00dcb Mon Sep 17 00:00:00 2001 From: Josh Hursey Date: Wed, 28 Sep 2005 22:30:41 +0000 Subject: [PATCH] For some reason we have to initialize this variable or bad things happen in the comm->c_coll.coll_bcast of the rnamebuflen. This fixes the threaded MPI 2 Dynamics stuff. Should be working great now! Yay! This commit was SVN r7537. --- ompi/communicator/comm_dyn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/communicator/comm_dyn.c b/ompi/communicator/comm_dyn.c index 4239ef53da..7322f3219d 100644 --- a/ompi/communicator/comm_dyn.c +++ b/ompi/communicator/comm_dyn.c @@ -52,7 +52,7 @@ int ompi_comm_connect_accept ( ompi_communicator_t *comm, int root, { int size, rsize, rank, rc; size_t num_vals; - size_t rnamebuflen; + size_t rnamebuflen = 0; void *rnamebuf=NULL; ompi_communicator_t *newcomp=MPI_COMM_NULL;