Skip to content

Commit 0abe7dd

Browse files
committed
Dockerfile update
1 parent 4b26892 commit 0abe7dd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

codeclash/arenas/scml/SCML.Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ ENV DEBIAN_FRONTEND=noninteractive \
44
PYTHONDONTWRITEBYTECODE=1 \
55
PIP_NO_CACHE_DIR=1
66

7+
# Pin numpy/BLAS to a single math thread per container. Each SCML simulation is
8+
# single-threaded compute (measured: pinned solo == unpinned solo)
9+
ENV OMP_NUM_THREADS=1 \
10+
OPENBLAS_NUM_THREADS=1 \
11+
MKL_NUM_THREADS=1 \
12+
NUMEXPR_NUM_THREADS=1
13+
714
RUN apt-get update \
815
&& apt-get install -y --no-install-recommends \
916
ca-certificates git build-essential jq \

0 commit comments

Comments
 (0)