Skip to content

Commit

Permalink
OPENBLAS_NUM_THREADS=1 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Sep 18, 2023
1 parent 006c4f6 commit df33a2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Malt"
uuid = "36869731-bdee-424d-aa32-cab38c994e3b"
authors = ["Sergio Alejandro Vargas <[email protected]>"]
version = "1.0.2"
version = "1.0.3"

[deps]
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Expand Down
2 changes: 1 addition & 1 deletion src/Malt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ end
const src_path = RelocatableFolders.@path @__DIR__

function _get_worker_cmd(exe=Base.julia_cmd()[1]; env, exeflags)
return addenv(`$exe --startup-file=no $exeflags $(joinpath(src_path, "worker.jl"))`, Base.byteenv(env))
return addenv(`$exe --startup-file=no $exeflags $(joinpath(src_path, "worker.jl"))`, String["OPENBLAS_NUM_THREADS=1", Base.byteenv(env)...])
end


Expand Down

0 comments on commit df33a2f

Please sign in to comment.