From: bangerth Date: Fri, 22 Mar 2013 15:58:20 +0000 (+0000) Subject: Use the correct data type in MPI communications. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58be1f80fb9ca855417ff43bd83dacec5615872c;p=dealii-svn.git 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 --- 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