Amesos Package Browser (Single Doxygen Collection) Development
a_trivial_mpi_test.cpp
Go to the documentation of this file.
00001 #include <iostream>
00002 #include <mpi.h>
00003 
00004 int
00005 main(int argc, char *argv[])
00006 {
00007   MPI_Init(&argc, &argv);  // MPI_Init(argc,argv) won't compile on IRIX64 - see bug #1885
00008   
00009   std::cout << "Hello World! MPI works"  << std::endl ; 
00010   
00011   MPI_Finalize();
00012   return 0;
00013 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines