[mpich-discuss] Checking level of thread support

Jim Dinan dinan at mcs.anl.gov
Tue Mar 19 09:55:39 CDT 2013


Hi Mattieu,

MPI_Query_thread() can tell you this.

  ~Jim.

On 3/19/13 9:47 AM, Matthieu Dorier wrote:
> Hi,
>
> I'm coding a library that can use threads in conjunction with MPI. I'd
> like to know if there is a way to check that the application using the
> library has called MPI_Init_thread with the proper level of thread
> support, in order to select if the library can or cannot use threads?
>
> Thanks,
>
> Matthieu Dorier
> PhD student at ENS Cachan Brittany and IRISA
> http://people.irisa.fr/Matthieu.Dorier
>
>
> _______________________________________________
> 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