Re: [OMPI users] Using Boost::Thread for multithreading within OpenMPI processes

2013-04-24 Thread Thomas Watson
Thanks Jeff! That's very helpful. Cheers! Jacky On Wed, Apr 24, 2013 at 10:56 AM, Jeff Squyres (jsquyres) < jsquy...@cisco.com> wrote: > On Apr 24, 2013, at 10:24 AM, Thomas Watson > wrote: > > > I still have a couple of questions to ask: > > > > 1. In both MPI_THREAD_FUNNELED and MPI_THREAD_

Re: [OMPI users] Using Boost::Thread for multithreading within OpenMPI processes

2013-04-24 Thread Jeff Squyres (jsquyres)
On Apr 24, 2013, at 10:24 AM, Thomas Watson wrote: > I still have a couple of questions to ask: > > 1. In both MPI_THREAD_FUNNELED and MPI_THREAD_SERIALIZED modes, the MPI calls > are serialized at only one thread (in the former case, only the rank main > thread can make MPI calls, while in th

Re: [OMPI users] Using Boost::Thread for multithreading within OpenMPI processes

2013-04-24 Thread Thomas Watson
Hi Nick, Thanks for your detailed info. In my case, I expect to spawn multiple threads from each MPI process. I could use MPI_THREAD_FUNNELED or MPI_THREAD_SERIALIZED to do so - I think MPI_THREAD_MULTIPLE is not supported on InfiniBand, which I am using. Currently, I use OpenMPI + Boost::Thread -

Re: [OMPI users] Using Boost::Thread for multithreading within OpenMPI processes

2013-04-23 Thread Nick Edmonds
Hi Jacky, I'm a regular reader of this list but seldom a poster. In this case however I might actually be qualified to answer some questions or provide some insight given I'm not sure how many other folks here use Boost.Thread. The first question is really what sort of threading model you wan

[OMPI users] Using Boost::Thread for multithreading within OpenMPI processes

2013-04-22 Thread Thomas Watson
Hi, I would like to create a pool of threads (using Boost::Thread) within each OpenMPI process to accelerate my application on multicore CPUs. My application is already built on OpenMPI, but it currently exploits parallelism only at the process level. I am wondering if anyone can point me to some