Skip to content
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

Abinit flows from abiflows #81

Closed

Conversation

davidwaroquiers
Copy link
Contributor

@davidwaroquiers davidwaroquiers commented Mar 2, 2022

Summary

Include a summary of major changes in bullet points:

  • Scf and non-Scf jobs for abinit
  • Band Structure flow with abinit
  • Relaxation for abinit
  • Supports restarts of scf, non-scf and relax jobs
  • Supports restarts from a different previous job

Additional dependencies introduced (if any)

  • abipy

TODO

  • other flows
  • add autoparal
  • uniformize with vasp flows (e.g. prev_vasp_dir vs prev_dirs or prev_outputs or ..., band structures, static maker so that it can be used interchangeabily in the elastic flow, ...) => discuss this with @utf @computron Guido Petretto (@gpetretto), ... who else ?

Copy link
Member

@utf utf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @davidwaroquiers,

Thanks for all your hard work with this implementation! Its an impressive an amount of code and I'm excited to see where it goes.

I've added a few comments, the main ones are regarding the base abinit job maker. My primary concern is having roughly the same interaction model for VASP and abinit. I realise this won't be 100% possible, but the more aligned things are the easier it will be to create mixed workflows.

src/atomate2/abinit/flows/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/flows/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/flows/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/flows/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/flows/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/jobs/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/jobs/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/jobs/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/sets/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/utils/settings.py Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Mar 30, 2022

Codecov Report

Merging #81 (d11fec8) into main (277817a) will decrease coverage by 3.79%.
The diff coverage is 55.93%.

❗ Current head d11fec8 differs from pull request most recent head 6099b06. Consider uploading reports for the commit 6099b06 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
- Coverage   73.51%   69.71%   -3.80%     
==========================================
  Files          49       60      +11     
  Lines        4349     5544    +1195     
  Branches      686      889     +203     
==========================================
+ Hits         3197     3865     +668     
- Misses        980     1476     +496     
- Partials      172      203      +31     
Impacted Files Coverage Δ
src/atomate2/abinit/flows/core.py 0.00% <0.00%> (ø)
src/atomate2/abinit/utils/settings.py 0.00% <0.00%> (ø)
src/atomate2/cli/dev.py 0.00% <0.00%> (ø)
src/atomate2/abinit/run.py 27.50% <27.50%> (ø)
src/atomate2/common/files.py 66.01% <33.33%> (-1.31%) ⬇️
src/atomate2/abinit/utils/common.py 48.33% <48.33%> (ø)
src/atomate2/utils/file_client.py 43.61% <50.00%> (+0.35%) ⬆️
src/atomate2/abinit/utils/history.py 57.89% <57.89%> (ø)
src/atomate2/abinit/sets/core.py 63.55% <63.55%> (ø)
src/atomate2/abinit/sets/base.py 79.01% <79.01%> (ø)
... and 6 more

Copy link
Contributor

@gpetretto gpetretto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are some comments on the code. I think it will be easier to discuss generic topics (like how to handle dependencies and restarts) in the upcoming meeting.

src/atomate2/abinit/run.py Outdated Show resolved Hide resolved
src/atomate2/abinit/run.py Outdated Show resolved Hide resolved
src/atomate2/abinit/run.py Show resolved Hide resolved
src/atomate2/abinit/sets/base.py Show resolved Hide resolved
src/atomate2/abinit/sets/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/sets/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/flows/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/flows/core.py Show resolved Hide resolved
src/atomate2/abinit/jobs/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/jobs/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/files.py Outdated Show resolved Hide resolved
src/atomate2/abinit/schemas/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/schemas/core.py Show resolved Hide resolved
src/atomate2/abinit/schemas/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/jobs/base.py Show resolved Hide resolved
src/atomate2/abinit/sets/base.py Show resolved Hide resolved
src/atomate2/abinit/schemas/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/sets/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/sets/base.py Show resolved Hide resolved
src/atomate2/abinit/sets/core.py Outdated Show resolved Hide resolved
Copy link
Member

@utf utf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is coming along very nicely. Thanks for all your work @davidwaroquiers (and @gpetretto for reviewing).

I left a couple of minor comments I noticed.

src/atomate2/abinit/jobs/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/jobs/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/jobs/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/jobs/base.py Outdated Show resolved Hide resolved
src/atomate2/abinit/jobs/core.py Outdated Show resolved Hide resolved
src/atomate2/abinit/sets/base.py Outdated Show resolved Hide resolved
@davidwaroquiers davidwaroquiers changed the title [WIP] Abinit flows from abiflows Abinit flows from abiflows Jun 16, 2022
@davidwaroquiers davidwaroquiers marked this pull request as ready for review June 16, 2022 13:40
@davidwaroquiers
Copy link
Contributor Author

Hi @utf , we finished a first version for abinit. As it's a quite big block of changes, I'd like to merge it soon so that we can then work on smaller changes more easily after that. The base should be solid enough now. We may still change things so that we try to be even closer to the Vasp jobs/flows etc ... but at least it is a start. We still need to have the last version of abipy to be released (tests are passing on my computer but the released version of abipy will not work). We will tell you when this is done.
Thanks @gpetretto and @utf for the reviews!

@utf
Copy link
Member

utf commented Jun 16, 2022

Great! I'll aim to do a full code review at the start of next week.

In the mean time, what is the plan for the tests? It would be good to have some kind of mocking set up like VASP does. I also made a script that made writing VASP tests easier (not that this is essential for this PR). I would like to at least get a rough version of the job/flow tests done before merging.

@davidwaroquiers
Copy link
Contributor Author

Hi @utf , for the tests, we have two (maybe complementary) options. For ABINIT, we don't have the same issue as Vasp, we can actually run abinit. So we could indeed have a similar approach as the one for Vasp and then we can add the possibility to actually run integration tests instead of mocked tests. I will have a look at how things are done for Vasp and I will probably get back with some proposal (or questions).

@davidwaroquiers
Copy link
Contributor Author

Hi @utf , I have a made a first draft for the testing infrastructure for abinit. Somewhat based on what is there for vasp but using pytest-mock and also allowing to actually run abinit instead of mocking it (this is an addoption to pytest in the main conftest.py).
With this, I think we have a first rough version of the job/flow tests infrastructure. There is currently just one job tested, but before going further I would like to get your opinion on this so that I do not spend time making the rest of the tests and then have to change everything :)
Thanks a lot!
David

@davidwaroquiers
Copy link
Contributor Author

Hi @utf , I fixed the testing for abinit (was working on my computer but not on github because of environment, pseudos, versions etc ...). Now it should be fine.

Switched input_files format to tuple of (output file path, input file
name).
Added validation of ird variables in the AbinitInputSet.
Added call to validation in write_abinit_input_set.
Added docstrings.
files at this stage (we may change that in the future).
Update for new (in new abipy) factory functions for nscf/dos
calculations.
commit 0065434
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Sat Jul 2 00:29:27 2022 +0200

    Testing deps...

commit ca21e6e
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jul 1 23:53:56 2022 +0200

    Testing deps ...

commit 350bc4e
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jul 1 23:43:33 2022 +0200

    Testing deps ...

commit 8cccb8d
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jul 1 23:43:33 2022 +0200

    Testing deps ...

commit b5e226a
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jul 1 23:23:27 2022 +0200

    Testing deps ...

commit 971eb29
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 15:38:16 2022 +0200

    Added minimal pseudo table for tests.

commit 47bf39c
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 14:18:31 2022 +0200

    Added pytest-mock as a dep for tests.

commit da30a92
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:36:46 2022 +0200

    Testing deps...

commit 24c3c1d
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:32:00 2022 +0200

    Testing deps...

commit 7117fa5
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:26:19 2022 +0200

    Testing deps

commit fed3865
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:24:22 2022 +0200

    Testing deps ...

commit 68f8d99
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:20:03 2022 +0200

    Testing deps ...

commit 5daddb0
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:08:08 2022 +0200

    Testing deps...

commit 5e5a3a5
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:01:42 2022 +0200

    testing deps for abipy ...

commit 1f1ae97
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 12:47:58 2022 +0200

    Testing abinit deps (abipy).

commit 82271f4
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 12:41:22 2022 +0200

    Testing optional deps for abinit.

commit 7204793
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 12:39:25 2022 +0200

    Fixing pyproject.toml's optional deps for abinit.

commit 11d7ce2
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 12:37:44 2022 +0200

    Added install of abinit deps in testing CI workflow.

commit 7fbf20f
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 12:35:07 2022 +0200

    Added deps for abinit flows (abipy).

commit f05c071
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 10:55:35 2022 +0200

    Added initial testing infrastructure for abinit.

commit 1ea8007
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jun 17 17:09:16 2022 +0200

    Updated NonSCFSetGenerator to use nbands_factor (similar to vasp).

commit 68997e3
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jun 17 16:49:59 2022 +0200

    Allow choice of shift_mode or manually set shifts in Nscf.
    Update for new (in new abipy) factory functions for nscf/dos
    calculations.

commit bd82826
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jun 17 16:11:43 2022 +0200

    Added possibility to change the kpoints shift mode or set the shifts
    manually in Ground State calculations.

commit 6a50b3e
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Jun 16 15:38:23 2022 +0200

    Restart of Ground state calculations (SCF, RELAX, MD) only from DEN
    files at this stage (we may change that in the future).

commit a44e380
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Jun 16 13:55:00 2022 +0200

    Added raise RuntimeError if the abinit input set is not valid.

commit ef07755
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Jun 16 13:21:24 2022 +0200

    Added tests for abinit.sets.base.

commit dbf7026
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Jun 16 13:02:05 2022 +0200

    Removed old commented code in abinit.utils.settings.

commit d556e97
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Jun 16 12:11:31 2022 +0200

    Switched the out to file naming at the generator level.
    Switched input_files format to tuple of (output file path, input file
    name).
    Added validation of ird variables in the AbinitInputSet.
    Added call to validation in write_abinit_input_set.
    Added docstrings.

commit 7ab3bd9
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 22:47:24 2022 +0200

    Added docstring in abinit.sets.base.

commit c4b57bd
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 22:34:14 2022 +0200

    Switched to single file copy/link in out_to_in.

commit 0b06836
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 18:13:17 2022 +0200

    Using run_abinit_kwargs in AbinitJobMaker.

commit 1030c5e
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 17:58:05 2022 +0200

    Removed default values from Response in abinit.jobs.base.py.

commit 59cf148
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 17:28:44 2022 +0200

    Removed ResponseArgs from abinit.jobs.base.py.

commit bc395d5
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 17:23:58 2022 +0200

    Removed wfq_tolwfr variable from NonSCFWfqMaker.

commit d8f0a27
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 17:20:19 2022 +0200

    Renamed job_config to config in abinit.jobs.base.py (so we don't confuse
    it with JobConfig from Jobflow).

commit 8a52c2a
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 17:15:03 2022 +0200

    Removed validation in AbinitInputSet.
    Fixed SETTINGS from atomate2 in abinit.

commit c91fe43
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 16:57:58 2022 +0200

    Link files only when we are on the local file system.

commit 230bfa5
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 16:50:06 2022 +0200

    Various updates following GP's comments.

commit 858cbc9
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 11:04:35 2022 +0200

    Added the --timilimit abinit option.

commit 0beb894
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 09:54:55 2022 +0200

    Fixed restart of band structure flow.

commit c823091
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 08:46:49 2022 +0200

    Changed AbinitInputSetGenerator to AbinitInputGenerator.
    Various refactoring changes.

commit 4d520dc
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue Jun 14 11:49:34 2022 +0200

    Refactoring.
    Added from_prev_generator in AbinitInputSetGenerator.
    Added from_prev_maker in BaseAbinitMaker.
    Added/fixed tests.

commit 39bc460
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 8 22:35:42 2022 +0200

    Refactoring: removing automatic restart from prev generator. Now it
    needs to be explicitly set (was way too complex ...).
    Removed params (now using the dataclass itself to figure out the
    parameters).

commit d311846
Author: Guido Petretto <g.petretto@gmail.com>
Date:   Wed Jun 8 11:55:21 2022 +0200

    use PseudoRepo for pseudopotentials

commit de16f97
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue May 31 18:22:29 2022 +0200

    Fixed BandStructureMaker + fixed restarts of NonSCFMaker.

commit 2b33e57
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue May 31 17:57:01 2022 +0200

    Adding BandStructureMaker similar to Vasp.

commit da713da
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue May 31 14:36:22 2022 +0200

    Fixed restarts.

commit f629f84
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue May 31 12:02:56 2022 +0200

    ion_ioncell_relaxation for RelaxFlowMaker with params.

commit 606a459
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue May 31 11:57:41 2022 +0200

    Renamed ScfMaker and NonScfMaker to StaticMaker and NonSCFMaker (to
    follow same naming as vasp)

commit ea711eb
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Mon May 30 16:12:23 2022 +0200

    Fixed RelaxGenerator.

commit 9ed932c
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Mon May 30 16:07:34 2022 +0200

    Fixing relax maker.

commit a93eff9
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Mon May 30 15:47:47 2022 +0200

    Refactoring...

commit 1e09c74
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Mon May 30 14:32:42 2022 +0200

    Refactoring...

commit c88800c
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri May 27 15:04:09 2022 +0200

    Clean up in abinit.jobs.base.

commit 1aed756
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri May 27 14:48:49 2022 +0200

    Refactoring, tests for abinit input sets.

commit c795292
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri May 27 14:43:11 2022 +0200

    Refactoring ... adding tests.

commit af6cb1b
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri May 27 12:51:36 2022 +0200

    Optimized a bit generation of AbinitInputSet.

commit b3363cb
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri May 27 12:26:55 2022 +0200

    Refactoring ...

commit 8718cce
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu May 19 15:50:51 2022 +0200

    Refactoring ongoing ...

commit 209c5b3
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu May 19 15:22:45 2022 +0200

    Base job Maker class refactoring.
    ScfMaker update# Please enter the commit message for your changes. Lines starting

commit 40da13d
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed May 18 15:12:45 2022 +0200

    Updated sets with all the dependency resolving.
    Added link option to the copy_files.
    Started refactoring abinit jobs.

commit 8fd3919
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed May 11 17:20:23 2022 +0200

    Starting refactoring of abinit flows/jobs/sets/...

commit 80a20df
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Mar 23 21:39:09 2022 +0100

    Removed DEFAULT_INPUT_SET_GENERATOR and set default in the dataclass
    variable directly (input_set_generator).

commit 351e533
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Mar 16 17:58:38 2022 +0100

    Fixed output of RelaxFlowMaker.

commit 610acfb
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Mar 16 17:16:25 2022 +0100

    Fixed restarts now using structure directly from the output document.

commit 65d1311
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue Mar 15 15:38:54 2022 +0100

    Switched from factories to InputSetGenerator/InputSet framework of
    atomate2/pymatgen.
    Allow restarts from scf to relax and relax to scf.

commit 7ad1005
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Mar 4 14:53:19 2022 +0100

    Generalized out_to_in in the base abinit maker to deal with WFQ files.
    Generalized resolve_restart_deps in NonScfMaker so that it can be used
    with WFQ files.
    Added NonScfWfqMaker.
    Added NScfWfqInputGenerator (not yet implemented, just the class
    definition).

commit 63a3ecd
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Mar 3 23:09:12 2022 +0100

    Refactored input generator class.
    Added relaxation job.
    Added relaxation flow.

commit 3170515
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Mar 2 13:25:27 2022 +0100

    Removed commented code in abinit/utils/settings.py.

commit 9a68370
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Mar 2 13:22:48 2022 +0100

    Added restarts of jobs that have deps.

commit b0b1ccf
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue Mar 1 16:44:34 2022 +0100

    First implementation of abinit flows in atomate2.
    Currently: scf calculation with restarts and band structure
    calculations.

commit 67f7b38
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue Feb 22 11:21:02 2022 +0100

    Starting SCF workflow for abinit.

commit f238e11
Merge: ceaa951 d18c3c0
Author: Alex Ganose <utf@users.noreply.github.com>
Date:   Fri Jul 1 11:21:32 2022 +0100

    Merge pull request materialsproject#149 from materialsproject/update/pre-commit-autoupdate

    Auto-update pre-commit hooks

commit d18c3c0
Author: utf <utf@users.noreply.github.com>
Date:   Fri Jul 1 00:06:13 2022 +0000

    Auto-update pre-commit hooks

commit ceaa951
Author: Alex Ganose <utf@users.noreply.github.com>
Date:   Mon Jun 20 13:48:35 2022 +0100

    Update .gitattributes

commit b0a3de5
Merge: 5fba059 5d79ac0
Author: Alex Ganose <utf@users.noreply.github.com>
Date:   Sat Jun 18 15:15:05 2022 +0100

    Merge pull request materialsproject#148 from janosh/fix-gh-languages

    Fix GitHub language calculation

commit 5d79ac0
Author: Janosh Riebesell <janosh.riebesell@gmail.com>
Date:   Thu Jun 16 18:02:15 2022 +0100

    add new line to appease linter

commit 5c1b798
Author: Janosh Riebesell <janosh.riebesell@gmail.com>
Date:   Thu Jun 16 17:45:13 2022 +0100

    fix github language calculation
files at this stage (we may change that in the future).
Update for new (in new abipy) factory functions for nscf/dos
calculations.
commit 0065434
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Sat Jul 2 00:29:27 2022 +0200

    Testing deps...

commit ca21e6e
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jul 1 23:53:56 2022 +0200

    Testing deps ...

commit 350bc4e
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jul 1 23:43:33 2022 +0200

    Testing deps ...

commit 8cccb8d
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jul 1 23:43:33 2022 +0200

    Testing deps ...

commit b5e226a
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jul 1 23:23:27 2022 +0200

    Testing deps ...

commit 971eb29
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 15:38:16 2022 +0200

    Added minimal pseudo table for tests.

commit 47bf39c
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 14:18:31 2022 +0200

    Added pytest-mock as a dep for tests.

commit da30a92
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:36:46 2022 +0200

    Testing deps...

commit 24c3c1d
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:32:00 2022 +0200

    Testing deps...

commit 7117fa5
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:26:19 2022 +0200

    Testing deps

commit fed3865
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:24:22 2022 +0200

    Testing deps ...

commit 68f8d99
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:20:03 2022 +0200

    Testing deps ...

commit 5daddb0
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:08:08 2022 +0200

    Testing deps...

commit 5e5a3a5
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 13:01:42 2022 +0200

    testing deps for abipy ...

commit 1f1ae97
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 12:47:58 2022 +0200

    Testing abinit deps (abipy).

commit 82271f4
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 12:41:22 2022 +0200

    Testing optional deps for abinit.

commit 7204793
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 12:39:25 2022 +0200

    Fixing pyproject.toml's optional deps for abinit.

commit 11d7ce2
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 12:37:44 2022 +0200

    Added install of abinit deps in testing CI workflow.

commit 7fbf20f
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 12:35:07 2022 +0200

    Added deps for abinit flows (abipy).

commit f05c071
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 29 10:55:35 2022 +0200

    Added initial testing infrastructure for abinit.

commit 1ea8007
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jun 17 17:09:16 2022 +0200

    Updated NonSCFSetGenerator to use nbands_factor (similar to vasp).

commit 68997e3
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jun 17 16:49:59 2022 +0200

    Allow choice of shift_mode or manually set shifts in Nscf.
    Update for new (in new abipy) factory functions for nscf/dos
    calculations.

commit bd82826
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Jun 17 16:11:43 2022 +0200

    Added possibility to change the kpoints shift mode or set the shifts
    manually in Ground State calculations.

commit 6a50b3e
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Jun 16 15:38:23 2022 +0200

    Restart of Ground state calculations (SCF, RELAX, MD) only from DEN
    files at this stage (we may change that in the future).

commit a44e380
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Jun 16 13:55:00 2022 +0200

    Added raise RuntimeError if the abinit input set is not valid.

commit ef07755
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Jun 16 13:21:24 2022 +0200

    Added tests for abinit.sets.base.

commit dbf7026
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Jun 16 13:02:05 2022 +0200

    Removed old commented code in abinit.utils.settings.

commit d556e97
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Jun 16 12:11:31 2022 +0200

    Switched the out to file naming at the generator level.
    Switched input_files format to tuple of (output file path, input file
    name).
    Added validation of ird variables in the AbinitInputSet.
    Added call to validation in write_abinit_input_set.
    Added docstrings.

commit 7ab3bd9
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 22:47:24 2022 +0200

    Added docstring in abinit.sets.base.

commit c4b57bd
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 22:34:14 2022 +0200

    Switched to single file copy/link in out_to_in.

commit 0b06836
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 18:13:17 2022 +0200

    Using run_abinit_kwargs in AbinitJobMaker.

commit 1030c5e
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 17:58:05 2022 +0200

    Removed default values from Response in abinit.jobs.base.py.

commit 59cf148
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 17:28:44 2022 +0200

    Removed ResponseArgs from abinit.jobs.base.py.

commit bc395d5
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 17:23:58 2022 +0200

    Removed wfq_tolwfr variable from NonSCFWfqMaker.

commit d8f0a27
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 17:20:19 2022 +0200

    Renamed job_config to config in abinit.jobs.base.py (so we don't confuse
    it with JobConfig from Jobflow).

commit 8a52c2a
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 17:15:03 2022 +0200

    Removed validation in AbinitInputSet.
    Fixed SETTINGS from atomate2 in abinit.

commit c91fe43
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 16:57:58 2022 +0200

    Link files only when we are on the local file system.

commit 230bfa5
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 16:50:06 2022 +0200

    Various updates following GP's comments.

commit 858cbc9
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 11:04:35 2022 +0200

    Added the --timilimit abinit option.

commit 0beb894
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 09:54:55 2022 +0200

    Fixed restart of band structure flow.

commit c823091
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 15 08:46:49 2022 +0200

    Changed AbinitInputSetGenerator to AbinitInputGenerator.
    Various refactoring changes.

commit 4d520dc
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue Jun 14 11:49:34 2022 +0200

    Refactoring.
    Added from_prev_generator in AbinitInputSetGenerator.
    Added from_prev_maker in BaseAbinitMaker.
    Added/fixed tests.

commit 39bc460
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Jun 8 22:35:42 2022 +0200

    Refactoring: removing automatic restart from prev generator. Now it
    needs to be explicitly set (was way too complex ...).
    Removed params (now using the dataclass itself to figure out the
    parameters).

commit d311846
Author: Guido Petretto <g.petretto@gmail.com>
Date:   Wed Jun 8 11:55:21 2022 +0200

    use PseudoRepo for pseudopotentials

commit de16f97
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue May 31 18:22:29 2022 +0200

    Fixed BandStructureMaker + fixed restarts of NonSCFMaker.

commit 2b33e57
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue May 31 17:57:01 2022 +0200

    Adding BandStructureMaker similar to Vasp.

commit da713da
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue May 31 14:36:22 2022 +0200

    Fixed restarts.

commit f629f84
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue May 31 12:02:56 2022 +0200

    ion_ioncell_relaxation for RelaxFlowMaker with params.

commit 606a459
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue May 31 11:57:41 2022 +0200

    Renamed ScfMaker and NonScfMaker to StaticMaker and NonSCFMaker (to
    follow same naming as vasp)

commit ea711eb
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Mon May 30 16:12:23 2022 +0200

    Fixed RelaxGenerator.

commit 9ed932c
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Mon May 30 16:07:34 2022 +0200

    Fixing relax maker.

commit a93eff9
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Mon May 30 15:47:47 2022 +0200

    Refactoring...

commit 1e09c74
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Mon May 30 14:32:42 2022 +0200

    Refactoring...

commit c88800c
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri May 27 15:04:09 2022 +0200

    Clean up in abinit.jobs.base.

commit 1aed756
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri May 27 14:48:49 2022 +0200

    Refactoring, tests for abinit input sets.

commit c795292
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri May 27 14:43:11 2022 +0200

    Refactoring ... adding tests.

commit af6cb1b
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri May 27 12:51:36 2022 +0200

    Optimized a bit generation of AbinitInputSet.

commit b3363cb
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri May 27 12:26:55 2022 +0200

    Refactoring ...

commit 8718cce
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu May 19 15:50:51 2022 +0200

    Refactoring ongoing ...

commit 209c5b3
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu May 19 15:22:45 2022 +0200

    Base job Maker class refactoring.
    ScfMaker update# Please enter the commit message for your changes. Lines starting

commit 40da13d
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed May 18 15:12:45 2022 +0200

    Updated sets with all the dependency resolving.
    Added link option to the copy_files.
    Started refactoring abinit jobs.

commit 8fd3919
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed May 11 17:20:23 2022 +0200

    Starting refactoring of abinit flows/jobs/sets/...

commit 80a20df
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Mar 23 21:39:09 2022 +0100

    Removed DEFAULT_INPUT_SET_GENERATOR and set default in the dataclass
    variable directly (input_set_generator).

commit 351e533
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Mar 16 17:58:38 2022 +0100

    Fixed output of RelaxFlowMaker.

commit 610acfb
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Mar 16 17:16:25 2022 +0100

    Fixed restarts now using structure directly from the output document.

commit 65d1311
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue Mar 15 15:38:54 2022 +0100

    Switched from factories to InputSetGenerator/InputSet framework of
    atomate2/pymatgen.
    Allow restarts from scf to relax and relax to scf.

commit 7ad1005
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Fri Mar 4 14:53:19 2022 +0100

    Generalized out_to_in in the base abinit maker to deal with WFQ files.
    Generalized resolve_restart_deps in NonScfMaker so that it can be used
    with WFQ files.
    Added NonScfWfqMaker.
    Added NScfWfqInputGenerator (not yet implemented, just the class
    definition).

commit 63a3ecd
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Thu Mar 3 23:09:12 2022 +0100

    Refactored input generator class.
    Added relaxation job.
    Added relaxation flow.

commit 3170515
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Mar 2 13:25:27 2022 +0100

    Removed commented code in abinit/utils/settings.py.

commit 9a68370
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Wed Mar 2 13:22:48 2022 +0100

    Added restarts of jobs that have deps.

commit b0b1ccf
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue Mar 1 16:44:34 2022 +0100

    First implementation of abinit flows in atomate2.
    Currently: scf calculation with restarts and band structure
    calculations.

commit 67f7b38
Author: David Waroquiers <david.waroquiers@matgenix.com>
Date:   Tue Feb 22 11:21:02 2022 +0100

    Starting SCF workflow for abinit.

commit f238e11
Merge: ceaa951 d18c3c0
Author: Alex Ganose <utf@users.noreply.github.com>
Date:   Fri Jul 1 11:21:32 2022 +0100

    Merge pull request materialsproject#149 from materialsproject/update/pre-commit-autoupdate

    Auto-update pre-commit hooks

commit d18c3c0
Author: utf <utf@users.noreply.github.com>
Date:   Fri Jul 1 00:06:13 2022 +0000

    Auto-update pre-commit hooks

commit ceaa951
Author: Alex Ganose <utf@users.noreply.github.com>
Date:   Mon Jun 20 13:48:35 2022 +0100

    Update .gitattributes

commit b0a3de5
Merge: 5fba059 5d79ac0
Author: Alex Ganose <utf@users.noreply.github.com>
Date:   Sat Jun 18 15:15:05 2022 +0100

    Merge pull request materialsproject#148 from janosh/fix-gh-languages

    Fix GitHub language calculation

commit 5d79ac0
Author: Janosh Riebesell <janosh.riebesell@gmail.com>
Date:   Thu Jun 16 18:02:15 2022 +0100

    add new line to appease linter

commit 5c1b798
Author: Janosh Riebesell <janosh.riebesell@gmail.com>
Date:   Thu Jun 16 17:45:13 2022 +0100

    fix github language calculation
(job index).
Added tools for the generation of reference test files for ABINIT
(similar to VASP).
Added aboot_tests.md documenting the testing for ABINIT.
@davidwaroquiers davidwaroquiers requested review from utf and gpetretto and removed request for utf and gpetretto October 17, 2022 11:26
@utf
Copy link
Member

utf commented Oct 17, 2022

Please can you merge in the main branch? Its currently showing lots of changed files but I think they should go away.

@davidwaroquiers
Copy link
Contributor Author

@davidwaroquiers
Copy link
Contributor Author

Hi @utf, I'll reopen another (clean) PR. It seems I did something wrong somewhere and discussing with @gpetretto it is probably better to restart from scratch so that reviewing is easier. Sorry about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants