Skip to content

Instantly share code, notes, and snippets.

@orenbenkiki
orenbenkiki / closed.trace.txt
Created July 5, 2021 10:32
Errors running dt_foreach test in Snarl.jl commit 8d82051
Activating environment at `~/julia/Snarl/Project.toml`
Testing Snarl
Status `/tmp/jl_DAlxOw/Project.toml`
[d06fb421] Snarl v0.1.0 `~/julia/Snarl`
[ade2ca70] Dates `@stdlib/Dates`
[8ba89e20] Distributed `@stdlib/Distributed`
[56ddb016] Logging `@stdlib/Logging`
[9a3f8284] Random `@stdlib/Random`
[1a1011a3] SharedArrays `@stdlib/SharedArrays`
[8dfed614] Test `@stdlib/Test`
@orenbenkiki
orenbenkiki / Bug.jl
Created July 6, 2021 11:35
Julia Mixing Worker Processes and Threads Bug
using Distributed
@assert size(ARGS)[1] == 3
@assert ARGS[3] == "verbose" || ARGS[3] == "quiet"
local_processes = parse(Int, ARGS[1])
local_iterations = parse(Int, ARGS[2])
local_verbose = ARGS[3] == "verbose"
Distributed.addprocs(local_processes)