From 10f7412a5b59d19dfb6033e3a6e17264baeb68bd Mon Sep 17 00:00:00 2001 From: futy18 Date: Tue, 17 Jan 2023 02:40:29 +0000 Subject: [PATCH] [update] update README --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 8f8c6df..e379ebb 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,25 @@ The dgSPARSE Library (Deep Graph Sparse Library) is a high performance library f └── ge-spmm: GE-SpMM implementation. ``` +## Installation + +First, setup the the following environment variables: + +``` bash +export MKLROOT=/opt/intel/mkl # your mkl path +export CUDA_HOME=/usr/local/cuda # your cuda path +export LD_LIBRARY_PATH=$CUDA_HOME/lib64 # your cuda lib path +``` + +Then, install with pip. + +``` bash +pip install dgsparse +``` + +> for developers, you could also install from source code with `python setup.py install`. + + ## Run Examples Check your environment.