Skip to content

Commit

Permalink
Allow multiple threads with MPI in hierarchy_driver
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed May 30, 2019
1 parent ae9447f commit 87c2258
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/hierarchy_driver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ int main(int argc, char *argv[])
{
namespace boost_po = boost::program_options;

MPI_Init(&argc, &argv);
dealii::MultithreadInfo::set_thread_limit(1);
dealii::Utilities::MPI::MPI_InitFinalize mpi_init(argc, argv);

boost_po::options_description cmd("Available options");
cmd.add_options()("help,h", "produce help message");
Expand Down Expand Up @@ -369,7 +368,5 @@ int main(int argc, char *argv[])
matrix_based_two_grids<3>(params);
}

MPI_Finalize();

return 0;
}

0 comments on commit 87c2258

Please sign in to comment.