Skip to content
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

Failure in binary after compilation due to artifact IntelOpenMP #994

Open
jmaedler opened this issue Oct 29, 2024 · 1 comment
Open

Failure in binary after compilation due to artifact IntelOpenMP #994

jmaedler opened this issue Oct 29, 2024 · 1 comment

Comments

@jmaedler
Copy link

Hi guys,
I am trying to build some binaries for a model containing ModelingToolkit.jl, OrdinaryDiffEq.jl, and Open62541.jl. The compilation finishes but if I try to run the binary, I get the following error message:

Image

Clearly, this is related to some artifact related to IntelOpenMP, but since I am completely new to PackageCompiler.jl and still fairly new to Julia, I am a bit lost in debugging this error. Do you have any suggestions, what I could do?

@KristofferC
Copy link
Member

The error happens because there are some JLLs with "lazy dependencies" that have been put into the sysimage. When the sysimage loads, these JLLs will try to download their lazy artifacts and for some reason, this fails.

  • You can try include_transitive_dependencies=false and see if it does something (in the case where e.g. MKL is more of an optional dependency and not used).
  • You can also try include_lazy_artifacts=true to bundle these lazy artifacts (but pay attention to the resulting file size of your app).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants