-
Notifications
You must be signed in to change notification settings - Fork 0
/
sst
34 lines (29 loc) · 1.29 KB
/
sst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt -y update && apt -y upgrade && \
apt -y install build-essential git m4 scons zlib1g zlib1g-dev \
libprotobuf-dev protobuf-compiler libprotoc-dev libgoogle-perftools-dev \
python3-dev python-is-python3 doxygen libboost-all-dev \
libhdf5-serial-dev python3-pydot libpng-dev libelf-dev pkg-config pip \
python3-venv wget
ENV SST_CORE_HOME="/sst/"
# SST Stuff
RUN mkdir /sst
# Download and build SST-Core without MPI support
WORKDIR /sst/
RUN wget https://github.com/sstsimulator/sst-core/releases/download/v13.0.0_Final/sstcore-13.0.0.tar.gz; \
tar xf sstcore-13.0.0.tar.gz;
WORKDIR /sst/sstcore-13.0.0/
RUN ./configure --prefix=$SST_CORE_HOME --with-python=/usr/bin/python3-config \
--disable-mpi; \
make all -j $(nproc); \
make install;
# Download and build SST-Elements
WORKDIR /sst
RUN wget https://github.com/sstsimulator/sst-elements/releases/download/v13.0.0_Final/sstelements-13.0.0.tar.gz; \
tar xf sstelements-13.0.0.tar.gz;
WORKDIR /sst/sst-elements-library-13.0.0/
RUN ./configure --prefix=$SST_CORE_HOME --with-python=/usr/bin/python3-config \
--with-sst-core=$SST_CORE_HOME; \
make all -j $(nproc); \
make install;