Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 762 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 762 Bytes

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)