Click or drag to resize

MPIMPI_Init_thread Method

Initializes the MPI library with thread support. This operation subsumes MPI_Init(Int32, Byte**). See [!:MPI.Environment(ref string[], MPI.Threading)].

Namespace:  DHI.MPI
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static int MPI_Init_thread(
	ref int argc,
	ref byte** argv,
	int required,
	out int provided
)

Parameters

argc
Type: SystemInt32
Pointer to the number of arguments passed on the command line.
argv
Type: SystemByte**
Pointer to the command-line arguments (array of C-style strings).
required
Type: SystemInt32
The threading level required by the caller, which must be one of the MPI_THREAD_* constants.
provided
Type: SystemInt32
Returns the actual threading level that the MPI implementation is providing, which will be one of the MPI_THREAD_* constants.

Return Value

Type: Int32
See Also