Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add kripke #11

Merged
merged 2 commits into from
Aug 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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