Skip to content

Commit

Permalink
Update code setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha committed Mar 19, 2024
1 parent f2bcdcb commit bb5be41
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .docker/cp2k-code.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
label: cp2k
computer: localhost
description:
input_plugin: cp2k
default_calc_job_plugin: cp2k
filepath_executable: /opt/conda/envs/cp2k/bin/cp2k.psmp
append_text:
prepend_text: "conda activate cp2k"
prepend_text: |
eval "$(command conda shell.bash hook 2> /dev/null)"
conda activate cp2k
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ FROM aiidateam/aiida-core-with-services:2.5.0
# To prevent the container to exit prematurely.
ENV KILL_ALL_RPOCESSES_TIMEOUT=50

USER root
RUN set -ex ; \
apt-get update ; \
apt-get install -y --no-install-recommends libsymspg1

USER aiida

RUN conda create --yes -c conda-forge -n cp2k cp2k=9.1 && conda clean --all -f -y

# Install aiida-cp2k plugin.
Expand Down

0 comments on commit bb5be41

Please sign in to comment.