Comment 1 for bug 475222

Revision history for this message
Matthias Heil (m-heil) wrote :

Just to confirm that this is not just a GROMACS problem (whatever
GROMACS is). I have exactly the same problem with a stand-alone
mpi test code that is used as part of oomph-lib to check if
mpi is working

   Matthias

Here's the test code in its entirety:

#include<iostream>

#include "mpi.h"

//========================================================================
/// Minimal mpi self test
//========================================================================
int main(int argc, char **argv)
{

 int myid, numprocs;

 MPI_Init(&argc,&argv);
 MPI_Comm_size(MPI_COMM_WORLD,&numprocs);
 MPI_Comm_rank(MPI_COMM_WORLD,&myid);

 MPI_Finalize();

 std::cout << "This worked" << std::endl;

} //end of main