On 3/2/22 19:52, Daniel Sun wrote:
I have tried both (removing the "template" keywords
and changing the definition to "const int dim"). Same errors occur.
When i go to the definition of /cell->id()/, 2
matches found: class std::locale::id and class std::thread::id. Is that
possible cause of not finding the right function. Could please give me
further suggestions on this since i have not much experience on this and
C++ coding.
As far as i know, the answer is no for MS-MPI. As
for intel MPI library, it supports MPI-3.0 standard but i have not used it.
Daniel,
your email ended up in my spam folder. I'm sorry for the late reply.
Can you try whether the following works for you instead of the original
code?
OLD:
process_cells([&](const auto &cell, const auto key) {
if (cell_filter(cell))
neighbor_cell_list[key].emplace_back(
cell->id().template to_binary<spacedim>());
});
NEW:
process_cells([&](const auto &cell, const auto key) {
if (cell_filter(cell))
{
const auto id = cell->id();
neighbor_cell_list[key].emplace_back(
id.to_binary<spacedim>());
});
I don't know what to suggest about the MPI issue. MPI 3.0 was release in
September 2012, nearly ten years ago. We decided that that is long
enough ago that we can expect every reasonable platform to have an
implementation that supports it.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/c13d583c-865f-116a-d00a-ccc4fe36b8c4%40colostate.edu.