#include <mpi.h>
using namespace std;

int main(int argc, char *argv[])
{
  MPI::Init ( argc, argv );
  int mpi_size = MPI::COMM_WORLD.Get_size ( );
  int my_rank = MPI::COMM_WORLD.Get_rank ( );
  cout<<"Hello world from core "<<my_rank<<endl;
  MPI::Finalize ( );
  return 0;
}
