Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
analytics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
analytics
Commits
ddd11bb2
Commit
ddd11bb2
authored
5 years ago
by
Adam Fekete
Browse files
Options
Downloads
Patches
Plain Diff
changing the order of installation (qmmlpack vs. quip)
parent
8d9fbacb
Branches
Branches containing commit
No related tags found
3 merge requests
!123
testing develop merge
,
!23
Various tutorials
,
!19
cmlkit - new tutorial
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+28
-26
28 additions, 26 deletions
Dockerfile
with
28 additions
and
26 deletions
Dockerfile
+
28
−
26
View file @
ddd11bb2
...
@@ -58,6 +58,33 @@ RUN conda install --quiet --yes \
...
@@ -58,6 +58,33 @@ RUN conda install --quiet --yes \
# - grain-boundaries: asap3
# - grain-boundaries: asap3
# - qmmlpack: dscribe pytest
# - qmmlpack: dscribe pytest
# ================================================================================
# QMMLPACK
# ================================================================================
# for the test TMPDIR has to be defined
ENV
TMPDIR "/tmp/"
WORKDIR
/opt/qmmlpack
COPY
3rdparty/qmmlpack .
USER
root
RUN
chown
-R
$NB_USER
:
$NB_GID
$PWD
USER
$NB_USER
RUN
./make
--debug
--verbose
cpp
--include-path
/usr/include/gsl/
--library-path
/usr/lib/
RUN
./make
--debug
--verbose
python
--include-path
/usr/include/gsl/
--library-path
/usr/lib/
#RUN make -v install
ENV
PYTHONPATH "/opt/qmmlpack/python":$PYTHONPATH
# The CML_PLUGINS environment variable tells cmlkit to register the cscribe plugin, which provides the dscribe interface.
ENV
CML_PLUGINS "cscribe"
ENV
CML_DATASET_PATH $HOME/tutorials/data/cmlkit/
# ================================================================================
# ================================================================================
# QUIP + GAP + quippy
# QUIP + GAP + quippy
# ================================================================================
# ================================================================================
...
@@ -90,32 +117,6 @@ RUN pip install src/f90wrap \
...
@@ -90,32 +117,6 @@ RUN pip install src/f90wrap \
# Make quippy executable available from terminal
# Make quippy executable available from terminal
ENV
PATH /opt/quip/bin:$PATH
ENV
PATH /opt/quip/bin:$PATH
# ================================================================================
# QMMLPACK
# ================================================================================
# for the test TMPDIR has to be defined
ENV
TMPDIR "/tmp/"
WORKDIR
/opt/qmmlpack
COPY
3rdparty/qmmlpack .
USER
root
RUN
chown
-R
$NB_USER
:
$NB_GID
$PWD
USER
$NB_USER
RUN
mv
cpp/tests/test_representations_mbtr.cpp cpp/tests/test_representations_mbtr.cpp.skip
\
&&
./make
--verbose
cpp
--include-path
/usr/include/gsl/
--library-path
/usr/lib/
RUN
./make
--debug
python
--include-path
/usr/include/gsl/
--library-path
/usr/lib/
#RUN make -v install
ENV
PYTHONPATH "/opt/qmmlpack/python":$PYTHONPATH
# The CML_PLUGINS environment variable tells cmlkit to register the cscribe plugin, which provides the dscribe interface.
ENV
CML_PLUGINS "cscribe"
ENV
CML_DATASET_PATH $HOME/tutorials/data/cmlkit/
# ================================================================================
# ================================================================================
# Install all of the package dependencies of the tutorials
# Install all of the package dependencies of the tutorials
...
@@ -162,6 +163,7 @@ RUN mkdir data && ln -s /opt/tutorials/*/data/* .
...
@@ -162,6 +163,7 @@ RUN mkdir data && ln -s /opt/tutorials/*/data/* .
RUN
fix-permissions
$TUTORIALS_HOME
\
RUN
fix-permissions
$TUTORIALS_HOME
\
&&
fix-permissions
$HOME
/.local/share/jupyter
&&
fix-permissions
$HOME
/.local/share/jupyter
# ================================================================================
# ================================================================================
# Switch back to jovyan to avoid accidental container runs as root
# Switch back to jovyan to avoid accidental container runs as root
# ================================================================================
# ================================================================================
...
...
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