Skip to content

Commit

Permalink
Merge pull request #304 from northwesternfintech/numpy-fix
Browse files Browse the repository at this point in the history
Limit numpy threads to fix crash
  • Loading branch information
stevenewald authored Oct 12, 2024
2 parents 26d38a6 + 8d4df75 commit b25e9d6
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 b25e9d6

Please sign in to comment.