Skip to content
Snippets Groups Projects
Commit b9e7cd4d authored by Ruonan Wang's avatar Ruonan Wang
Browse files

changed vector<size_t> to Dims

parent 431c6172
No related branches found
No related tags found
1 merge request!223fixed a size_t / uint64_t problem for macOS 10.12 and Clang 8.1.0
......@@ -95,8 +95,8 @@ int main(int argc, char *argv[])
// 1D decomposition of the columns, which is inefficient for reading!
std::vector<uint64_t> readsize({gndx, gndy / nproc});
std::vector<uint64_t> offset({0LL, rank * readsize[1]});
std::vector<size_t> readsize_size_t({gndx, gndy / nproc});
std::vector<size_t> offset_size_t({0LL, rank * readsize[1]});
adios2::Dims readsize_size_t({gndx, gndy / nproc});
adios2::Dims offset_size_t({0LL, rank * readsize[1]});
if (rank == nproc - 1)
{
// last process should read all the rest of columns
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment