File tree Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu
1
+ FROM ubuntu:22.04
2
2
3
- RUN apt-get update
4
- RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
5
- python3 \
3
+ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
4
+ python3.10 \
6
5
pip \
7
6
make \
8
7
git \
@@ -11,31 +10,30 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
11
10
libcurl4-openssl-dev \
12
11
libtool \
13
12
autoconf \
14
- automake
13
+ zlib1g \
14
+ libtool
15
15
RUN rm -rf /var/lib/apt/lists/*
16
16
17
- RUN wget https://ftp.mcs.anl.gov/pub/darshan/releases/darshan-3.4.4.tar.gz
18
- RUN tar zxvf darshan-3.4.4.tar.gz
17
+ RUN wget https://web.cels.anl.gov/projects/darshan/releases/darshan-3.4.6.tar.gz
18
+ RUN tar zxvf darshan-3.4.6.tar.gz
19
+ WORKDIR /darshan-3.4.6/
20
+ RUN ./prepare.sh
19
21
20
- WORKDIR /darshan-3.4.4/
21
-
22
- RUN bash prepare.sh
23
-
24
- WORKDIR /darshan-3.4.4/darshan-util/
25
-
26
- RUN ./configure --prefix=/opt/darshan && make && make install
27
-
28
- ENV PATH=/opt/darshan/bin:$PATH
29
- ENV LD_LIBRARY_PATH=/opt/darshan/lib:$LD_LIBRARY_PATH
22
+ WORKDIR /darshan-3.4.6/darshan-util/
23
+ RUN ./configure --enable-pydarshan --enable-shared
24
+ RUN make
25
+ RUN make install
30
26
31
27
WORKDIR /
32
28
33
29
RUN git clone https://github.com/hpc-io/drishti-io
34
30
35
31
WORKDIR /drishti-io
36
32
37
- RUN pip install --upgrade pip
38
33
RUN pip install -r requirements.txt
39
34
RUN pip install .
40
35
36
+ RUN echo "/usr/local/lib/" > /etc/ld.so.conf.d/libdarshan.conf
37
+ RUN ldconfig
38
+
41
39
ENTRYPOINT ["drishti" ]
You can’t perform that action at this time.
0 commit comments