-
Notifications
You must be signed in to change notification settings - Fork 46
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
MLJBase + PackageCompiler + Distributed => error #427
Comments
Thanks for that! What makes you think this is an issue with MLJBase and not PackageCompiler? |
@kolia to me this is a |
Same error on julia 1.5.1 On the face of it, there's some interference; whether the better fix is in However I've been using I've posted an issue at JuliaLang/PackageCompiler.jl#444, maybe someone there will have a hunch what's going on? |
One possibility might be the |
I can't reproduce the issue: % julia --project=. -q
julia> using PackageCompiler
julia> PackageCompiler.create_sysimage([:MLJBase]; sysimage_path="deps.so")
[ Info: PackageCompiler: creating system image object file, this might take a while...
julia>
% julia --project=. -q --sysimage deps.so
julia> @time using MLJBase
0.000118 seconds (1.07 k allocations: 79.719 KiB, 1634.64% compilation time)
julia> using Distributed
julia> addprocs(1)
1-element Vector{Int64}:
2
(tmp) pkg> status
Status `/tmp/Project.toml`
[a7f614a8] MLJBase v0.18.0
[9b87118b] PackageCompiler v1.2.5
julia> versioninfo()
Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, haswell) |
Yup, just retried against julia 1.5.4 and 1.6.0 with the latest |
So this issue can be closed? |
@kolia Thanks for re-checking. Very interested to hear if you are successful in making use of the package compiler for MLJBase! |
Feel free to post new issues with further related problems. |
If you make a sysimage that contains
MLJBase
, then you cannot use Distributed with that sysimage:In an env that depends on
MLJBase
andPackageCompiler
:Then from a julia session running this newly created image, Distributed errors:
The text was updated successfully, but these errors were encountered: