lanl / PENNANT

Unstructured mesh hydrodynamics for advanced architectures
Other
20 stars 30 forks source link

MPI+OpenMP should use MPI_Init_thread #4

Open omor1 opened 5 years ago

omor1 commented 5 years ago

Initializing MPI by calling MPI_Init rather than MPI_Init_thread requires that the process be single-threaded (it is exactly equivalent to supplying MPI_THREAD_SINGLE to the latter function). This is vaguely alluded to in #2 by @jeffhammond.