On 5/8/24 10:19, Sean Carney wrote:

I am able to compile the tutorials (e.g. Step-29) that use the SparseDirectUMFPACK class, however, if I try to run the example, I get the following error:

./step-29: symbol lookup error: /lib/x86_64-linux-gnu/libmkl_intel_thread.so: undefined symbol: __kmpc_global_thread_num

Does this mean that I didn't properly configure deal.II with multithreading capabilities?

I am grateful for any suggestions that can help me resolve this issue.

I tried to find something on the internet about this, and found

https://stackoverflow.com/questions/13715979/parallel-program-giving-error-undefined-reference-to-kmpc-ok-to-fork
This suggests that the MKL was compiled with OpenMP; MKL provides BLAS and LAPACK functions; and UMFPACK uses those.

I must admit that I don't know how to solve this. It would be a mis-configured compilation of the MKL to not explicitly reference all libraries it needs to link with, and there is little that deal.II can do about that after the fact. You *could* try to use LD_PRELOAD as suggested here
  https://github.com/kaldi-asr/kaldi/issues/4347
but that's an expensive solution :-(

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/84491e0f-8554-48f5-9729-588bc5a1224f%40colostate.edu.

Reply via email to