[mpich-discuss] What is the difference between MPI_THREAD_SINGLE and MPI_THREAD_FUNNELED

Rajeev Thakur thakur at mcs.anl.gov
Fri May 30 11:22:00 CDT 2014

You should use MPI_THREAD_FUNNELED. MPI_THREAD_SINGLE should be used if your program has one thread total.


On May 30, 2014, at 10:49 AM, "Boisvert, Sebastien" <boisvert at anl.gov> wrote:

> Hi MPICH community:
> With MPICH, if my MPI process has 10 threads (including the main thread) and only the main thread
> calls MPI functions, do I need to use MPI_THREAD_SINGLE or MPI_THREAD_FUNNELED 
> when I invoke MPI_Init_thread ?
> Thanks a ton !
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

More information about the discuss mailing list