From: martial.michel@nist.gov (Martial MICHEL)
Newsgroups: comp.parallel.mpi
Subject: Blocking wait on fd and MPI ?
Date: 28 Jun 1999 20:58:49 GMT
Organization: National Institute of Standards and Technology
Message-Id: <slrn7nfp37.6a8l.martial.michel@miyu.cam.nist.gov>
Reply-To: martial.michel@nist.gov, galibert@nist.gov
User-Agent: slrn/0.9.5.4 (UNIX)
Xref: ukc comp.parallel.mpi:5256


	Hi,

	This question is related to the use of MPI and file descriptor.

	The problem is  that a  server  is MPI aware, but  its clients
(dynamically created) are not, so it communicate  with the server by a
file  descriptor (fd). Ideally,  the server side  should be waiting on
MPI messages using such techniques as MPI_WaitSome; but should also be
able to wait on fd, and act when either one is received. Problem being
that if stuck in MPI_WaitSome, we can not  check the fd. For processor
performance reasons,  we are  not willing  to do  some busy  wait (non
blocking check of MPI messages).

	Is  there       a   simple/hard    way     to    solve    this
communication/multiplexing problem ?

							Sincerly,

PS : An e-mail copy of answers would be appreciated.

-- 
  Martial MICHEL
Guest Researcher at the National Institute of Standards and Technology
E-mail : martial.michel@nist.gov
Phone  : (301) 975 3866 (Maryland, USA)

