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

Rajeev Thakur thakur at mcs.anl.gov
Fri May 30 12:26:11 CDT 2014


It shouldn't, but what does it return in your program?

Rajeev

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

> 
> On Friday, May 30, 2014 11:22 AM, discuss-bounces at mpich.org [discuss-bounces at mpich.org] on behalf of Rajeev Thakur [thakur at mcs.anl.gov] wrote:
>> To: discuss at mpich.org
>> Subject: Re: [mpich-discuss] What is the difference between     MPI_THREAD_SINGLE and MPI_THREAD_FUNNELED
>> 
>> You should use MPI_THREAD_FUNNELED. MPI_THREAD_SINGLE should be used if your program has one thread total.
> 
> Is it possible with MPICH that 
> MPI_Init_thread(&argc, &argv, MPI_THREAD_FUNNELED, &provided)
> sets provided to MPI_THREAD_SINGLE ?
> 
> 
> Thanks
> 
>> 
>> Rajeev
>> 
>> 
>> 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
>> 
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
> _______________________________________________
> 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