carstenbauer / ThreadPinning.jl

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

Print affinity info to correct IO stream #97

Closed jagot closed 1 month ago

jagot commented 1 month ago

I noticed when playing around with ThreadPinning.jl and MPI.jl that when redirecting the output of different MPI ranks to separate files, the affinity information was printed to the main log file.

carstenbauer commented 1 month ago

Thank you for the PR! However, I'm currently rewriting the package (should be done by next week) where this issue is already fixed. For this reason, I'm afraid it doesn't make much sense to merge this now.

(See branch cb/revamp if you're curious.)

jagot commented 1 month ago

Yes, I noticed it a few moments later 😂