Commit 452e41e6 authored by incardon's avatar incardon

Fixing mac OSX

parent cfd7dc60
......@@ -150,6 +150,7 @@ public:
// Check if MPI is already initialized
if (global_mpi_init == false)
{
MPI_Init(argc,argv);
global_mpi_init = true;
}
......
......@@ -511,7 +511,7 @@ template<typename T> void test_send_recv_primitives(size_t n, Vcluster & vcl)
{
T pt = pt_buf.get(i).get(j);
size_t p_recv = mod( (vcl.getProcessUnitID() - i * P_STRIDE), vcl.getProcessingUnits());
T p_recv = mod( (vcl.getProcessUnitID() - i * P_STRIDE), vcl.getProcessingUnits());
BOOST_REQUIRE_EQUAL(pt,p_recv);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment