39 int main(
int argc,
char* argv[] )
46 MPI_Init (&argc, &argv);
47 MPI_Comm_rank( MPI_COMM_WORLD, &procRank );
50 std::string printMsg =
"";
55 returnVal = std::atoi(argv[2]);
57 if (printMsg.length() && procRank==0)
58 std::cout <<
"\n" << printMsg <<
"\n";
62 std::cout <<
"\nEnd Result: TEST PASSED" << std::endl;
64 std::cout <<
"\nEnd Result: TEST FAILED" << std::endl;
int main(int argc, char **argv)