File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Install the AiiDAlab application
4+ echo " INSTALLING AiiDAlab ChemShell Application"
5+ cd " ${HOME} " /apps
6+ if [[ -d " aiidalab-chemshell" ]]; then
7+ echo " AiiDAlab ChemShell app already installed..."
8+ else
9+ pip install -e git+https://github.com/stfc/aiidalab-chemshell.git#egg=aiidalab-chemshell --src ${HOME} /apps
10+ fi
11+
12+ # Install the associated python package
13+ cd " ${HOME} " /apps/aiidalab-chemshell
14+ pip install --no-user --no-cache-dir -q -e .
15+
16+ # Return to the $HOME directory
17+ cd " ${HOME} "
Original file line number Diff line number Diff line change @@ -7,11 +7,12 @@ LABEL maintainer="Dr Benjamin T. Speake <benjamin.speake@stfc.ac.uk>"
77LABEL org.opencontainers.image.source="https://github.com/stfc/aiidalab-chemshell"
88
99USER root
10+
11+ # Install some extra required dependencies to speed up start up and aiida ChemShell plugin
12+ RUN pip install aiidalab_widgets_base aiida-chemshell --no-cache-dir --no-user
1013
11- # Install the AiiDAlab and AiiDA plugins for ChemShell
12- RUN pip install -e git+https://github.com/stfc/aiidalab-chemshell.git#egg=aiidalab-chemshell --src ${HOME}/apps && \
13- pip install aiida-chemshell --no-cache-dir --no-user
14-
14+ # This will install alc-ux on container start up
15+ COPY 61_prepare_aiidalab_chemshell.sh /usr/local/bin/before-notebook.d/
1516
1617USER ${NB_UID}
1718WORKDIR ${HOME}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ FROM ghcr.io/stfc/aiidalab-chemshell/base:latest
33# a pre-installed version of aiidalab-chemshell
44
55LABEL maintainer="Dr Benjamin T. Speake <benjamin.speake@stfc.ac.uk>"
6+ LABEL org.opencontainers.image.source="https://github.com/stfc/aiidalab-chemshell"
67
78USER root
89
Original file line number Diff line number Diff line change 11label : chemsh
22description : ChemShell (parallel)
33computer : localhost
4- filepath_executable : /opt/chemsh-py/bin/intel/chemsh
4+ filepath_executable : /opt/chemsh-py/bin/intel/chemsh.x
55default_calc_job_plugin : chemshell
66use_double_quotes : false
7- with_mpi : false
7+ with_mpi : true
88prepend_text : ' '
99append_text : ' '
You can’t perform that action at this time.
0 commit comments