@lionpeloux wrote:
Hello,
I'm really interested by your .net "numeric" project for my research works in structural analysis.
I've been reading your MKL help page but it's still not clear for me if there is yet a MKL provider for OSX. On the nuget page, there are only packages for Windows and Linux ...
Am-I missing something ?
I own an academic licence of intel mkl and C++ compiler for OSX and I'm able to use mkl in C++. I've tried to target mkl directly from a Mono/Xamarin C# project as suggested here.
But the following DllImport leads to a "Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib" error. Do you have any thought how I can by pass this ?
[DllImport("/opt/intel/compilers_and_libraries_2016.0.083/mac/mkl/lib/libmkl_rt.dylib", CallingConvention=CallingConvention.Cdecl, ExactSpelling=true, SetLastError=false)]
internal static extern void cblas_dgemm(
int Order, int TransA, int TransB, int M, int N, int K,
double alpha, [In] double[] A, int lda, [In] double[] B, int ldb,
double beta, [In, Out] double[] C, int ldc);Thank you very much for helping,
Sincerely,
Lionel
Posts: 4
Participants: 2