Newsgroups: comp.parallel.mpi
From: "Michael Y. Osipov" <mike@vniief.ru>
Reply-To: "Victor V. Shumilin" <Victor_Shumilin@rstl.rfnc.nnov.su>
Subject: MPI_Comm_free?
Organization: RFNC-VNIIEF
Date: Tue, 24 Dec 1996 13:10:56 +0300
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Message-ID: <32BFAC30.4D08@vniief.ru>

I has a question about MPI_Comm_free. How it work for MPI_COMM_NULL?
If it erroneous as for all other functions it not convenience.

MPI_Comm_create(comm, subgroup, &subcomm);
....
/* some actions */
....
MPI_Comm_free(subcomm);

I must call MPI_Comm_create for on all members of comm, but
MPI_Comm_free
only for members of subgoup, or I am not right?

Thanks. Victor.

