From 30cddfc873e064179beb7b1cc13e1737c5b94a2a Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 18 Mar 2020 13:13:56 +0000 Subject: Update dockerfile and readme The dockerfile now has everything necessary to fully reproduce the experiments. --- Dockerfile | 9 ++++++++- README.md | 19 ++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c417153..cb4af446 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,15 +7,22 @@ RUN apt-get update && \ git \ build-essential \ r-base \ + r-base-dev \ latexmk \ texlive-latex-extra \ libopenmpi-dev \ - liblzma-dev + liblzma-dev \ + libgit2-dev \ + libxml2-dev \ + libcurl4-openssl-dev \ + libssl-dev \ + libopenblas-dev # Make sure python means python3 RUN apt-get install -y --no-install-recommends \ python3 \ python3-dev \ + python3-tk \ python3-pip && \ pip3 install --no-cache-dir --upgrade pip setuptools && \ echo "alias python='python3'" >> /root/.bash_aliases && \ diff --git a/README.md b/README.md index 054ae507..0b5724ed 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Turing Change Point Detection Benchmark +[![Build Status](https://travis-ci.org/alan-turing-institute/TCPDBench.svg?branch=master)](https://travis-ci.org/alan-turing-institute/TCPDBench) + Welcome to the repository for the Turing Change Point Detection Benchmark, a benchmark evaluation of change point detection algorithms developed at [The Alan Turing Institute](https://turing.ac.uk). This benchmark uses the time @@ -154,7 +156,22 @@ $ docker build -t alan-turing-institute/tcpdbench github.com/alan-turing-institu ``` You can then follow the same procedure as above but using the relevant docker -commands to run them in the container. +commands to run them in the container: + +* For reproducing just the tables and figures, use: + ``` + $ docker run -v /absolute/path/to/TCPDBench:/TCPDBench alan-turing-institute/tcpdbench /bin/bash -c "make results" + ``` + +* For reproducing all the experiments: + ``` + $ docker run -v /absolute/path/to/TCPDBench:/TCPDBench alan-turing-institute/tcpdbench /bin/bash -c "mv abed_results old_abed_results && mkdir abed_results && abed reload_tasks && abed status && make venvs && mpiexec --allow-run-as-root -np 4 abed local && make results" + ``` + +where in both cases ``/absolute/path/to/TCPDBench`` is replaced with the path +on your machine where you want to store the files (so that results are not +lost when the docker container closes, see [docker +volumes](https://docs.docker.com/storage/volumes/)). ## License -- cgit v1.2.3