Releases: Quantum-Accelerators/quacc
v0.4.6: More Flexibility = More Power
0.4.6
This update introduces breaking (but beneficial) changes to the way complex workflows are designed (mostly those based on the @subflow
pattern). Now, it is possible to modify the executor of any constituent Job in a workflow. Refer to the updated documentation.
Added
- The
WORKFLOW_ENGINE
quacc setting now acceptsNone
. - A
DEBUG
quacc setting as been added.
Changed
- The way to run complex, dynamic flows has been modified to rely on
functools.partial()
instead of kwargs. See the updated documentation. - Refactored test suite
v0.4.5: Out With the Old; In With the New
[0.4.5]
Added
- Added ML interatomic potential recipes
Changed
- ASE optimization log files and pickle files are written to disk by default
- Deprecated the old Q-Chem recipes and replaced them with the updated versions
Removed
- Officially drop support of the Prefect workflow engine
v0.4.4: The ESPRESSO release ☕
Summary
This release introduces core recipes for Quantum ESPRESSO, developed by @tomdemeyere!
Added
- Added core Quantum ESPRESSO recipes and custom calculator. (@tomdemeyere)
- Added a new function,
quacc.utils.files.copy_decompress_files_from_dir
Changed
- The
copy_files
kwarg in most recipes can now include a directory - Renamed
quacc.utils.files.copy_decompress
toquacc.utils.files.copy_decompress_files
Fixed
- Quacc settings that are paths now have
~/
expanded in most cases
What's Changed
- style: format code with Black, isort and Prettier by @deepsource-autofix in #1331
- Move custodian tests by @Andrew-S-Rosen in #1332
- Add espresso recipes and custom calculator by @tomdemeyere in #1238
- style: format code with Black, isort and Prettier by @deepsource-autofix in #1333
New Contributors
- @tomdemeyere made their first contribution in #1238
Full Changelog: v0.4.3...v0.4.4
v0.4.3: The Dask release
[0.4.3]
Added
- Added preliminary support for the
Dask
workflow engine via Dask Delayed and Dask Distributed.
Changed
- Renamed
CREATE_UNIQUE_WORKDIR
toCREATE_UNIQUE_DIR
to better reflect its utility. - The default for the
SCRATCH_DIR
setting is nowNone
instead of~/.quacc_scratch
. In other words, the default is to not use a scratch directory. This should help with onboarding, and the ability to set it asNone
may be broadly of interest. Setting theSCRATCH_DIR
to a givenPath
will still work as expected. - Files are no longer recursively copied from
SCRATCH_DIR
toRESULTS_DIR
. Instead, they are recursively moved. This should speed up I/O operations.
Fixed
- Fixed a missing
phonopy_kwargs
keyword argument inquacc.recipes.common.phonons
What's Changed
- Bump prefect from 2.14.6 to 2.14.9 by @dependabot in #1302
- Bump emmet-core from 0.74.3 to 0.74.5 by @dependabot in #1300
- Bump phonopy from 2.20.0 to 2.21.0 by @dependabot in #1301
- Bump parsl[monitoring] from 2023.11.20 to 2023.11.27 by @dependabot in #1304
- style: format code with Black, isort and Prettier by @deepsource-autofix in #1314
- style: format code with Black, isort and Prettier by @deepsource-autofix in #1316
- style: format code with Black, isort and Prettier by @deepsource-autofix in #1315
mv *
files fromSCRATCH_DIR
toRESULTS_DIR
instead ofcp -r
, and makeSCRATCH_DIR
optional by @Andrew-S-Rosen in #1313- refactor: remove unnecessary f-string by @deepsource-autofix in #1318
- style: format code with Black, isort and Prettier by @deepsource-autofix in #1317
- Clearer description of path handling by @Andrew-S-Rosen in #1319
- Add support for the Dask workflow engine by @Andrew-S-Rosen in #1323
- Simplify Dask tutorial by @Andrew-S-Rosen in #1325
- Update CHANGELOG.md by @Andrew-S-Rosen in #1329
- Fix sporadic codecov upload issues by @Andrew-S-Rosen in #1328
Full Changelog: 0.4.2...v0.4.3
v0.4.2
[0.4.2]
Added
- Added a Jenkins-based test suite that runs tests on HPC resources without mocking for Gaussian, GULP, ORCA, and VASP (minimal)
- Added a TBLite phonon recipe
Changed
- Changed the
auto_kpts
kwarg in theVasp
calculator topmg_kpts
- Internal refactoring of recipes to have a separate
_base.py
module when appropriate - Removed the unnecessary
Atoms
arg from thecalc_setup
function
Fixed
- Fixed slow initial import (3 s --> 1 s)
- Fixed a few broken type hints
- Fixed functional and basis set strings in Gaussian recipes
- Uses number of physical cores instead of logical cores as default for molecular DFT recipes
New Contributors
Full Changelog: v0.4.1...0.4.2
v0.4.1
[0.4.1]
Changed
- Switched to using the PyPi release of NewtonNet (1.1).
- NewtonNet recipes don't run a Hessian calculation by default unless needed
Fixed
- Fixed circular import issue when running Q-Chem calculations.
Removed
- Removed unsupported
qchem_internal_relax_job
v0.4.0
[0.4.0]
Added
- Added
quacc.recipes.common
, includingquacc.recipes.common.slabs
,quacc.recipes.common.defects
, andquacc.recipes.common.phonons
- Added phonopy schema in
quacc.schemas.phonopy
- Added EMT phonon workflow
Changed
- The method for specifying swaps to the default calculator arguments in recipes has been overhauled. In place of the previous
calc_swaps: dict
approach, additional parameters can be specified via the**kwargs
. In practice, this means in recipes you can doscf = "diis", max_steps=100
instead ofcalc_swaps={"scf":"diis", "max_steps":100}
, for instance. - Moved
quacc.runners.calc
toquacc.runners.ase
- Moved
quacc.runners.prep
toquacc.schemas.prep
- Reduced code duplication across complex flows
What's Changed
- Rename
runners.calc
torunners.ase
by @Andrew-S-Rosen in #1149 - Simplify subflows by @Andrew-S-Rosen in #1152
- Add more type-hints by @Andrew-S-Rosen in #1156
- Calc swaps by @Andrew-S-Rosen in #1157
- Add phonon workflow by @Andrew-S-Rosen in #1155
- Check if Orca size is more then 1 mb by @rishav-karanjit in #1163
- style: format code with Black, isort and Prettier by @deepsource-autofix in #1164
- Bump maggma from 0.57.4 to 0.57.5 by @dependabot in #1166
- Bump emmet-core from 0.71.2 to 0.72.8 by @dependabot in #1167
- Bump prefect from 2.14.2 to 2.14.3 by @dependabot in #1169
- Bump monty from 2023.9.25 to 2023.11.3 by @dependabot in #1168
- Refactor VASP slab workflow by @Andrew-S-Rosen in #1172
- Refactor phonon workflow by @Andrew-S-Rosen in #1173
- Refactor slab calculations by @Andrew-S-Rosen in #1176
- Refactor by @Andrew-S-Rosen in #1177
- Fix type hints by @Andrew-S-Rosen in #1179
New Contributors
- @rishav-karanjit made their first contribution in #1163
Full Changelog: v0.3.13...v0.4.0
v0.3.13
Summary
The ASE hackathon resulted in a lot of changes to the ASE codebase, several of which broke quacc. This version updates quacc to support the new master
version of ASE as of 11/2/2023.
v0.3.12
[0.3.12]
Added
- Added a basic phonon runner in
quacc.runners.calc.phonons
- Added a TBLite phonon recipe
phonon_job
- Added more type hints for input keyword arguments
- Added the
quacc info
command-line argument for error reporting
Changed
- Consolidated VASP INCAR co-pilot settings
- Internal refactoring of the Q-Chem and VASP calculators
Fixed
- All
Path
-based settings have.expanduser()
applied
What's Changed
- Use
.expanduser()
onPath
settings by @Andrew-S-Rosen in #1105 - Add Python 3.12 to test suite by @Andrew-S-Rosen in #1106
- Change
ValueError
toRuntimeError
when cclib fails by @Andrew-S-Rosen in #1107 - Add ASE lower bound by @Andrew-S-Rosen in #1109
- Switch away from deprecated datetime utility by @Andrew-S-Rosen in #1110
- Better path handling for docs by @Andrew-S-Rosen in #1115
- Refactor custom calculators by @Andrew-S-Rosen in #1117
- Add a skipcq to qchem custodian by @Andrew-S-Rosen in #1118
- Refactor Q-Chem calculator by @Andrew-S-Rosen in #1122
- Cleaner parsing of Q-Chem scratch files by @Andrew-S-Rosen in #1124
- Clean up code comments by @Andrew-S-Rosen in #1125
- Clarify docstrings and type hints by @Andrew-S-Rosen in #1126
- Refactor VASP calculator by @Andrew-S-Rosen in #1127
- Clarify VASP default settings by @Andrew-S-Rosen in #1128
- Vasp INCAR co-pilot redesign by @Andrew-S-Rosen in #1129
- Faster checking of workflow engine in settings by @Andrew-S-Rosen in #1131
- Bump prefect from 2.13.8 to 2.14.2 by @dependabot in #1132
- Run
docformatter
by @Andrew-S-Rosen in #1133 - Add a
quacc info
command line option by @Andrew-S-Rosen in #1134 - Add phonon maker by @Andrew-S-Rosen in #1137
- Improve phonon handling by @Andrew-S-Rosen in #1138
Full Changelog: v0.3.11...v0.3.12
v0.3.11
Summary
Improved error messages when calculations fail, highlighting what working directory to look at.
What's Changed
- Refactor DFTB+ error handling by @Andrew-S-Rosen in #1103
- Clearer error handling by @Andrew-S-Rosen in #1104
Full Changelog: v0.3.10...v0.3.11