Hi all,
I just successfully built Juicebox using JCuda 10.0.0. My repro below.
## Dependencies
- JCuda .jar files corresponding to your version of CUDA. You can check your cuda version using nvcc --version
(JCuda downloads page). It helps to follow their tutorial to check that JCuda is working before going any further. - ant
- JDK 1.8
## Add .jar dependencies
- Update Juicebox/lib/jcuda with your version of the JCuda jar and native jar.
- I also put commons.math3 in Juicebox/lib.
## Config to your new dependencies
- In juicebox.properties: change jdk.home.1.8 to point to your local JDK. Full path, no shortcuts.
- In build.xml, under <!-- Project Libraries -->, add the math3 jar:
<path id="library.math3.classpath">
<pathelement location="${basedir}/lib/commons-math3-3.6.1/commons-math3-3.6.1.jar"/>
</path>
- In build.xml, under <!-- Module Juicebox -->, add math3 to each of the 4 classpaths:
<path id="juicebox.module.production.classpath">
...
<path refid="library.math3.classpath"/>
</path>
- In build.xml, update all <zipfileset/> tags with your version of JCuda. For good measure, I also deleted the zipfileset tags corresponding to JCuda versions I wasn't using.
<zipfileset src="${basedir}/lib/jcuda/jcuda-10.0.0.jar"/>
<zipfileset src="${basedir}/lib/jcuda/jcuda-natives-10.0.0-linux-x86_64.jar"/>
## Compile
Run ant in the Juicebox directory.