Commit 709a4c33 authored by Kirill Terekhov's avatar Kirill Terekhov

Allow mesh to be used on local communicator

parent 8d964082
......@@ -663,7 +663,7 @@ namespace INMOST
comm = _comm;
{
INMOST_DATA_BIG_ENUM_TYPE t = pmid;
REPORT_MPI(MPI_Allreduce(&t,&parallel_mesh_unique_id,1,INMOST_MPI_DATA_BIG_ENUM_TYPE,MPI_MAX,MPI_COMM_WORLD));
REPORT_MPI(MPI_Allreduce(&t,&parallel_mesh_unique_id,1,INMOST_MPI_DATA_BIG_ENUM_TYPE,MPI_MAX,comm));
pmid = parallel_mesh_unique_id+1;
}
m_state = Mesh::Parallel;
......
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