[mpiwg-tools] Questions on MPI_T_init_thread

Junchao Zhang jczhang at mcs.anl.gov
Mon Oct 14 17:46:12 CDT 2013


Hello,
  I have some questions on MPI_T_init_thread, which are unclear in the
Standard.
 1) Must MPI_T_init_thread() be called in programs before using MPI_T?
 2) Must MPI_T_init_thread() be only called by the main thread?
 3) Is it wrong to do
     MPI_T_init_thread(MPI_THREAD_SINGLE, &provided);
     MPI_Init_thread(LEVEL_HIGHER_THAN_SINGLE, &provided);

    or vice versa,

     MPI_Init_thread(MPI_THREAD_SINGLE, &provided);
     MPI_T_init_thread(LEVEL_HIGHER_THAN_SINGLE, &provided);

    Thanks.

--Junchao Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-tools/attachments/20131014/5070041c/attachment.html>


More information about the mpiwg-tools mailing list