-
Notifications
You must be signed in to change notification settings - Fork 133
[WIP] Updated: Lattice dynamics workflow using hiPhive #1367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
using tags in accordance with atomate LD workflow
1. supports shengBTE, almaBTE & phono3py as of now. 2. before running any of these calculators, make sure to successfully compile them as explained on their respective websites. 3.Also, remember to put the execution command for each of these calculators in atomate2.yaml file
the decision is now made based on whether n_imaginary > 0 from the fitting_data.json @ 0K
1. largest displacement is based on the avg row (periodic table) number of the compound. 2. displacements are skewed towards the large displacement 3. # of displaced structures to generate depends on the n_structures, which depends upon the symmetry of the primitive structure 4. smallest displacement is fixed at 0.01 Å
1. added a job that creates multiples sub jobs for each hiphive fitting and then collects the fitting data & the fcs. fcp, cluster space and other properties corresponding to the best cutoff! 2. setting the min # of displ to 4 & max # of displ to 60
Trying different strategies for perturbing the atoms in the supercell -- 1. Fixed displacement 2. MC Rattle 3. MD informed displacements Adding a penalty to the displacements that are generated out of the distribution.
1. selects cutoffs based on target DOFs for 2nd, 3rd and 4th order.
2. all the functions have doctrings. 3. modified the function that generates perturbed structures 4. updated def get_cutoffs -- generates a grid of cutoffs that satisfy the given # of required DOFs for 2nd, 3rd and 4th order interaction. 5. sequentially performs the linear regression for each cutoff. 6. modified the files that are saved during the execution of workflow
2. removed files that are not required to be saved during the workflow execution.
* Bump monty from 2024.2.2 to 2024.2.26 Bumps [monty](https://github.com/materialsvirtuallab/monty) from 2024.2.2 to 2024.2.26. - [Release notes](https://github.com/materialsvirtuallab/monty/releases) - [Changelog](https://github.com/materialsvirtuallab/monty/blob/master/docs/changelog.md) - [Commits](materialyzeai/monty@v2024.2.2...v2024.2.26) --- updated-dependencies: - dependency-name: monty dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * bump pymatgen>=2024.3.1 to fix deprecation removal CI errors --------- Co-authored-by: Janosh Riebesell <[email protected]>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.2 to 8.1.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.0.2...8.1.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: utf <[email protected]> Co-authored-by: Janosh Riebesell <[email protected]>
Bumps [ipython](https://github.com/ipython/ipython) from 8.22.1 to 8.22.2. - [Release notes](https://github.com/ipython/ipython/releases) - [Commits](ipython/ipython@8.22.1...8.22.2) --- updated-dependencies: - dependency-name: ipython dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [chgnet](https://github.com/CederGroupHub/chgnet) from 0.3.4 to 0.3.5. - [Release notes](https://github.com/CederGroupHub/chgnet/releases) - [Commits](CederGroupHub/chgnet@v0.3.4...v0.3.5) --- updated-dependencies: - dependency-name: chgnet dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](pydantic/pydantic@v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [custodian](https://github.com/materialsproject/custodian) from 2024.2.15 to 2024.3.12. - [Release notes](https://github.com/materialsproject/custodian/releases) - [Changelog](https://github.com/materialsproject/custodian/blob/master/docs/changelog.md) - [Commits](materialsproject/custodian@v2024.2.15...v2024.3.12) --- updated-dependencies: - dependency-name: custodian dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [phonopy](https://phonopy.github.io/phonopy/) from 2.21.2 to 2.22.0. --- updated-dependencies: - dependency-name: phonopy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [autodoc-pydantic](https://github.com/mansenfranzen/autodoc_pydantic) from 2.0.1 to 2.1.0. - [Changelog](https://github.com/mansenfranzen/autodoc_pydantic/blob/main/CHANGELOG.md) - [Commits](mansenfranzen/autodoc_pydantic@v2.0.1...v2.1.0) --- updated-dependencies: - dependency-name: autodoc-pydantic dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.1.0 to 5.0.0. - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](pytest-dev/pytest-cov@v4.1.0...v5.0.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps python-ulid from 2.2.0 to 2.3.0. --- updated-dependencies: - dependency-name: python-ulid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [cclib](https://github.com/cclib/cclib) from 1.8 to 1.8.1. - [Release notes](https://github.com/cclib/cclib/releases) - [Commits](cclib/cclib@v1.8...v1.8.1) --- updated-dependencies: - dependency-name: cclib dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
By default the data is loaded by phonopy.load() instead of phonon.load(). Co-authored-by: Alex Ganose <[email protected]>
* Add trajectory reporter to openmm workflow * respond to janosh review * fix test * slightly stricter asserts in test_trajectory_reporter --------- Co-authored-by: Janosh Riebesell <[email protected]>
input & output VASP files
added the testing python file for hiphive
|
@janosh @hrushikesh-s This PR can be of interest to you :) |
|
Note: A modification needs to be done on hiphive: |
|
Hey @thomasloux, could you please instead make a PR against @hrushikesh-s's branch and coordinate with him to finalize #1062? |
|
Ok I'll delete the branch and PR his fork once his fork is synchronised with the main branch |
Summary
This is the updated version of #1062: the test tests/vasp/flows/test_hiphive.py runs.
TODO (if any)
Is it ready to merge? No. I mainly updated the code so the test would run. I did not check at all what was actually run.
Suspicious part to be looked at:
Checklist
Work-in-progress pull requests are encouraged, but please put [WIP] in the pull request
title.
Before a pull request can be merged, the following items must be checked:
The easiest way to handle this is to run the following in the correct sequence on
your local machine. Start with running
ruffandruff formaton your new code. This willautomatically reformat your code to PEP8 conventions and fix many linting issues.
Run ruff on your code.
type check your code.
Note that the CI system will run all the above checks. But it will be much more
efficient if you already fix most errors prior to submitting the PR. It is highly
recommended that you use the pre-commit hook provided in the repository. Simply run
pre-commit installand a check will be run prior to allowing commits.