atomate2


Nameatomate2 JSON
Version 0.0.14 PyPI version JSON
download
home_page
Summaryatomate2 is a library of materials science workflows
upload_time2024-02-29 14:34:54
maintainer
docs_urlNone
author
requires_python>=3.9
licensemodified BSD
keywords automated dft high-throughput vasp workflow
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # atomate2

[![tests](https://img.shields.io/github/actions/workflow/status/materialsproject/atomate2/testing.yml?branch=main&label=tests)](https://github.com/materialsproject/atomate2/actions?query=workflow%3Atesting)
[![code coverage](https://img.shields.io/codecov/c/gh/materialsproject/atomate2)](https://codecov.io/gh/materialsproject/atomate2)
[![pypi version](https://img.shields.io/pypi/v/atomate2?color=blue)](https://pypi.org/project/atomate2)
![supported python versions](https://img.shields.io/pypi/pyversions/atomate2)
[![Zenodo](https://img.shields.io/badge/DOI-10.5281/zenodo.10677081-blue?logo=Zenodo&logoColor=white)](https://zenodo.org/records/10677081)

[Documentation][docs] | [PyPI][pypi] | [GitHub][github]

Atomate2 is a free, open-source software for performing complex materials science
workflows using simple Python functions. Features of atomate2 include

- It is built on open-source libraries: [pymatgen], [custodian], [jobflow], and
  [FireWorks].
- A library of "standard" workflows to compute a wide variety of desired materials
  properties.
- The ability scale from a single material, to 100 materials, or 100,000 materials.
- Easy routes to modifying and chaining workflows together.
- It can build large databases of output properties that you can query, analyze, and
  share in a systematic way.
- It automatically keeps meticulous records of jobs, their directories, runtime
  parameters, and more.

**Note**: Atomate2 is primarily built to work with the [VASP] electronic structure
software, but we are actively working on adding more codes.

## Workflows

Some of the workflows available in atomate2 are:

- electronic band structures
- elastic, dielectric, and piezoelectric tensors
- one-shot electron-phonon interactions
- electronic transport using [AMSET]
- phonons using [phonopy]
- defect formation energy diagrams
- [Lobster] bonding analysis with [lobsterpy]

It is easy to customise and compose any of the above workflows.

## Quick start

Workflows in atomate2 are written using the [jobflow] library. Workflows are generated using
`Maker` objects which have a consistent API for modifying input settings and chaining
workflows together. Below, we demonstrate how to run a band structure workflow
(see the [documentation][RelaxBandStructure] for more details). In total, 4 VASP
calculations will be performed:

1. A structural optimisation.
2. A self-consistent static calculation on the relaxed geometry.
3. A non-self-consistent calculation on a uniform k-point mesh (for the density of
   states).
4. A non-self-consistent calculation on a high symmetry k-point path (for the line mode
   band structure).

```py
from atomate2.vasp.flows.core import RelaxBandStructureMaker
from jobflow import run_locally
from pymatgen.core import Structure

# construct a rock salt MgO structure
mgo_structure = Structure(
    lattice=[[0, 2.13, 2.13], [2.13, 0, 2.13], [2.13, 2.13, 0]],
    species=["Mg", "O"],
    coords=[[0, 0, 0], [0.5, 0.5, 0.5]],
)

# make a band structure flow to optimise the structure and obtain the band structure
bandstructure_flow = RelaxBandStructureMaker().make(mgo_structure)

# run the flow
run_locally(bandstructure_flow, create_folders=True)
```

Before the above code can run successfully, you'll need to

- tell pymatgen where to [find your pseudopotential files](https://pymatgen.org/installation.html#potcar-setup)
- tell atomate2 where to find your VASP binary
- (optionally) prepare an external database to store the job output

See the [installation] steps for details how to set all of this up.

In this example, we execute the workflow immediately. In many cases, you might want
to perform calculations on several materials simultaneously. To achieve this, all
atomate2 workflows can be run using the [FireWorks] software. See the
[documentation][atomate2_fireworks] for more details.

## Installation

Atomate2 is a Python 3.8+ library and can be installed using pip. Full installation
and configuration instructions are provided in the [installation tutorial][installation].

## Tutorials

The documentation includes comprehensive tutorials and reference information to get you
started:

- [Introduction to running workflows][running-workflows]
- [Using atomate2 with FireWorks][atomate2_fireworks]
- [List of VASP workflows][vasp_workflows]

## Need help?

Ask questions about atomate2 on the [atomate2 support forum][help-forum].
If you've found an issue with atomate2, please submit a bug report on [GitHub Issues][issues].

## What’s new?

Track changes to atomate2 through the [changelog][changelog].

## Contributing

We greatly appreciate any contributions in the form of a pull request.
Additional information on contributing to atomate2 can be found [here][contributing].
We maintain a list of all contributors [here][contributors].

## License

Atomate2 is released under a modified BSD license; the full text can be found [here][license].

## Acknowledgements

The development of atomate2 has benefited from many people across several research groups.
A full list of contributors can be found [here][contributors].

## Citing atomate2

A journal submission for `atomate2` is planned. In the meantime, please use [`citation.cff`](citation.cff) and the [Zenodo record](https://zenodo.org/badge/latestdoi/306414371) to cite `atomate2`.

```bib
@software{ganose_atomate2_2024,
  author = {Ganose, Alex and Riebesell, Janosh and George, J. and Shen, Jimmy and S. Rosen, Andrew and Ashok Naik, Aakash and nwinner and Wen, Mingjian and rdguha1995 and Kuner, Matthew and Petretto, Guido and Zhu, Zhuoying and Horton, Matthew and Sahasrabuddhe, Hrushikesh and Kaplan, Aaron and Schmidt, Jonathan and Ertural, Christina and Kingsbury, Ryan and McDermott, Matt and Goodall, Rhys and Bonkowski, Alexander and Purcell, Thomas and Zügner, Daniel and Qi, Ji},
  doi = {10.5281/zenodo.10677081},
  license = {cc-by-4.0},
  month = jan,
  title = {atomate2},
  url = {https://github.com/materialsproject/atomate2},
  version = {0.0.13},
  year = {2024}
}
```

[pymatgen]: https://pymatgen.org
[fireworks]: https://materialsproject.github.io/fireworks/
[jobflow]: https://materialsproject.github.io/jobflow/
[custodian]: https://materialsproject.github.io/custodian/
[VASP]: https://www.vasp.at
[AMSET]: https://hackingmaterials.lbl.gov/amset/
[help-forum]: https://matsci.org/c/atomate
[issues]: https://github.com/materialsproject/atomate2/issues
[changelog]: https://materialsproject.github.io/atomate2/about/changelog.html
[installation]: https://materialsproject.github.io/atomate2/user/install.html
[contributing]: https://materialsproject.github.io/atomate2/about/contributing.html
[contributors]: https://materialsproject.github.io/atomate2/about/contributors.html
[license]: https://raw.githubusercontent.com/materialsproject/atomate2/main/LICENSE
[running-workflows]: https://materialsproject.github.io/atomate2/user/running-workflows.html
[atomate2_fireworks]: https://materialsproject.github.io/atomate2/user/fireworks.html
[vasp_workflows]: https://materialsproject.github.io/atomate2/user/codes/vasp.html
[RelaxBandStructure]: https://materialsproject.github.io/atomate2/user/codes/vasp.html#relax-and-band-structure
[Lobster]: http://www.cohp.de
[lobsterpy]: https://github.com/JaGeo/LobsterPy
[phonopy]: https://github.com/phonopy/phonopy
[docs]: https://materialsproject.github.io/atomate2/
[github]: https://github.com/materialsproject/atomate2
[pypi]: https://pypi.org/project/atomate2

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "atomate2",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "automated,dft,high-throughput,vasp,workflow",
    "author": "",
    "author_email": "Alex Ganose <alexganose@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/76/bf/4f774db85c781ceb382e59a236297ed6d2b44d2ce1c9d9720dd5c84f8d87/atomate2-0.0.14.tar.gz",
    "platform": null,
    "description": "# atomate2\n\n[![tests](https://img.shields.io/github/actions/workflow/status/materialsproject/atomate2/testing.yml?branch=main&label=tests)](https://github.com/materialsproject/atomate2/actions?query=workflow%3Atesting)\n[![code coverage](https://img.shields.io/codecov/c/gh/materialsproject/atomate2)](https://codecov.io/gh/materialsproject/atomate2)\n[![pypi version](https://img.shields.io/pypi/v/atomate2?color=blue)](https://pypi.org/project/atomate2)\n![supported python versions](https://img.shields.io/pypi/pyversions/atomate2)\n[![Zenodo](https://img.shields.io/badge/DOI-10.5281/zenodo.10677081-blue?logo=Zenodo&logoColor=white)](https://zenodo.org/records/10677081)\n\n[Documentation][docs] | [PyPI][pypi] | [GitHub][github]\n\nAtomate2 is a free, open-source software for performing complex materials science\nworkflows using simple Python functions. Features of atomate2 include\n\n- It is built on open-source libraries: [pymatgen], [custodian], [jobflow], and\n  [FireWorks].\n- A library of \"standard\" workflows to compute a wide variety of desired materials\n  properties.\n- The ability scale from a single material, to 100 materials, or 100,000 materials.\n- Easy routes to modifying and chaining workflows together.\n- It can build large databases of output properties that you can query, analyze, and\n  share in a systematic way.\n- It automatically keeps meticulous records of jobs, their directories, runtime\n  parameters, and more.\n\n**Note**: Atomate2 is primarily built to work with the [VASP] electronic structure\nsoftware, but we are actively working on adding more codes.\n\n## Workflows\n\nSome of the workflows available in atomate2 are:\n\n- electronic band structures\n- elastic, dielectric, and piezoelectric tensors\n- one-shot electron-phonon interactions\n- electronic transport using [AMSET]\n- phonons using [phonopy]\n- defect formation energy diagrams\n- [Lobster] bonding analysis with [lobsterpy]\n\nIt is easy to customise and compose any of the above workflows.\n\n## Quick start\n\nWorkflows in atomate2 are written using the [jobflow] library. Workflows are generated using\n`Maker` objects which have a consistent API for modifying input settings and chaining\nworkflows together. Below, we demonstrate how to run a band structure workflow\n(see the [documentation][RelaxBandStructure] for more details). In total, 4 VASP\ncalculations will be performed:\n\n1. A structural optimisation.\n2. A self-consistent static calculation on the relaxed geometry.\n3. A non-self-consistent calculation on a uniform k-point mesh (for the density of\n   states).\n4. A non-self-consistent calculation on a high symmetry k-point path (for the line mode\n   band structure).\n\n```py\nfrom atomate2.vasp.flows.core import RelaxBandStructureMaker\nfrom jobflow import run_locally\nfrom pymatgen.core import Structure\n\n# construct a rock salt MgO structure\nmgo_structure = Structure(\n    lattice=[[0, 2.13, 2.13], [2.13, 0, 2.13], [2.13, 2.13, 0]],\n    species=[\"Mg\", \"O\"],\n    coords=[[0, 0, 0], [0.5, 0.5, 0.5]],\n)\n\n# make a band structure flow to optimise the structure and obtain the band structure\nbandstructure_flow = RelaxBandStructureMaker().make(mgo_structure)\n\n# run the flow\nrun_locally(bandstructure_flow, create_folders=True)\n```\n\nBefore the above code can run successfully, you'll need to\n\n- tell pymatgen where to [find your pseudopotential files](https://pymatgen.org/installation.html#potcar-setup)\n- tell atomate2 where to find your VASP binary\n- (optionally) prepare an external database to store the job output\n\nSee the [installation] steps for details how to set all of this up.\n\nIn this example, we execute the workflow immediately. In many cases, you might want\nto perform calculations on several materials simultaneously. To achieve this, all\natomate2 workflows can be run using the [FireWorks] software. See the\n[documentation][atomate2_fireworks] for more details.\n\n## Installation\n\nAtomate2 is a Python 3.8+ library and can be installed using pip. Full installation\nand configuration instructions are provided in the [installation tutorial][installation].\n\n## Tutorials\n\nThe documentation includes comprehensive tutorials and reference information to get you\nstarted:\n\n- [Introduction to running workflows][running-workflows]\n- [Using atomate2 with FireWorks][atomate2_fireworks]\n- [List of VASP workflows][vasp_workflows]\n\n## Need help?\n\nAsk questions about atomate2 on the [atomate2 support forum][help-forum].\nIf you've found an issue with atomate2, please submit a bug report on [GitHub Issues][issues].\n\n## What\u2019s new?\n\nTrack changes to atomate2 through the [changelog][changelog].\n\n## Contributing\n\nWe greatly appreciate any contributions in the form of a pull request.\nAdditional information on contributing to atomate2 can be found [here][contributing].\nWe maintain a list of all contributors [here][contributors].\n\n## License\n\nAtomate2 is released under a modified BSD license; the full text can be found [here][license].\n\n## Acknowledgements\n\nThe development of atomate2 has benefited from many people across several research groups.\nA full list of contributors can be found [here][contributors].\n\n## Citing atomate2\n\nA journal submission for `atomate2` is planned. In the meantime, please use [`citation.cff`](citation.cff) and the [Zenodo record](https://zenodo.org/badge/latestdoi/306414371) to cite `atomate2`.\n\n```bib\n@software{ganose_atomate2_2024,\n  author = {Ganose, Alex and Riebesell, Janosh and George, J. and Shen, Jimmy and S. Rosen, Andrew and Ashok Naik, Aakash and nwinner and Wen, Mingjian and rdguha1995 and Kuner, Matthew and Petretto, Guido and Zhu, Zhuoying and Horton, Matthew and Sahasrabuddhe, Hrushikesh and Kaplan, Aaron and Schmidt, Jonathan and Ertural, Christina and Kingsbury, Ryan and McDermott, Matt and Goodall, Rhys and Bonkowski, Alexander and Purcell, Thomas and Z\u00fcgner, Daniel and Qi, Ji},\n  doi = {10.5281/zenodo.10677081},\n  license = {cc-by-4.0},\n  month = jan,\n  title = {atomate2},\n  url = {https://github.com/materialsproject/atomate2},\n  version = {0.0.13},\n  year = {2024}\n}\n```\n\n[pymatgen]: https://pymatgen.org\n[fireworks]: https://materialsproject.github.io/fireworks/\n[jobflow]: https://materialsproject.github.io/jobflow/\n[custodian]: https://materialsproject.github.io/custodian/\n[VASP]: https://www.vasp.at\n[AMSET]: https://hackingmaterials.lbl.gov/amset/\n[help-forum]: https://matsci.org/c/atomate\n[issues]: https://github.com/materialsproject/atomate2/issues\n[changelog]: https://materialsproject.github.io/atomate2/about/changelog.html\n[installation]: https://materialsproject.github.io/atomate2/user/install.html\n[contributing]: https://materialsproject.github.io/atomate2/about/contributing.html\n[contributors]: https://materialsproject.github.io/atomate2/about/contributors.html\n[license]: https://raw.githubusercontent.com/materialsproject/atomate2/main/LICENSE\n[running-workflows]: https://materialsproject.github.io/atomate2/user/running-workflows.html\n[atomate2_fireworks]: https://materialsproject.github.io/atomate2/user/fireworks.html\n[vasp_workflows]: https://materialsproject.github.io/atomate2/user/codes/vasp.html\n[RelaxBandStructure]: https://materialsproject.github.io/atomate2/user/codes/vasp.html#relax-and-band-structure\n[Lobster]: http://www.cohp.de\n[lobsterpy]: https://github.com/JaGeo/LobsterPy\n[phonopy]: https://github.com/phonopy/phonopy\n[docs]: https://materialsproject.github.io/atomate2/\n[github]: https://github.com/materialsproject/atomate2\n[pypi]: https://pypi.org/project/atomate2\n",
    "bugtrack_url": null,
    "license": "modified BSD",
    "summary": "atomate2 is a library of materials science workflows",
    "version": "0.0.14",
    "project_urls": {
        "changelog": "https://github.com/materialsproject/atomate2/blob/main/CHANGELOG.md",
        "documentation": "https://materialsproject.github.io/atomate2/",
        "homepage": "https://materialsproject.github.io/atomate2/",
        "repository": "https://github.com/materialsproject/atomate2"
    },
    "split_keywords": [
        "automated",
        "dft",
        "high-throughput",
        "vasp",
        "workflow"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "40e7f183dc0086b985d581f9dd7f3cf5beade59480853eb9c94c7df411c8d2df",
                "md5": "958620ef770cd94937178ff8c43d22a3",
                "sha256": "fe47b4c90787cd568baadbf79d8da99b24db7b38f5318409ce8698dc22349f21"
            },
            "downloads": -1,
            "filename": "atomate2-0.0.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "958620ef770cd94937178ff8c43d22a3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 284761,
            "upload_time": "2024-02-29T14:34:52",
            "upload_time_iso_8601": "2024-02-29T14:34:52.750172Z",
            "url": "https://files.pythonhosted.org/packages/40/e7/f183dc0086b985d581f9dd7f3cf5beade59480853eb9c94c7df411c8d2df/atomate2-0.0.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "76bf4f774db85c781ceb382e59a236297ed6d2b44d2ce1c9d9720dd5c84f8d87",
                "md5": "b42a9ede19ac13934414366992202ea1",
                "sha256": "6ecde813d36f970f13a1c62d54b50dabeefe3f319c8ca3ce3c8a643455607a51"
            },
            "downloads": -1,
            "filename": "atomate2-0.0.14.tar.gz",
            "has_sig": false,
            "md5_digest": "b42a9ede19ac13934414366992202ea1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 225970,
            "upload_time": "2024-02-29T14:34:54",
            "upload_time_iso_8601": "2024-02-29T14:34:54.608763Z",
            "url": "https://files.pythonhosted.org/packages/76/bf/4f774db85c781ceb382e59a236297ed6d2b44d2ce1c9d9720dd5c84f8d87/atomate2-0.0.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-29 14:34:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "materialsproject",
    "github_project": "atomate2",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "atomate2"
}
        
Elapsed time: 0.19360s