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

Retrieve the name of the processor or compute node that is currently executing. See ProcessorName.

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

Syntax

C#
public static int MPI_Get_processor_name(
	byte[] name,
	ref int len
)
Visual Basic (Declaration)
Public Shared Function MPI_Get_processor_name ( _
	name As Byte(), _
	ByRef len As Integer _
) As Integer
Visual C++
public:
static int MPI_Get_processor_name(
	array<unsigned char>^ name, 
	int% len
)

Parameters

name
Type: array< System..::.Byte >[]()[]
Pointer to an array of bytes that will, on return, contain the name of the currenly executing processor. If the processor name requires more than *len ASCII characters, only the first *len characters will be written. To be sure that you will always get the full processor name, name should refer to at least MPI_MAX_PROCESSOR_NAME characters.
len
Type: System..::.Int32 %
A pointer to the number of bytes in the processor name. On input, this is the number of bytes that name refers to. When this function returns, this will point to the number of bytes in the actual name.

See Also