On 3/14/22 11:24, blais...@gmail.com wrote:
*Users/blaisb/work/candi/trilinos-release-12-18-1/include/Tpetra_Import_def.hpp:1171:24:
**error: **no member named 'bind1st' in namespace 'std'; did you mean
'boost::container::bind1st'?*
std::bind1st (std::equal_to<int> (), -1));
* ^~~~~*
For reference, std::bind1st() is a function that was deprecated with C++11 and
removed with C++17. So if you have a compiler that defaults to C++17, then the
function will no longer exist -- you might want to check what compiler you are
using, and if you can pass -std=c++14 as a flag to "downgrade" it to C++14.
I looked around a little bit, and others have run into similar errors. See
here, for example:
https://github.com/dealii/dealii/issues/6125
On second read, this is actually one of our own github issues :-) But I also
looked into the current Trilinos sources and the file no longer contains the
call to bind1st:
https://github.com/trilinos/Trilinos/blob/master/packages/tpetra/core/src/Tpetra_Import_def.hpp#L1178-L1180
So you might be best served with just using a newer version of Trilinos.
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/4ce0d067-a9f0-9167-82f2-6c9402a06bf3%40colostate.edu.