Skip to content

Commit

Permalink
Limit numpy threads to fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenewald committed Oct 12, 2024
1 parent 4e5df69 commit 8d4df75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exchange/docker/linter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ ENV NUTC_CPP_TEMPLATE_PATH="/app/template.cpp"

EXPOSE 18081

# Numpy
ENV OPENBLAS_NUM_THREADS=1

CMD /app/exchange/build/LINTER
3 changes: 3 additions & 0 deletions exchange/docker/sandbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ ENV NUTC_WRAPPER_BINARY_PATH="/app/exchange/build/WRAPPER"
ENV NUTC_CONFIG_FILE="/app/exchange/config.yml"
ENV NUTC_CPP_TEMPLATE_PATH="/app/template.cpp"

# Numpy
ENV OPENBLAS_NUM_THREADS=1

EXPOSE 4152 18080

ENTRYPOINT ["/app/exchange/build/NUTC"]

0 comments on commit 8d4df75

Please sign in to comment.