Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing MKL VML DLL #705

Closed
kinnally opened this issue Mar 26, 2019 · 3 comments
Closed

Missing MKL VML DLL #705

kinnally opened this issue Mar 26, 2019 · 3 comments

Comments

@kinnally
Copy link

When calling org.bytedeco.javacpp.mkl_rt.vdAdd(...), I get this error:

Intel MKL FATAL ERROR: cannot load mkl_vml_avx2.dll or mkl_vml_def.dll

I could probably manually install MKL, and add that to my path, but since mkl_rt is already in a jar, it might make sense to also add the various vml dlls to a jar (at least mkl_vml_avx, amkl_vml_avx2, and mkl_vml_avx512). It would also be good if the right one was used for the machine that the user is on.

@kinnally
Copy link
Author

kinnally commented Mar 26, 2019

These are my pom dependencies:

org.bytedeco.javacpp-presets mkl-platform 2019.1-1.4.4
<!-- Additional dependencies to use bundled full version of MKL -->
<dependency>
  <groupId>org.bytedeco.javacpp-presets</groupId>
  <artifactId>mkl</artifactId>
  <version>2019.1-1.4.4</version>
  <classifier>linux-x86-redist</classifier>
</dependency>
<dependency>
  <groupId>org.bytedeco.javacpp-presets</groupId>
  <artifactId>mkl</artifactId>
  <version>2019.1-1.4.4</version>
  <classifier>linux-x86_64-redist</classifier>
</dependency>
<dependency>
  <groupId>org.bytedeco.javacpp-presets</groupId>
  <artifactId>mkl</artifactId>
  <version>2019.1-1.4.4</version>
  <classifier>macosx-x86_64-redist</classifier>
</dependency>
<dependency>
  <groupId>org.bytedeco.javacpp-presets</groupId>
  <artifactId>mkl</artifactId>
  <version>2019.1-1.4.4</version>
  <classifier>windows-x86-redist</classifier>
</dependency>
<dependency>
  <groupId>org.bytedeco.javacpp-presets</groupId>
  <artifactId>mkl</artifactId>
  <version>2019.1-1.4.4</version>
  <classifier>windows-x86_64-redist</classifier>
</dependency>
<dependency>
  <groupId>junit</groupId>
  <artifactId>junit</artifactId>
  <scope>test</scope>
</dependency>

saudet added a commit that referenced this issue Mar 27, 2019
@saudet
Copy link
Member

saudet commented Mar 27, 2019

Done! Let me know if there's anything else missing. MKL already loads the right ones by itself at runtime.

@kinnally
Copy link
Author

Awesome - thank you for adding this so quickly!

I'm not certain at the moment, but I think that should be everything for my intended use. I'm also interested in using VSL (the fast random number generators and stats tools), which also uses the VML dll, along with mkl_rt.dll - I can't say for sure, but I don't think there are other dlls required for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants