Closed jty-computation closed 1 year ago
Thanks for reporting. Looks like it might be an issue with Chemfiles.jl. Could you try Pkg.add("Chemfiles")
and using Chemfiles
?
(@v1.8) pkg> add Chemfiles
Resolving package versions...
No Changes to `~/.julia/environments/v1.8/Project.toml`
No Changes to `~/.julia/environments/v1.8/Manifest.toml`
julia> Pkg.add("Chemfiles"); using Chemfiles
Resolving package versions...
No Changes to `~/.julia/environments/v1.8/Project.toml`
No Changes to `~/.julia/environments/v1.8/Manifest.toml`
ERROR: InitError: UndefVarError: libchemfiles not defined
Stacktrace:
[1] chfl_version
@ ~/.julia/packages/Chemfiles/QiqBE/src/generated/cdef.jl:19 [inlined]
[2] version
@ ~/.julia/packages/Chemfiles/QiqBE/src/Chemfiles.jl:36 [inlined]
[3] __init__()
@ Chemfiles ~/.julia/packages/Chemfiles/QiqBE/src/Chemfiles.jl:145
[4] _include_from_serialized(pkg::Base.PkgId, path::String, depmods::Vector{Any})
@ Base ./loading.jl:831
[5] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt64)
@ Base ./loading.jl:1039
[6] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1315
[7] _require_prelocked(uuidkey::Base.PkgId)
@ Base ./loading.jl:1200
[8] macro expansion
@ ./loading.jl:1180 [inlined]
[9] macro expansion
@ ./lock.jl:223 [inlined]
[10] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1144
during initialization of module Chemfiles
Looks like a Chemfiles issue that others have run into too: https://github.com/chemfiles/Chemfiles.jl/issues/56.
Hopefully there will be resolution soon on the linked issue, I will keep this issue open as this does stop Molly working on M1 chips.
For future reference:
julia> versioninfo()
Julia Version 1.8.0-rc3
Commit 33f19bcbd25 (2022-07-13 19:10 UTC)
Platform Info:
OS: macOS (arm64-apple-darwin21.3.0)
CPU: 8 × Apple M1
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
Threads: 8 on 4 virtual cores
Environment:
JULIA_NUM_THREADS = 8
As mentioned on the other issue, this should be fixed in Chemfiles 0.10.3.
I encountered the below error when attempting to compile Molly on the above system configurations. Let me know if there is additional information that may be of use.