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
22
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 \
65 pip \
76 make \
87 git \
@@ -11,31 +10,30 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
1110 libcurl4-openssl-dev \
1211 libtool \
1312 autoconf \
14- automake
13+ zlib1g \
14+ libtool
1515RUN rm -rf /var/lib/apt/lists/*
1616
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
1921
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
3026
3127WORKDIR /
3228
3329RUN git clone https://github.com/hpc-io/drishti-io
3430
3531WORKDIR /drishti-io
3632
37- RUN pip install --upgrade pip
3833RUN pip install -r requirements.txt
3934RUN pip install .
4035
36+ RUN echo "/usr/local/lib/" > /etc/ld.so.conf.d/libdarshan.conf
37+ RUN ldconfig
38+
4139ENTRYPOINT ["drishti" ]
You can’t perform that action at this time.
0 commit comments