Skip to content

Commit 4b3244f

Browse files
committed
Added a Dockerfile for a development image for Chimbuko, maintaining the spack environment and installing useful tooling, intended for use with 'spack develop'
1 parent 7019759 commit 4b3244f

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM chimbuko/chimbuko-spack-env:ubuntu18.04
2+
3+
RUN apt-get update && apt-get install -y vim emacs-nox gdb
4+
5+
WORKDIR /src
6+
7+
RUN git clone https://github.com/CODARcode/PerformanceAnalysis.git -b ckelly_develop --single-branch && mv PerformanceAnalysis/benchmark_suite . && rm -rf PerformanceAnalysis
8+
9+
ENV TAU_OPTIONS "-optShared -optRevert -optVerbose -optCompInst"
10+
11+
WORKDIR /bld/benchmark_suite/func_multimodal
12+
13+
RUN cp -s /src/benchmark_suite/func_multimodal/main.C . && cp /src/benchmark_suite/func_multimodal/*.sh . && cp /src/benchmark_suite/func_multimodal/Makefile .
14+
15+
RUN source /spack/spack/share/spack/setup-env.sh && cd /opt/spack-environment && spack env activate . && cd - && make
16+
17+
COPY chimbuko_config.sh /bld/benchmark_suite/func_multimodal/

docker/ubuntu18.04/openmpi4.0.4/all_spack/docker_rebuild_stack.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ set -e
44

55
#docker build -f Dockerfile.spack_env -t chimbuko/chimbuko-spack-env:ubuntu18.04 .
66
#docker build -f Dockerfile.spack_release -t chimbuko/chimbuko-spack-release:ubuntu18.04 .
7-
docker build -f Dockerfile.playground -t chimbuko/chimbuko-spack-playground:ubuntu18.04 .
7+
#docker build -f Dockerfile.playground -t chimbuko/chimbuko-spack-playground:ubuntu18.04 .
8+
docker build -f Dockerfile.spack_dev -t chimbuko/chimbuko-spack-dev:ubuntu18.04 .

0 commit comments

Comments
 (0)