mpi4py.MPI.Is_thread_main

mpi4py.MPI.Is_thread_main()

Indicate whether this thread called Init or Init_thread.

Return type:

bool