blob: 199d9134366343c310243c4e5287a2d135e0f133 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <mpi.h>
#include <stdio.h>
int main(int argc, char **argv)
{
MPI::Init(argc, argv);
if (!MPI::Is_initialized()) {
printf("MPI did not initialize!\n");
return 1;
}
MPI::Finalize();
}
|