Re: [Pympi-users] pyMPI + threading
Status: Alpha
Brought to you by:
patmiller
From: Julian C. <jul...@ya...> - 2006-11-17 00:12:58
|
I think one of the major issues here is python itself. Are you thinking=0Ao= f using threads within python? Python itself has an interpreter lock=0Athat= effectively prevents python threads executing simultaneously (you=0Amay al= ready be aware of this).=0A=0APat Miller would be better qualified to comme= nt on the availablity of MPI_THREAD_MULTIPLE itself.=0A=0Aregards=0A=0AJuli= an Cook=0A=0A=0A----- Original Message ----=0AFrom: Vinicius Petrucci <vpet= ru...@ic...>=0ATo: pym...@li...=0ASent: Thursday, = November 16, 2006 6:30:54 PM=0ASubject: [Pympi-users] pyMPI + threading=0A= =0AHi all!=0A=0ApyMPI with threading support works alright? is it stable? w= ith open=0Ampi for example...=0A=0Ais it possible to use MPI_THREAD_MULTIPL= E... or what ? is there any limitation?=0A=0Aif not, could you send me some= tips on how to use python + mpi +=0Athreading in a safe manner? or some ex= amples? any experience in this=0Aissue is worth.=0A=0AI was thinking about = some design decision:=0A* use a Lock to provide exclusive access to mpi fun= ctions=0A* 1 thread in loop, executing "req =3D irecv()" and when some msg = with a=0Atype of TAG is available, it calls an appropriate function. it can= use=0Asome send functions inside too.=0A* other thread making some send ca= lls...=0A=0Awhat common mistakes should I avoid?=0A=0Athanks in advance!=0A= =0A=0A-- =0AVinicius Tavares Petrucci=0Ahome page: http://www.ic.uff.br/~vp= etrucci=0A=0A--------------------------------------------------------------= -----------=0ATake Surveys. Earn Cash. Influence the Future of IT=0AJoin So= urceForge.net's Techsay panel and you'll get the chance to share your=0Aopi= nions on IT & business topics through brief surveys - and earn cash=0Ahttp:= //www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV= =0A_______________________________________________=0APympi-users mailing li= st=0AP...@li...=0Ahttps://lists.sourceforge.net/list= s/listinfo/pympi-users=0A=0A=0A=0A=0A=0A=0A=0A =0A_________________________= ___________________________________________________________=0ASponsored Lin= k=0A=0AMortgage rates near 39yr lows. =0A$310k for $999/mo. Calculate new p= ayment! =0Awww.LowerMyBills.com/lre |