-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiversioning is order dependent? #50148
Comments
So For |
One thing we discussed is to safe the cpu_target string of the sysimg and use that as a default for pkgimages. @simonbyrne for you this would be identical to setting: x-ref: JuliaCI/julia-buildkite#298 |
Yes, that appears to work (in that it doesn't trigger recompilation).
That also works. |
So from https://docs.julialang.org/en/v1/devdocs/sysimg/#Specifying-multiple-system-image-targets
and
E.g. @pchintalapudi raised the point offline that this is a non-ideal default and we probably should make |
This may be related to #54464 where we found that |
IIUC, the order-dependence in this issue is intentional. You can argue clone_all should be the default, but I think the current behavior makes sense. #54464 looks like a different issue. |
I'm on a HPC system with a few different architectures:
Login node is skylake
and a broadwell compute node
I'm calling
Pkg.precompile()
on the login node, thenusing CUDA
on the compute node.1. the default
If I don't set anything, then loading CUDA on the compute node will trigger precompilation again. Setting
JULIA_DEBUG=all
, I get the following warning(and similar for CUDA.jl's deps)
2. setting
JULIA_CPU_TARGET=broadwell
Since
broadwell
is supported by both nodes, this seems to work as intended. I do get the following warning:but it doesn't appear to cause any issues (perhaps since Statistics isn't built as a pkgimage?).
3. setting
JULIA_CPU_TARGET='skylake;broadwell'
This does not appear to work, and gives the same behavior as 1:
(and similar for dependencies)
cc @vchuravy
The text was updated successfully, but these errors were encountered: