Skip to content

Commit

Permalink
add kripke (#11)
Browse files Browse the repository at this point in the history
* add kripke

Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch authored Aug 13, 2023
1 parent e06f3b5 commit 0308f4d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
["fio", "ghcr.io/converged-computing/metric-fio:latest"],
["amg", "ghcr.io/converged-computing/metric-amg:latest"],
["qmcpack", "ghcr.io/converged-computing/metric-qmcpack:latest"],
["kripke", "ghcr.io/converged-computing/metric-kripke:latest"],
["nekbone", "ghcr.io/converged-computing/metric-nekbone:latest"],
["lammps", "ghcr.io/converged-computing/metric-lammps:latest"]]

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ them by tool.
- [osu-benchmark](osu-benchmark)
- [qmcpack](qmcpack) and a [summary here](https://asc.llnl.gov/sites/asc/files/2020-09/coral2_qmcpack_vfeb13.pdf)
- [amg](amg) has problem examples [here](https://asc.llnl.gov/sites/asc/files/2020-09/AMG_Summary_v1_7.pdf)
- [kripke](kripke) builds from [LLNL/Kripke](https://github.com/LLNL/Kripke)

## License

Expand Down
35 changes: 35 additions & 0 deletions kripke/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
ARG tag=latest
FROM ubuntu:${tag}
ENV DEBIAN_FRONTEND=noninteractive


# see https://asc.llnl.gov/sites/asc/files/2020-09/AMG_Summary_v1_7.pdf
RUN apt-get update && \
apt-get install -y fftw3-dev fftw3 pdsh libfabric-dev libfabric1 \
openssh-client openssh-server \
dnsutils telnet strace cmake git g++ \
mpich unzip bzip2

WORKDIR /opt
RUN git clone https://github.com/LLNL/Kripke && \
cd Kripke && \
git submodule update --init --recursive && \
mkdir build && \
cd build && \
cmake .. && make


# Put those bad bois on the path!
ENV PATH=/opt/Kripke/build/bin:$PATH

# Hack for ssh for now...
RUN echo " LogLevel ERROR" >> /etc/ssh/ssh_config && \
echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config && \
echo " UserKnownHostsFile=/dev/null" >> /etc/ssh/ssh_config && \
cd /root && \
mkdir -p /run/sshd && \
ssh-keygen -t rsa -N "" -f /root/.ssh/id_rsa && chmod og+rX . && \
cd .ssh && cat id_rsa.pub > authorized_keys && chmod 644 authorized_keys

EXPOSE 22
WORKDIR /opt/Kripke

0 comments on commit 0308f4d

Please sign in to comment.