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

adding darshan #24

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
33 changes: 33 additions & 0 deletions darshan/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
ARG tag=jammy
FROM ubuntu:${tag}

# docker build -t darshan .
# docker exec -it darshan bash
# make logs directories in /opt/logs
# perl /usr/bin/darshan-mk-log-dirs.pl
# see: https://github.com/darshan-hpc/darshan/blob/main/darshan-runtime/doc/darshan-runtime.txt#L80
# I think we might want to implement this as a spack "on demand" view, need to discuss

RUN apt-get update && apt-get install -y \
git \
python3-pip \
build-essential \
libtool \
automake \
libbz2-dev \
mpich

RUN git clone --depth 1 https://github.com/darshan-hpc/darshan && \
ln -s /usr/bin/python3 /usr/bin/python && \
cd darshan && \
./prepare.sh && \
cd ./darshan-util && \
./configure --prefix=/usr && \
make && \
make install && \
cd ../darshan-runtime && \
mkdir -p /opt/logs && \
# https://github.com/darshan-hpc/darshan/blob/84e55b611824acfe7e7f1133096e08648967a4e4/darshan-runtime/doc/darshan-runtime.txt#L80
./configure --prefix=/usr --with-log-path=/opt/logs --with-jobid-env=FLUX_JOB_ID && \
make && \
make install
6 changes: 6 additions & 0 deletions darshan/uptodate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dockerbuild:
build_args:
tag:
key: tag
versions:
- jammy