MPI_Get_processor_name
Gets the name of the processor.
📝Syntax
[name, namelen, info] = MPI_Get_processor_name()
📤Output Arguments
Parameter Description
name a string: name of the processor that is using MPI.
namelen an integer value: Length (in characters) of the name.
info an integer value: 0 MPI_SUCCESS, 16 MPI_ERR_OTHER.
📄Description

This function get the name of the processor that is using MPI.

💡Examples
if ~MPI_Initialized()
  MPI_Init();
end
[name, len, info] = MPI_Get_processor_name()
if MPI_Initialized()
  MPI_Finalize();
end
🔗See Also
MPI_Init
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub