mathnet / mathnet-numerics

Math.NET Numerics
http://numerics.mathdotnet.com
MIT License
3.5k stars 896 forks source link

Can't Build MKL Provider for OSX #767

Open ozgurakpinar opened 3 years ago

ozgurakpinar commented 3 years ago

I changed the content of mkl_build.sh to following in order to build with Intel OneApi but I get symbol(s) not found for architecture i386 when I try to build MKL provider with mkl_build.sh.

export INTEL=/opt/intel/oneapi
export MKL=$INTEL/mkl/latest
export OPENMP=$INTEL/compiler/latest/mac/compiler/lib

Any suggestions on how to fix it? (I am assuming it can be fixed by only modifying the content of mkl_build.sh)

cdrnet commented 3 years ago

Was this working before my changes a few weeks back when I switched over to OneApi (i.e. did my changes brake it)?

ozgurakpinar commented 3 years ago

On master there is no changes in NativeProviders/OSX/mkl_build.sh related to openapi. So maybe that script needs an update. I really wanted to help but I couldn't install older version of MKL (before oneapi) to test the build before your changes.