Your question is somewhat outside the scope of this list.  Perhaps people may 
chime in with some suggestions, but that's more of a threading question than an 
MPI question.

Be warned that you need to call MPI_Init_thread (not MPI_Init) with 
MPI_THREAD_MULTIPLE in order to get true multi-threaded support in Open MPI.  
And we only support that on the TCP and shared memory transports if you built 
Open MPI with threading support enabled.


On Sep 5, 2012, at 2:23 PM, seshendra seshu wrote:

> Hi,
> I am learning pthreads and trying to implement the pthreads in my quicksort 
> program. 
> My problem is iam unable to understand how to implement the pthreads at data 
> received at a node from the master (In detail: In my program Master will 
> divide the data and send to the slaves and each slave will do the sorting 
> independently of The received data and send back to master after sorting is 
> done. Now Iam having a problem in Implementing the pthreads at the slaves,i.e 
> how to implement the pthreads in order to share data among the cores in each 
> slave and sort the data and send it back to master. 
> So could anyone help in solving this problem by providing some suggestions 
> and clues.
> 
> Thanking you very much.  
> 
> -- 
>  WITH REGARDS
> M.L.N.Seshendra
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to