Newsgroups: comp.parallel.mpi
From: impellus@ames.ucsd.edu (Tom Impelluso)
Subject: graceful death
Organization: UC San Diego, AMES Department
Date: 30 Jul 1996 00:12:01 GMT
Message-ID: <4tjk0h$b2n@soenews.ucsd.edu>

Hello

I have a code which uses a group of processors on the T3D.
Processor 0 will open a socket, listen, and distribute the data.

When the read fails (i.e. when the remote client fails), 
I want that processor -- processor 0 -- to die.
This I can do.
However, I also want the others to die also.

At this time, the only way to do this is to perform BCASTS
after EACH read, and the number being BCAST is a flag signifying
what the processor should do: continue on, or die.

This is a waste of time.
I do not want to do that BCAST if the read was successful.
That is easy (requiring only an if test) in processor 0.
However, how can I alert the others?

Is there a way that the other processors can die once they notice
the death of the leader, without having a message send on each
cycle of the T3D server?

Thanks,
Tom

