[This is preliminary documentation and is subject to change.]

Initializes the MPI library with thread support. This operation subsumes MPI_Init(Int32%, Byte**%). See Environment(array<String>[]()[]%, Threading).

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)

Syntax

C#
public static int MPI_Init_thread(
	ref int argc,
	ref byte** argv,
	int required,
	out int provided
)
Visual Basic (Declaration)
Public Shared Function MPI_Init_thread ( _
	ByRef argc As Integer, _
	ByRef argv As Byte**, _
	required As Integer, _
	<OutAttribute> ByRef provided As Integer _
) As Integer
Visual C++
public:
static int MPI_Init_thread(
	int% argc, 
	unsigned char**% argv, 
	int required, 
	[OutAttribute] int% provided
)

Parameters

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

See Also