Deal.II compilation error issued at example steps phase

47 views
Skip to first unread message

Debbahi Saad

unread,
Jun 23, 2021, 10:59:46 AM6/23/21
to dea...@googlegroups.com
Dear Deal.ii community,

        I'm trying to compile the Deal.II (9.2.0, 9.3.0 or dev branch) with examples enabled, the compilation goes well until it reaches the example phase, for example step-9 in version dev branch breaks the compilation with an error
../../lib/libdeal_II.g.so.10.0.0-pre: error: undefined reference to 'gko::log::Logger::criterion_check_completed_mask'
it is worth mentioning that the same error arises when I was compiling version 9.2.0.

of course disabling the examples -DDEAL_II_WITH_EXAMPLES=OFF byoasses the issue and the compilation carries on well.

I have compiled Ginkgo dev branch then version 1.3.0 down to version 1.0.0 but inspecting the generated shared libraries for every ginkgo version with nm utility shows no symbols corresponding to  criterion_check_completed_mask:

nm --dynamic --print-file-name /path/ginkgo/lib/libgimkgo*|grep -i criterion_check_completed_mask

Any help to figure this out would be really appreciated.

Thank you in advance,

Kind regards,

Saad


System            : Centos 6.10 final x86_64
cmake             : version 3.20.4
GNU compiler : version 9.3.1
  
  

Jean-Paul Pelteret

unread,
Jun 24, 2021, 4:37:28 PM6/24/21
to dea...@googlegroups.com
Dear Saad,

Well, after briefly browsing the Ginkgo repository online, its a bit of a mystery to me. The mask looks to be declared by this call to this piece of macro magic, and is defined here. Maybe your compiler doesn’t like the way that these static constexpr variables are defined (a vaguely recall experiencing such a problem when writing this bit of code).

Is it a prerequisite that you use the Ginkgo library? Can you perhaps compile deal.II without it enabled? If you are wanting to use Ginkgo, then does that library provide some benchmarks or tests that you can use to validate that it’s built correctly and works as expected?

Best,
Jean-Paul

--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAGb1Yyx21co8w5X04bfWYxpsbspbNPL%2BQWo1htLMzYDseUBULQ%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages