Install MKL
There are many options. At time of writing this is a good source: https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html
Install g++
sudo apt-get install g++ g++-multilib libc6-dev-i386Build
./mkl_build.shNote: You may have to update MKL's version number inside the script. See VERSION environment variable.
Build the native libraries
Run following commands from the project root.
docker build -f src/NativeProviders/Linux/Dockerfile -t mathnet-mkl-builder .
docker run --rm -v $(pwd)/out:/workspace/out mathnet-mkl-builderThe build creates native libraries in:
out/MKL/Linux/x64/libMathNetNumericsMKL.so(64-bit)out/MKL/Linux/x86/libMathNetNumericsMKL.so(32-bit)- Plus OpenMP runtime libraries (
libiomp5.so)