Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add ann-bench-chemfp.def
  • Loading branch information
cjz18001 committed Jun 21, 2020
1 parent ac4e3b4 commit a07c38d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions singularity-install/ann-bench-chemfp.def
@@ -0,0 +1,13 @@
Bootstrap: localimage
From: ann-bench-python2.sif

%files
ann-bench-python2.sif

%post
pip install chemfp bitarray h5sparse enum34

python -c 'import chemfp'

%runscript
python run_algorithm.py
15 changes: 15 additions & 0 deletions singularity-install/ann-bench-python2.def
@@ -0,0 +1,15 @@
Bootstrap: library
From: ubuntu:16.04

%files
requirements.txt
run_algorithm.py

%post
apt-get update
apt-get install -y python-numpy python-scipy python-pip build-essential git

pip install -rrequirements.txt

%runscript
python run_algorithm.py

0 comments on commit a07c38d

Please sign in to comment.