LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Ryan Davies (rdavi078_at_[hidden])
Date: 2004-11-12 10:55:55


Hello,

I know that there are dire warnings against the use of LAM library calls in
multiple concurrent threads. However, I was wondering if it is at all
possible to implement threads such that one thread is constantly posting
Irecv and Waitany, and another posts the occasional Send.

I am trying to improve the traditional Manager/Worker model to include
distributed dynamic load balancing. Of course, for the system to be
properly "distributed", each worker process needs to listen for arbitrary
incoming requests from its peers and act on such requests immediately. In
my mind, threads would be ideal for this solution. Am I on the wrong track?
Are there any resources relevant to this problem that I should know about?

Thank you,

--
Ryan