Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nomad-md-tutorial
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
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nomad-lab
ai-toolkit
workshops
nomad-md-tutorial
Commits
618eb4df
Commit
618eb4df
authored
2 years ago
by
Adam Fekete
Browse files
Options
Downloads
Patches
Plain Diff
working image
parent
535fa9d3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.dockerignore
+13
-0
13 additions, 0 deletions
.dockerignore
.gitignore
+115
-0
115 additions, 0 deletions
.gitignore
.gitmodules
+0
-0
0 additions, 0 deletions
.gitmodules
Dockerfile
+45
-0
45 additions, 0 deletions
Dockerfile
README.md
+11
-0
11 additions, 0 deletions
README.md
with
184 additions
and
0 deletions
.dockerignore
0 → 100644
+
13
−
0
View file @
618eb4df
tutorial/
**/.git
**/.ipython/
**/.keras/
**/.local/
**/.cache/
**/.config/
**/.ipynb_checkpoints/
This diff is collapsed.
Click to expand it.
.gitignore
0 → 100644
+
115
−
0
View file @
618eb4df
tutorial/
.idea/
.ipython/
.keras/
.local/
.DS_Store
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
This diff is collapsed.
Click to expand it.
.gitmodules
0 → 100644
+
0
−
0
View file @
618eb4df
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
45
−
0
View file @
618eb4df
FROM
jupyter/scipy-notebook:python-3.7
# ================================================================================
# Linux applications and libraries
# ================================================================================
# USER root
#
# RUN apt-get update --yes \
# && apt-get install --yes --no-install-recommends \
# openmpi-bin \
# libopenmpi-dev \
# cmake \
# libblas-dev \
# liblapack-dev \
# gfortran \
# && apt-get clean && rm -rf /var/lib/apt/lists/*
#
# USER ${NB_UID}
# ================================================================================
# Python environment
# ================================================================================
# RUN mamba install --quiet --yes \
# "nbgitpuller" \
# && mamba clean --all -f -y \
# && fix-permissions "${CONDA_DIR}" \
# && fix-permissions "/home/${NB_USER}"
RUN
pip
install
--prefer-binary
--no-cache-dir
\
"mdanalysis==2.1.0"
\
"nglview==3.0.3"
\
"scikit-learn"
\
"pymatgen"
\
"ipywidgets>=7.6.0,<8"
\
"git+https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR.git@develop#egg=nomad-lab"
\
&&
fix-permissions
"
${
CONDA_DIR
}
"
\
&&
fix-permissions
"/home/
${
NB_USER
}
"
# Switch back to jovyan to avoid accidental container runs as root
USER
${NB_UID}
WORKDIR
"${HOME}"
# COPY --chown=${NB_UID} tutorials/ .
This diff is collapsed.
Click to expand it.
README.md
+
11
−
0
View file @
618eb4df
## Getting started
Building the docker image:
```
docker build -t nomadmdtutorial:latest .
```
Starting th jupyter notebook:
```
docker run --rm -it -p 8888:8888 -v "${PWD}":/home/jovyan/work nomadmdtutorial:latest
```
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