sparse-fortran icon indicating copy to clipboard operation
sparse-fortran copied to clipboard

Link the library MKL SDL to run pardiso_basic

Open cauachagas opened this issue 2 years ago • 0 comments

i wrote a simple FindMKL_SDL to run the pardiso_basic example. I used an similar Dockerfile to run the project

cmake -B build

image

cmake -B build -DMKLROOT=$CONDA_PREFIX

image

Examples running

image

Ubuntu 22.04 libmkl-rt

I tried changing FindMKL_SDL to work with libmkl_rt.so coming from sudo apt-get install libmkl-rt on Ubuntu 22.04 but it gives the error

symbol lookup error: /lib/x86_64-linux-gnu/libmkl_intel_thread.so: undefined symbol: omp_in_parallel

I believe this version libmkl_rt.so is only compatible with intel compilers.

cauachagas avatar May 01 '23 23:05 cauachagas