MPI_Comm_get_name

Return the print name from the communicator.

📝 Syntax

  • MPI_Comm_get_name(comm)

📥 Input argument

  • comm - a handle: a MPI_Comm object.

📄 Description

MPI_Comm_get_name(comm) returns the print name from the communicator.

💡 Example

CLI required


if ~MPI_Initialized()
  MPI_Init();
end
comm = MPI_Comm_object();
MPI_Comm_get_name(comm)
delete(comm)
if MPI_Initialized()
  MPI_Finalize();
end

🔗 See also

MPI_Comm_object.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?