Open databig opened 9 years ago
The challenge is to include all the jars with native libs that BIDMat uses. These are currently: JCUDA LZ4 HDF5-Java BIDMat's own native libs.
All of the native libs except HDF5 can be bundled into a Jar, and will automatically be unpacked when the calling class is loaded. The JVM will need access to a tmp directory to do the unpacking.
HD5 doesnt support this (or didnt as of the version we use). I dont remember if it can run at all without the native libs. I dont think so. It may not be too relevant if running on Spark where I/O is managed by Spark. Does Spark have LZ4 support already?
It might be better to make a single assembly jar with all of the dependent jars and native libs are included. Otherwise someone would have to commit to maintaining repo copies of the dependencies.
@jcanny I will try, Please make sure Am I right or not? 1, Claim the Version Number
We should talk on the phone so I"m clear on what you're trying to do (build with maven?). Most of the libs are not in repos, so we'd have to figure something else out.
-John On 3/18/2015 2:24 PM, databig wrote:
@jcanny https://github.com/jcanny I will try, Please make sure Am I right or not? 1, Claim the Version Number 1.0.0 6.5 2, Add into Dependencies
bidmat?
${bidmat.version}
jcuda? jcuda? ${/jcuda.version}
HDF5-Java? HDF5-Java? ???
LZ4? LZ4? ???
【?】 means I am not sure, could you please kindly confirm it?
Tks.
— Reply to this email directly or view it on GitHub https://github.com/BIDData/BIDMat/issues/22#issuecomment-83185474.
I have a team working on this now, so it should be resolved over the next few months.
@jcanny Hi. Any resolution on that? do you have open source code for coupling BidMat with Spark? thanks.
@jcanny I wanna leverage the GPU Resources in Spark. For example use GPU to do some Matrix Computation. I am thinking about how to configure to ake BIDMat as the GPU Backend for Spark? Likely, I use Maven, How to add sth in POM.XML (Attached)