File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM flatironinstitute/triqs:3.3.0 as base
1+ FROM flatironinstitute/triqs:3.3.0 AS base
22LABEL maintainer="Igor Krivenko"
33LABEL description="Stochastic Optimization Method for Analytic Continuation"
44ARG APPNAME=som
55
66USER root
77RUN useradd -m -s /bin/bash -u 999 build && echo "build:build" | chpasswd
8+
9+ ENV SRC=/src BUILD=/home/build
10+
811RUN apt-get update && \
9- apt-get install -y --no-install-recommends make g++-12 apt-utils file
12+ apt-get install -y --no-install-recommends \
13+ make g++-12 apt-utils file libblas-dev libopenblas-dev
1014RUN sh -c 'echo -e "\n rmaps_base_oversubscribe = 1" >> \
1115 /etc/openmpi/openmpi-mca-params.conf'
1216
13- COPY requirements.txt /src/$APPNAME/requirements.txt
14- RUN pip3 install -r /src/$APPNAME/requirements.txt
15-
1617COPY --chown=build . $SRC/$APPNAME
1718WORKDIR $BUILD/$APPNAME
1819RUN chown build .
1920USER build
2021
21- ENV CC gcc-12
22- ENV CXX g++-12
22+ ENV CC= gcc
23+ ENV CXX= g++
2324RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} \
2425 -DCMAKE_BUILD_TYPE=Release \
2526 -DBUILD_SHARED_LIBS=ON \
You can’t perform that action at this time.
0 commit comments