jblas-project / jblas

Linear Algebra for Java
http://jblas.org
BSD 3-Clause "New" or "Revised" License
590 stars 149 forks source link

jblas on multiple jvm instances #41

Closed vimpagliazzo closed 9 years ago

vimpagliazzo commented 10 years ago

Given that there is already a jvm process running jblas, if a second jvm process is run (windows 64bit in my tests), I get the error -- org.jblas ERROR Couldn't load copied link file: java.lang.UnsatisfiedLinkError: C:\Windows\Temp\libgcc_s_dw2-1.dll: The process cannot access the file because it is being used by another process.

-- org.jblas ERROR Couldn't load copied link file: java.lang.UnsatisfiedLinkError: C:\Windows\Temp\jblas2376714726013803026jblas_arch_flavor.dll: Can't find dependent libraries.

mikiobraun commented 10 years ago

Which version are you using? I actually think I've fixed this by having each process unpack into a temp directory.

vimpagliazzo commented 10 years ago

I am using 1.2.3. Shall I try to build from git tree?

vimpagliazzo commented 10 years ago

(IN fact I had a look at the code on github, and I noticed the temp directory creation, but being me not an expert on Windows development, I though windows was just messing things up...

mikiobraun commented 10 years ago

Oh, yeah, I've added the stuff just after the last release.

Just download, do a "mvn install" and use 1.2.4-SNAPSHOT as the new version number

mikiobraun commented 10 years ago

Maybe time to do another release ;)

mikiobraun commented 9 years ago

Alright, new release out. This should be fixed now!