Commit 0d950403 authored by Jan Oliver Oelerich's avatar Jan Oliver Oelerich

Fixed a bug where MPI parallelization crashed reading COM data.

parent 69aea9f0
......@@ -819,7 +819,7 @@ void IO::copyFromTemporaryFile(const shared_ptr<GridManager> &gridman,
tmpfile.read(reinterpret_cast<char *>(combuf->ptr(com_entry)), com_entry.byte_size());
p.storeCOM(com_entry);
writeCOM(idefocus, iconf, gridman, p, combuf, comv);
p.clearCOM(ibuf);
p.clearCOM(combuf);
auto &entry = ibuf->add_empty();
tmpfile.read(reinterpret_cast<char *>(ibuf->ptr(entry)), entry.byte_size());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment