Skip to content
Snippets Groups Projects
Commit e4254467 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Make very few clean-up

parent e09d3319
No related branches found
No related tags found
1 merge request!11Feature/mpi
......@@ -20,10 +20,6 @@ Array<int> Partitioner::partition(const CSRGraph& graph)
<< rang::style::bold << commSize() << rang::style::reset
<< " parts\n";
MPI_Comm mpi_comm_;
MPI_Comm_dup(MPI_COMM_WORLD, &mpi_comm_);
MPI_Comm* mpi_comm = & mpi_comm_;
int wgtflag = 0;
int numflag = 0;
int ncon = 1;
......@@ -67,8 +63,12 @@ Array<int> Partitioner::partition(const CSRGraph& graph)
perr() << "Metis Error\n";
std::exit(1);
}
MPI_Comm_free(&parmetis_comm);
}
MPI_Group_free(&mesh_group);
return part;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment