10BC0 PotentialLearning main fails to precompile · Issue #62 · cesmix-mit/PotentialLearning.jl · GitHub
[go: up one dir, main page]

Skip to content

PotentialLearning main fails to precompile #62

@vchuravy

Description

@vchuravy

Output of status on Julia 1.9

(PotentialLearning) pkg> st
Project PotentialLearning v0.2.2
Status `~/src/PotentialLearning/Project.toml`
  [a963bdd2] AtomsBase v0.3.5
  [aaaa29a8] Clustering v0.15.7
  [2673d5e8] Determinantal v0.2.0
  [31c24e10] Distributions v0.25.107
  [587475ba] Flux v0.14.15
  [a9efe35a] InteratomicPotentials v0.2.6
  [c8e1da08] IterTools v1.10.0
  [429524aa] Optim v1.9.3
⌃ [7f7a1694] Optimization v3.20.2
⌃ [36348300] OptimizationOptimJL v0.1.14
⌃ [42dfb2eb] OptimizationOptimisers v0.1.6
  [bac558e1] OrderedCollections v1.6.3
  [49802e3a] ProgressBars v1.5.1
  [90137ffa] StaticArrays v1.9.3
  [1986cc42] Unitful v1.19.0
  [a7773ee8] UnitfulAtomic v1.0.0
  [ddb6d928] YAML v0.4.9
  [e88e6eb3] Zygote v0.6.69
  [37e2e46d] LinearAlgebra
  [de0858da] Printf
  [9a3f8284] Random
  [10745b16] Statistics v1.9.0
Info Packages marked with ⌃ have new versions available and may be upgradable.

Fails with

julia> using PotentialLearning
[ Info: Precompiling PotentialLearning [82b0a93c-c2e3-44bc-a418-f0f89b0ae5c2]
ERROR: LoadError: UndefVarError: `NNBasisPotential` not defined
Stacktrace:
  [1] top-level scope
    @ ~/src/PotentialLearning/src/Data/utils.jl:108
  [2] include(mod::Module, _path::String)
    @ Base ./Base.jl:457
  [3] include(x::String)
    @ PotentialLearning ~/src/PotentialLearning/src/PotentialLearning.jl:1
  [4] top-level scope

This might be because on this machine I only have the native registry, but then Project.toml should declare compat requirements and the README.md should include the required registries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0