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 <https://github.com/ginkgo-project/ginkgo/blob/7c7fc421fc54701fdd285ac498f1a768fd001d8e/include/ginkgo/core/log/logger.hpp#L389-L394> to this piece of macro <https://github.com/ginkgo-project/ginkgo/blob/7c7fc421fc54701fdd285ac498f1a768fd001d8e/include/ginkgo/core/log/logger.hpp#L126-L140> magic, and is defined here <https://github.com/ginkgo-project/ginkgo/blob/103af8769afe71363ad200474e591ea9d1201da5/core/log/logger.cpp#L73>. 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 <https://github.com/dealii/dealii/blob/master/include/deal.II/differentiation/ad/ad_number_traits.h#L771-L851>).
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 > On 23. Jun 2021, at 16:59, Debbahi Saad <[email protected]> wrote: > > 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 > > > > -- > The deal.II project is located at http://www.dealii.org/ > <http://www.dealii.org/> > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > <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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/CAGb1Yyx21co8w5X04bfWYxpsbspbNPL%2BQWo1htLMzYDseUBULQ%40mail.gmail.com > > <https://groups.google.com/d/msgid/dealii/CAGb1Yyx21co8w5X04bfWYxpsbspbNPL%2BQWo1htLMzYDseUBULQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/31941ABA-292D-4F99-83EA-63142888DD8F%40gmail.com.
