Amesos Package Browser (Single Doxygen Collection)
Development
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
example
a_trivial_mpi_test.cpp
Go to the documentation of this file.
1
#include <iostream>
2
#include <mpi.h>
3
4
int
5
main
(
int
argc,
char
*argv[])
6
{
7
MPI_Init(&argc, &argv);
// MPI_Init(argc,argv) won't compile on IRIX64 - see bug #1885
8
9
std::cout <<
"Hello World! MPI works"
<< std::endl ;
10
11
MPI_Finalize();
12
return
0;
13
}
main
int main(int argc, char *argv[])
Definition:
a_trivial_mpi_test.cpp:5
Generated by
1.8.5