MPI_first_template
Functions
greetings.h File Reference
#include <mpi.h>

Go to the source code of this file.

Functions

void greetings (MPI_Comm const &icomm)
 
void greetings_cpp (MPI_Comm const &icomm)
 

Function Documentation

◆ greetings()

void greetings ( MPI_Comm const &  icomm)

Each process finds out its host, sends this information to root process 0 which prints this information for each process.

Parameters
[in]icommthe MPI process group that is used.

Definition at line 12 of file greetings.cpp.

◆ greetings_cpp()

void greetings_cpp ( MPI_Comm const &  icomm)

Definition at line 50 of file greetings.cpp.