Install and run examples

Add registries

Open a Julia REPL ($ julia), type ] to enter the Pkg REPL, and add the following registries:

    pkg> registry add https://github.com/JuliaRegistries/General
    pkg> registry add https://github.com/cesmix-mit/CESMIX.git 
    pkg> registry add https://github.com/JuliaMolSim/MolSim.git
    pkg> registry add https://github.com/ACEsuit/ACEregistry

Clone repository to access example folders

Clone PotentialLearning.jl repository in your working directory.

    $ git clone https://github.com/cesmix-mit/PotentialLearning.jl.git

Access to any folder within PotentialLearning.jl/examples. E.g.

    $ cd PotentialLearning.jl/examples/DPP-ACE-aHfO2-1

Run example

Open a Julia REPL, activate the examples folder project, and define the number of threads.

    $ julia --project=./ --threads=4

Type ] to enter the Pkg REPL and instantiate.

    pkg> instantiate

Finally, include the example file.

    julia> include("fit-dpp-ace-ahfo2.jl")