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

Unable to install HELICS.jl with Julia "pkg" REPL #35

Open
trevorhardy opened this issue Jan 13, 2025 · 2 comments
Open

Unable to install HELICS.jl with Julia "pkg" REPL #35

trevorhardy opened this issue Jan 13, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@trevorhardy
Copy link
Contributor

When adding HELICS via the Julia "pkg" REPL an error is returned. It looks like the Julia package manager is aware of HELICS v3.6.0 but reports HELICS v3.4.0 gets installed.

pkg> add HELICS
...
Installed HELICS_jll ──── v3.6.0+0
...
Downloaded artifact: HELICS
    Updating `~/src/HELICS/HELICS-Examples/user_guide_examples/advanced/advanced_default_julia/HELICS/Project.toml`
  [81524022] + HELICS v3.4.0
    Updating `~/src/HELICS/HELICS-Examples/user_guide_examples/advanced/advanced_default_julia/HELICS/Manifest.toml`
...
Precompiling project...
  ✗ HELICS
  7 dependencies successfully precompiled in 8 seconds. 23 already precompiled.
  1 dependency errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`
julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:

HELICS 

Failed to precompile HELICS [81524022-8764-5038-b61c-08cb1f58760f] to "/Users/hard312/.julia/compiled/v1.11/HELICS/jl_hGC67N".
ERROR: LoadError: MethodError: no method matching doc(::Base.Docs.Binding)
The function `doc` exists, but no method is defined for this combination of argument types.
Stacktrace:
 [1] _enum_doc_string(enum_type::Type)
   @ HELICS ~/.julia/packages/HELICS/UoiMq/src/enums.jl:60
 [2] top-level scope
   @ ~/.julia/packages/HELICS/UoiMq/src/enums.jl:80
 [3] include(mod::Module, _path::String)
   @ Base ./Base.jl:557
 [4] include(x::String)
   @ HELICS ~/.julia/packages/HELICS/UoiMq/src/HELICS.jl:1
 [5] top-level scope
   @ ~/.julia/packages/HELICS/UoiMq/src/HELICS.jl:32
 [6] include
   @ ./Base.jl:557 [inlined]
 [7] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2881
 [8] top-level scope
   @ stdin:6
in expression starting at /Users/hard312/.julia/packages/HELICS/UoiMq/src/enums.jl:80
in expression starting at /Users/hard312/.julia/packages/HELICS/UoiMq/src/HELICS.jl:1
in expression starting at stdin:
pkg> status HELICS
Status `~/src/HELICS/HELICS-Examples/user_guide_examples/advanced/advanced_default_julia/HELICS/Project.toml`
  [81524022] HELICS v3.4.0
@trevorhardy trevorhardy added the bug Something isn't working label Jan 13, 2025
@trevorhardy trevorhardy changed the title Unable to install with Julia "pkg" REPL Unable to install HELICS.jl with Julia "pkg" REPL Jan 13, 2025
@nightlark nightlark assigned afisher1 and unassigned nightlark Jan 13, 2025
@nightlark
Copy link
Member

nightlark commented Jan 13, 2025

I updated the Yggdrasil package (helics_jll) for version 3.6.0 which provides the precompiled shared libraries for many cpu architecture/OS combinations, but the HELICS.jl wrapper is a separate package.

It looks like @afisher1 has done the version updates for the Julia wrapper in the past after Dheepak.

@josephmckinsey
Copy link
Contributor

I have added a very simple fix and updated some things to 3.6: #36

We should also take the time here to fix the actions and update them before a real release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants