MPI_first_template
|
#include "greetings.h"
#include <cassert>
#include <cstring>
#include <iostream>
#include <mpi.h>
#include <string>
Go to the source code of this file.
Functions | |
void | greetings (MPI_Comm const &icomm) |
void | greetings_cpp (MPI_Comm const &icomm) |
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.
[in] | icomm | the MPI process group that is used. |
Definition at line 12 of file greetings.cpp.
void greetings_cpp | ( | MPI_Comm const & | icomm | ) |
Definition at line 50 of file greetings.cpp.