From f1117097dcc0bcb328992b5e3b7eebd76edbd66e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 22 Mar 2013 15:58:20 +0000 Subject: [PATCH] Use the correct data type in MPI communications. git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@28991 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_handler_policy.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/source/dofs/dof_handler_policy.cc b/deal.II/source/dofs/dof_handler_policy.cc index 129df322a5..e4ec539241 100644 --- a/deal.II/source/dofs/dof_handler_policy.cc +++ b/deal.II/source/dofs/dof_handler_policy.cc @@ -1964,9 +1964,9 @@ namespace internal number_cache.n_locally_owned_dofs_per_processor.resize(n_cpus); MPI_Allgather ( &number_cache.n_locally_owned_dofs, - 1, MPI_UNSIGNED, + 1, DEAL_II_DOF_INDEX_MPI_TYPE, &number_cache.n_locally_owned_dofs_per_processor[0], - 1, MPI_UNSIGNED, + 1, DEAL_II_DOF_INDEX_MPI_TYPE, tr->get_communicator()); const dealii::types::global_dof_index @@ -2210,9 +2210,9 @@ namespace internal number_cache.n_locally_owned_dofs_per_processor.resize(n_cpus); MPI_Allgather ( &number_cache.n_locally_owned_dofs, - 1, MPI_UNSIGNED, + 1, DEAL_II_DOF_INDEX_MPI_TYPE, &number_cache.n_locally_owned_dofs_per_processor[0], - 1, MPI_UNSIGNED, + 1, DEAL_II_DOF_INDEX_MPI_TYPE, tr->get_communicator()); const unsigned int -- 2.39.5