carstenbauer / ThreadPinning.jl

Readily pin Julia threads to CPU-threads
https://carstenbauer.github.io/ThreadPinning.jl/
MIT License
106 stars 7 forks source link

More robust precompilation #77

Closed carstenbauer closed 1 year ago

carstenbauer commented 1 year ago

Closes #75

carstenbauer commented 1 year ago

@giordano, can you please confirm that this is working on Fugaku?

giordano commented 1 year ago

For the record, I can confirm this makes precompilation successful on Fugaku out-of-the-box:

$ julia -t 48 -q
(v1.9) pkg> activate --temp
  Activating new project at `/tmp/jl_7PbLOy`

(jl_7PbLOy) pkg> add ThreadPinning#main
    Updating git-repo `https://github.com/carstenbauer/ThreadPinning.jl.git`
   Resolving package versions...
    Updating `/tmp/jl_7PbLOy/Project.toml`
  [811555cd] + ThreadPinning v0.7.11 `https://github.com/carstenbauer/ThreadPinning.jl.git#main`
    Updating `/tmp/jl_7PbLOy/Manifest.toml`
  [8bb1440f] + DelimitedFiles v1.9.1
  [ffbed154] + DocStringExtensions v0.9.3
  [aea7be01] + PrecompileTools v1.1.2
  [21216c6a] + Preferences v1.4.0
  [811555cd] + ThreadPinning v0.7.11 `https://github.com/carstenbauer/ThreadPinning.jl.git#main`
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [de0858da] + Printf
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [fa267f1f] + TOML v1.0.3
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v1.0.5+0
  [4536629a] + OpenBLAS_jll v0.3.21+4
  [8e850b90] + libblastrampoline_jll v5.8.0+0
Precompiling project...
  1 dependency successfully precompiled in 57 seconds. 5 already precompiled.

julia> using ThreadPinning

julia>

Thanks!