Skip to content

Commit

Permalink
Merge pull request #1 from ilia-nikiforov-umn/update-lammps-to-stable…
Browse files Browse the repository at this point in the history
…_2Aug2023_update1

update LAMMPS
  • Loading branch information
ilia-nikiforov-umn authored Nov 11, 2023
2 parents 7725b64 + 70de170 commit 2aa1796
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/git/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN git clone -q https://github.com/openkim/numdifftools -b master ${PACKAGE_DIR
RUN git clone -q https://github.com/openkim/kim-python-utils -b master ${PACKAGE_DIR}/kim-python-utils \
&& cd ${PACKAGE_DIR}/kim-python-utils \
&& git checkout e4e21b202264373a9f33dfc47b6e05c0af625950
RUN git clone -q https://github.com/lammps/lammps -b stable_23Jun2022 ${PACKAGE_DIR}/lammps
RUN git clone -q https://github.com/lammps/lammps -b stable_2Aug2023_update1 ${PACKAGE_DIR}/lammps
RUN git clone -q https://gitlab.com/openkim/ase -b user-species ${PACKAGE_DIR}/ase \
&& cd ${PACKAGE_DIR}/ase \
&& git checkout e00c8da0f84fb3a726c411f7ef2792241434c9a3
Expand Down
8 changes: 8 additions & 0 deletions docker/install/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ RUN ${PIP} install kimpy==2.1.0
#########################################
## LAMMPS
#########################################
ARG DEBIAN_FRONTEND=noninteractive
RUN cd ${PACKAGE_DIR}/lammps/ \
&& mkdir build && cd build \
&& cmake \
Expand All @@ -132,9 +133,16 @@ RUN cd ${PACKAGE_DIR}/lammps/ \
-D PKG_REAXFF=yes \
-D PKG_MISC=yes \
-D PKG_SMTBQ=yes \
-D PKG_EXTRA-PAIR=yes \
../cmake \
&& make -j2 \
&& make install \
&& apt-get update -qq \
&& apt-get install --no-install-recommends -qqy python3-venv \
&& make install-python \
&& apt-get purge -y python3-venv \
&& apt-get clean \
&& rm -fr /var/lib/apt/lists/* \
&& ln -s /usr/local/bin/lmp /usr/local/bin/lammps \
&& rm -r /usr/local/share/lammps/potentials \
&& cd ${PACKAGE_DIR} \
Expand Down

0 comments on commit 2aa1796

Please sign in to comment.