Re: [OMPI users] Regarding the Pthreads

2012-09-06 Thread Jeff Squyres
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

[OMPI users] Regarding the Pthreads

2012-09-05 Thread seshendra seshu
Hi, I am learning pthreads and trying to implement the pthreads in my quicksortprogram. 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