From 8529333321c2d31ddd9c9ca0c0bc17c86247a28b Mon Sep 17 00:00:00 2001 From: Sean Ingimarson Date: Wed, 9 Mar 2022 13:20:31 -0500 Subject: [PATCH] Changing data types for more storage --- source/base/data_out_base.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 34c6bad845..290a0ecc86 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -8230,7 +8230,7 @@ DataOutBase::write_hdf5_parallel( hid_t pt_data_dataspace, pt_data_dataset, pt_data_file_dataspace, pt_data_memory_dataspace; herr_t status; - unsigned int local_node_cell_count[2]; + std::uint64_t local_node_cell_count[2]; hsize_t count[2], offset[2], node_ds_dim[2], cell_ds_dim[2]; std::vector node_data_vec; std::vector cell_data_vec; @@ -8264,21 +8264,21 @@ DataOutBase::write_hdf5_parallel( // Compute the global total number of nodes/cells and determine the offset of // the data for this process - unsigned int global_node_cell_count[2] = {0, 0}; - unsigned int global_node_cell_offsets[2] = {0, 0}; + std::uint64_t global_node_cell_count[2] = {0, 0}; + std::uint64_t global_node_cell_offsets[2] = {0, 0}; # ifdef DEAL_II_WITH_MPI ierr = MPI_Allreduce(local_node_cell_count, global_node_cell_count, 2, - MPI_UNSIGNED, + MPI_UINT64_T, MPI_SUM, comm); AssertThrowMPI(ierr); ierr = MPI_Exscan(local_node_cell_count, global_node_cell_offsets, 2, - MPI_UNSIGNED, + MPI_UINT64_T, MPI_SUM, comm); AssertThrowMPI(ierr); -- 2.39.5