Note that we have Hwloc.jl, which also downloads the library via Hwloc_jll.jl.
Depending on the details of the machine, just setting JULIA_EXCLUSIVE=1
might do the job (i.e. pin julia threads to physical cpus). Otherwise, numactl
and likwid-pin
could be options, see this discussion for more information.