Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add libblass to kgraph #11

Merged
merged 2 commits into from
Dec 1, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions install/kgraph.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
git clone https://github.com/aaalgo/kgraph
apt-get install -y libboost-timer1.48-dev libboost-chrono1.48-dev libboost-program-options1.48-dev libboost-system1.48-dev
apt-get install -y libboost-timer1.48-dev libboost-chrono1.48-dev libboost-program-options1.48-dev libboost-system1.48-dev libopenblas-dev
apt-get autoremove -y

ls /usr/lib/openblas-base
sudo mkdir /usr/lib/openblas-base
sudo ln -s /usr/lib/libblas.a /usr/lib/openblas-base

cd kgraph
make CC=$CC libkgraph.so python
make CC=$CC libkgraph.a python
sudo cp python/pykgraph.so /usr/local/lib/python2.7/dist-packages
sudo cp libkgraph.so /usr/lib
cd ..
2 changes: 1 addition & 1 deletion test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import multiprocessing

# Generate dataset
X, labels_true = make_blobs(n_samples=10000, n_features=10,
X, labels_true = make_blobs(n_samples=10000, n_features=12,
centers=10, cluster_std=5,
random_state=0)

Expand Down