Newsgroups: comp.parallel.mpi
From: Raffaele Sgherri <meta@calpar.cnuce.cnr.it>
Subject: MPI detach after a fork()
Organization: CNUCE-CNR, Pisa Italy
Date: Mon, 23 Jun 1997 19:25:06 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <33AEB172.143E@calpar.cnuce.cnr.it>

Hi.

I've a question for toy gurus ;)

I'm writing a C program in MPI, and need to:

1) make a fork()
2) detach the SON process from MPI, but RETAIN the FATER proces in MPI.

My question is: if I make a fork() and after call a MPI_Finalize(), the
FATER process retain
his original rank, so that other MPI process see him, but don't see his
SON ? Or the MPI_Finalize will detach even the FATER process from MPI,
releasing his rank ?

To get this, in PVM I need to call pvmendtask() instead of the standard
pvm_exit(), so I've tough that even in MPI some similar problems will
arise...

-- 
   /| /|+-----+--|\     Raffaele Sgherri
  / |/ ||__   |  | \    CNUCE-CNR  Parallel Processing Lab
 /     ||     |  |__\   Addr:   Via S. Maria, 36, I-56100, Pisa, Italy
/      |+---  |  |   \  E-mail: meta@calpar.cnuce.cnr.it

