Skip to content
Permalink
a07c38d009
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
20 lines (17 sloc) 597 Bytes
Bootstrap: localimage
From: /home/cjz18001/singularity/ann-bench.sif
%post
apt-get update && apt-get install -y cmake libboost-all-dev libeigen3-dev libgsl0-dev
git clone https://github.com/searchivarius/nmslib.git
cd nmslib/similarity_search && cmake . -DWITH_EXTRAS=1
make -j4 && cd ../../
apt-get install -y python-setuptools python-pip python-numpy
pip install pybind11
cd nmslib/python_bindings && python setup.py build
python setup.py install && cd ../../
python -c 'import nmslib'
pip install -rrequirements.txt
pip install enum34
pip install h5sparse
%runscript
python run_algorithm.py