Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
c23a9690
Commit
c23a9690
authored
4 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Add Docker support for analysis notebooks
parent
8b52fb02
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
analysis/.dockerignore
+2
-0
2 additions, 0 deletions
analysis/.dockerignore
analysis/Dockerfile
+7
-0
7 additions, 0 deletions
analysis/Dockerfile
analysis/README.md
+23
-6
23 additions, 6 deletions
analysis/README.md
with
32 additions
and
6 deletions
analysis/.dockerignore
0 → 100644
+
2
−
0
View file @
c23a9690
.dockerignore
Dockerfile
\ No newline at end of file
This diff is collapsed.
Click to expand it.
analysis/Dockerfile
0 → 100644
+
7
−
0
View file @
c23a9690
FROM
jupyter/base-notebook
COPY
. /home/jovyan
WORKDIR
/home/jovyan
RUN
rm
-r
work
RUN
pip
install
-r
requirements.txt
This diff is collapsed.
Click to expand it.
analysis/README.md
+
23
−
6
View file @
c23a9690
...
...
@@ -9,14 +9,31 @@ benchmark execution results and plotting. The following notebooks are provided:
## Usage
For analyzing and visualizing benchmark results, a Jupyter installation with
**Python 3.7**
is required (e.g., in a
virtual environment).
Basically, the Theodolite Analysis Jupyter notebooks should be runnable by any Jupyter server. To make it a bit easier,
we provide introductions for running notebooks with Docker and with Visual Studio Code. These intoduction may also be
a good starting point for using another service.
We have tested these notebooks with
[
Visual Studio Code
](
https://code.visualstudio.com/docs/python/jupyter-support
)
,
however, every other server should be f
in
e
a
s well. In particular, you might want to use a Jupyther Docker container
.
For analyzing and visualizing benchmark results, either Docker or a Jupyter installation with Python 3.7 or newer is
required (e.g.,
in a
virtual environment)
.
Our notebooks require some Python libraries, which can be installed by:
### Running with Docker
This option requires Docker to be installed. You can build and run a container using the following commands. Make sure
to set the
`results`
volume to the directory with your execution results and
`results-inst`
to a directory where the
final scalability graphs should be placed. The output of the
*run*
command gives you an URL of the form
`http://127.0.0.1:8888/?token=...`
, which you should open in your webbrowser. From there you can access all notebooks.
```
sh
pip
install
-r
requirements.txt
docker build
.
-t
theodolite-analysis
docker run
--rm
-p
8888:8888
-v
"
$PWD
/../results"
:/home/jovyan/results
-v
"
$PWD
/../results-inst"
:/home/jovyan/results-inst theodolite-analysis
```
### Running with Visual Studio Code
The
[
Visual Studio Code Documentation
](
https://code.visualstudio.com/docs/python/jupyter-support
)
shows to run Jupyter
notebooks with Visual Studio Code. For our notebooks, Python 3.7 or newer is required (e.g., in a virtual environment).
Moreover, they require some Python libraries, which can be installed by:
```
sh
pip
install
-r
requirements.txt
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment