Skip to content

Commit

Permalink
Revert "Test setting OPENBLAS_NUM_THREADS=1 on windows for Malt.Worker"
Browse files Browse the repository at this point in the history
This reverts commit 45e6e1b.
  • Loading branch information
fonsp committed Sep 18, 2023
1 parent d542e4c commit 07101de
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/evaluation/WorkspaceManager.jl
Original file line number Diff line number Diff line change
Expand Up @@ -284,12 +284,8 @@ function create_workspaceprocess(WorkerType; compiler_options=CompilerOptions(),
Status.report_business_started!(status, Symbol(1))
Status.report_business_planned!(status, Symbol(2))

# NOTE: Test to reduce the required memory on windows
# .... see https://github.com/JuliaLang/julia/pull/47803
# .... the same fix can maybe be applied to other os?
env = Sys.iswindows() && WorkerType == Malt.Worker ? String["OPENBLAS_NUM_THREADS=1"] : String[]
worker = WorkerType(; exeflags=_convert_to_flags(compiler_options), env)

worker = WorkerType(; exeflags=_convert_to_flags(compiler_options))

Status.report_business_finished!(status, Symbol(1))
Status.report_business_started!(status, Symbol(2))

Expand Down

0 comments on commit 07101de

Please sign in to comment.