Skip to content

Setting up Jupyter with threads #1

@vchuravy

Description

@vchuravy
using IJulia
for I in 0:1.0:log(2, NCPU)
    cpus = 2^round(I)
    @show cpus
    installkernel("Julia ($cpus threads)", env=Dict("JULIA_NUM_THREADS"=>"$cpus"))
end
# Now restart Jupyter and switch kernel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions