Skip to main content

Fast Learning of Atomistic Rare Events

Project description

Build Status documentation pypi activity codecov

FLARE: Fast Learning of Atomistic Rare Events

FLARE is an open-source Python package for creating fast and accurate atomistic potentials. Documentation of the code can be accessed here: https://flare.readthedocs.io/

We have an introductory tutorial in Google Colab available here.

Major Features

  • Gaussian Process Force Fields

    • 2- and 3-body multi-element kernels
    • Maximum likelihood hyperparameter optimization
  • On-the-Fly Training

    • Coupling to Quantum Espresso, CP2K, and VASP DFT engines
  • Mapped Gaussian Processes

    • Mapping to efficient cubic spline models
  • ASE Interface

    • ASE calculator for GP models
    • On-the-fly training with ASE MD engines
  • Module for training GPs from AIMD trajectories

Prerequisites

  1. To train a potential on the fly, you need a working installation of Quantum ESPRESSO or CP2K.
  2. FLARE requires Python 3 with the packages specified in requirements.txt. This is taken care of by pip.

Installation

FLARE can be installed in two different ways.

  1. Download and install automatically:
    pip install mir-flare
    
  2. Download this repository and install (required for unit tests):
    git clone https://github.com/mir-group/flare
    cd flare
    pip install .
    

Tests

We recommend running unit tests to confirm that FLARE is running properly on your machine. We have implemented our tests using the pytest suite. You can call pytest from the command line in the tests directory to validate that Quantum ESPRESSO or CP2K are working correctly with FLARE.

Instructions (either DFT package will suffice):

pip install pytest
cd tests
PWSCF_COMMAND=/path/to/pw.x CP2K_COMMAND=/path/to/cp2k pytest

References

If you use FLARE in your research, or any part of this repo (such as the GP implementation), please cite the following paper:

[1] Jonathan Vandermause, Steven B. Torrisi, Simon Batzner, Yu Xie, Lixin Sun, Alexie M. Kolpak, and Boris Kozinsky. On-the-fly active learning of interpretable Bayesian force fields for atomistic rare events. npj Computational Materials 6, 20 (2020), https://doi.org/10.1038/s41524-020-0283-z

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mir-flare-0.1.1.tar.gz (156.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mir_flare-0.1.1-py3-none-any.whl (193.2 kB view details)

Uploaded Python 3

File details

Details for the file mir-flare-0.1.1.tar.gz.

File metadata

  • Download URL: mir-flare-0.1.1.tar.gz
  • Upload date:
  • Size: 156.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.10

File hashes

Hashes for mir-flare-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d3c5ee5b4b4498f98d6ec0cdf0cde35ee35cca5b3d32a842ccff36f12232e127
MD5 f8b4102c37a6f497e80851df50c270ea
BLAKE2b-256 959b021893d6c1720d07ace4920d35a15de49f5dc174aa43003ccfca0b9d6a62

See more details on using hashes here.

File details

Details for the file mir_flare-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mir_flare-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 193.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.0

File hashes

Hashes for mir_flare-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 00579f75a3af16d14adc4022b204bbd13a5aee4b19ece59d94aae9608af5ac04
MD5 1964a383a503d01d3e8439f78014a0dd
BLAKE2b-256 c0e09a8bccf3cbe861569ac8c99000d5a21f8e527f94f2b9abd2bd4766c39cb7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page