Permalink
Cannot retrieve contributors at this time
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?
MssBenchmark/singularity-install/ann-bench-nmslib.def
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
20 lines (17 sloc)
597 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |