Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI devel] [PATCH]Segmentation Fault occurs when the function called from MPI_Comm_spawn_multiple fails
From: Ralph Castain (rhc_at_[hidden])
Date: 2012-02-09 11:00:52


Thanks! I added the patch to the trunk and submitted it for the 1.6 update.

On Feb 8, 2012, at 10:20 PM, Y.MATSUMOTO wrote:

> Dear All,
>
> Next feedback is "MPI_Comm_spawn_multiple".
>
> When the function called from MPI_Comm_spawn_multiple failed,
> Segmentation fault occurs.
> In that condition, "newcomp" sets NULL.
> But member of "newcomp" is referred at following part.
> (ompi/mpi/c/comm_spawn_multiple.c)
> 176 /* set array of errorcodes */
> 177 if (MPI_ERRCODES_IGNORE != array_of_errcodes) {
> 178 for ( i=0; i < newcomp->c_remote_group->grp_proc_count; i++ ) {
> 179 array_of_errcodes[i]=rc;
> 180 }
> 181 }
> Attached patch fixes it. (Patch is for V1.4.x).
>
> Best regards,
> Yuki MATSUMOTO
> MPI development team,
> Fujitsu
>
> <comm_spawn_multi.patch>_______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel