Re: [deal.II] Error when compiling a deal.II app using Trilinos on Apple M1

2022-03-15 Thread blais...@gmail.com
Ohh but that explains everything. In the application that I am trying to compile we set the standard to CXX17 hence it must be forcing the compiler to do so. Everything is clear with this. Thank you so much :)! Again, amazing work on the whole candi endeavour. On Tuesday, March 15, 2022 at 7:42

Re: [deal.II] Error when compiling a deal.II app using Trilinos on Apple M1

2022-03-15 Thread Wolfgang Bangerth
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 (), -1));

Re: [deal.II] Error when compiling a deal.II app using Trilinos on Apple M1

2022-03-15 Thread Wolfgang Bangerth
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 (), -1));

Re: [deal.II] Error when compiling a deal.II app using Trilinos on Apple M1

2022-03-15 Thread Timo Heister
What program causes the error? Can you post the complete error output? Updating might help, yes. std::bind1st was removed in c++17 and so trilinos needs to be updated. On Tue, Mar 15, 2022 at 10:58 AM blais...@gmail.com wrote: > > Still can't get it to work. It seems to be related to a specific

Re: [deal.II] Error when compiling a deal.II app using Trilinos on Apple M1

2022-03-15 Thread blais...@gmail.com
Still can't get it to work. It seems to be related to a specific Tpetra file: "Tpetra_Import_def.hpp" I'll try with a more recent version of Trilinos to see if this fixes thing. Do you think it might be that step-32 does not include this file ? On Tuesday, March 15, 2022 at 10:55:35 a.m. UTC-4

Re: [deal.II] Error when compiling a deal.II app using Trilinos on Apple M1

2022-03-14 Thread Timo Heister
I worked on that. 😃 Interestingly, I didn't see this error in my testing of ASPECT. Are you saying that a deal.II step like step-32 fails? I think we should try updating Trilinos first. Do you want to try 13.2 and see if that works? If not, I will update the package in candi master when I get to