[Pympi-users] pyMPI + threading
Status: Alpha
Brought to you by:
patmiller
From: Vinicius P. <vpe...@ic...> - 2006-11-16 23:31:05
|
Hi all! pyMPI with threading support works alright? is it stable? with open mpi for example... is it possible to use MPI_THREAD_MULTIPLE... or what ? is there any limitation? if not, could you send me some tips on how to use python + mpi + threading in a safe manner? or some examples? any experience in this issue is worth. I was thinking about some design decision: * use a Lock to provide exclusive access to mpi functions * 1 thread in loop, executing "req = irecv()" and when some msg with a type of TAG is available, it calls an appropriate function. it can use some send functions inside too. * other thread making some send calls... what common mistakes should I avoid? thanks in advance! -- Vinicius Tavares Petrucci home page: http://www.ic.uff.br/~vpetrucci |