Git Product home page Git Product logo

acehal's Introduction

ACEHAL: Hyperactive Learning (HAL) Python interface for building Atomic Cluster Expansion potentials (ACE1.jl/ACE1x.jl)

This package builds ACE interatomic potentials using Hyperactive Learning (HAL). Written by Cas van der Oord and Noam Bernstein.

HAL installation:

  1. install Julia 1.8.5 and python 3.9.x (with python ase, scikit-learn, matplotlib and numpy installed)
  2. run Julia command

using Pkg; pkg"registry add https://github.com/JuliaRegistries/General"; pkg"registry add https://github.com/ACEsuit/ACEregistry"; pkg"add ACE1, ACE1x, ASE, JuLIP"

make sure you have at least ACE1 version = 0.11.4 and ACE1x = 0.0.4. Use Pkg.activate(".") to use a local project and set environment variable JULIA_PROJECT accordingly. A working Project.toml can be found in /tests/julia_assets/Project.toml

  1. install julia Python package to set up Python -> Julia connection

python -m pip install julia==0.6.1

python -c "import julia; julia.install()"

  1. Install this package by pip install . or python setup.py install after cloning this repo

ACE1 potentials in Python:

After installation of julia Python package (see 3. above) ACE1x potentials (.json) can be used by first installing pyjulip.

git clone https://github.com/casv2/pyjulip.git
cd pyjulip
pip install .

Python ASE calculators are set up using pyjulip.ACE1("filename.json")

Example scripts

Example scripts can be found in the scripts folder.

References:

If using this code please reference

@misc{van2022hyperactive,
  doi = {10.48550/ARXIV.2210.04225},
  url = {https://arxiv.org/abs/2210.04225},
  author = {van der Oord, Cas and Sachs, Matthias and Kov{\'a}cs, D{\'a}vid P{\'e}ter and Ortner, Christoph and Cs{\'a}nyi, G{\'a}bor},
  title = {Hyperactive Learning (HAL) for Data-Driven Interatomic Potentials},
  publisher = {arXiv},
  year = {2022},
}

@article{DUSSON2022110946,
title = {Atomic cluster expansion: Completeness, efficiency and stability},
journal = {Journal of Computational Physics},
volume = {454},
pages = {110946},
year = {2022},
issn = {0021-9991},
doi = {https://doi.org/10.1016/j.jcp.2022.110946},
url = {https://www.sciencedirect.com/science/article/pii/S0021999122000080},
}

acehal's People

Contributors

bernstei avatar casv2 avatar zhubonan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.