fabianmurariu / graphblas-java-native

graphblas wrapper for java using JNI
Apache License 2.0
8 stars 2 forks source link

JNI bindings for GraphBLAS

Build and get the code

git clone --recurse-submodules https://github.com/fabianmurariu/graphblas-java-native.git

# this will build GraphBLAS for you and build the maven java project
make graphblas-java

# to install GraphBLAS

sudo make grb-install

# if you don't wish to install you need to set 
# LD_LIBRARY_PATH=$(pwd)/GraphBLAS/build:$LD_LIBRARY_PATH 
# before running the maven tests outside of make

For usage check tests

in GRAPHBLASSpec.scala

Create a Matrix

  Buffer mat = GRBCORE.createMatrix(GRAPHBLAS.booleanType(), rows, cols)