Skip to main content

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/

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. https://arxiv.org/abs/1904.02042

Metadata

Release files for mir-flare 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mir-flare 0.0.7
File Size Uploaded
mir-flare-0.0.7.tar.gz 88.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mir-flare 0.0.7
File Interpreter ABI Platform
mir_flare-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 192.1 kB

Release files / mir-flare-0.0.7.tar.gz

Download URL mir-flare-0.0.7.tar.gz
Size 88.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f48f6d196e5bdecea5d8532bea9073d3d5039b7081f0e4d2b484825b9ceee3dc
BLAKE2b-256 checksum
How to use checksums
e2e54b479e04979ea105b83f49daa68c13219183fb77bc9ee165931e0989beb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / mir_flare-0.0.7-py3-none-any.whl

Download URL mir_flare-0.0.7-py3-none-any.whl
Size 103.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4714b7b4dd3b4b16e50e24c00eb03f326b58a039af8fd971179fb3c1320816b
BLAKE2b-256 checksum
How to use checksums
3934e0d88ffd39d1f0b167469a8a0045b5579bb84395eae5430d3e906893d37b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

1.4.0

1 release file

1.3.3

1 release file

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

1 release file

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

This release

0.0.7 This release

2 release files

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page