Skip to main content

Many-body extension of the flare code

Project description

Build Status

flare++

Major features:

  • Bayesian force fields based on sparse Gaussian process regression.
  • Multielement many-body descriptors based on the atomic cluster expansion.
  • Mapping to efficient parametric models.
  • Coupling to LAMMPS for large-scale molecular dynamics simulations.

Check out our preprint introducing flare++ here.

Demo and Instructions for Use

An introductory tutorial in Google Colab is available here. The tutorial shows how to run flare++ on energy and force data, demoing "offline" training on the MD17 dataset and "online" on-the-fly training of a simple aluminum force field. A video walkthrough of the tutorial, including detailed discussion of expected outputs, is available here.

The tutorial takes a few minutes to run on a normal desktop computer or laptop (excluding installation time).

Installation guide

The easiest way to install is with pip:

pip install flare_pp

This will take a few minutes on a normal desktop computer or laptop.

If you're installing on Harvard's compute cluster, make sure to load the following modules first:

module load cmake/3.17.3-fasrc01 python/3.6.3-fasrc01 gcc/9.3.0-fasrc01

Compiling LAMMPS

See lammps_plugins/README.md.

System requirements

Software dependencies

  • cmake>=3.14.5 (to compile the C++ source code)
  • flare (for on-the-fly training)

Operating systems

flare++ is tested with Github Actions on a Linux operating system (Ubuntu 20.04.3). You can find a summary of recent builds here.

We expect flare++ to be compatible with Mac and Windows operating systems, but can't guarantee this. If you run into issues running the code on Mac or Windows, please post to the issue board.

Hardware requirements

There are no non-standard hardware requirements to download the software and train simple models—the introductory tutorial can be run on a single cpu. To train large models (10k+ sparse environments), we recommend using a compute node with at least 100GB of RAM.

Documentation

Preliminary documentation of the C++ source code can be accessed here.

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

flare_pp-0.1.0.tar.gz (371.4 kB view details)

Uploaded Source

Built Distribution

flare_pp-0.1.0-cp36-cp36m-macosx_10_14_x86_64.whl (505.5 kB view details)

Uploaded CPython 3.6m macOS 10.14+ x86-64

File details

Details for the file flare_pp-0.1.0.tar.gz.

File metadata

  • Download URL: flare_pp-0.1.0.tar.gz
  • Upload date:
  • Size: 371.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10

File hashes

Hashes for flare_pp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b1999d697eb3c391dc32b8e611b0659d1c9e79d6e39d353dedd19d03c1dbce7f
MD5 27fbf8f224499d412b94855346f7b8a0
BLAKE2b-256 afc1f0ab4c151637017963ed32877d9342182ca268fd83941ecf4c5d3e3483d5

See more details on using hashes here.

File details

Details for the file flare_pp-0.1.0-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: flare_pp-0.1.0-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 505.5 kB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10

File hashes

Hashes for flare_pp-0.1.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 84b3739454f07cc9bc1123c8130ef1c5cccab25706570bd4ab1721ae3c30518b
MD5 931221a2d2c7a9c8537cde9dcb2d2dcc
BLAKE2b-256 2c40e8780c808c38ffd9f8ee14c902329c2927d38d05bfce90e22f18632c72aa

See more details on using hashes here.

Supported by

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