-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When `pw.x` crashes, the error is written to stdout but also to the `CRASH` file. So far the parsers were just parsing errors from the stdout. As of Quantum ESPRESSO v7.2, the errors are written _only_ to the `CRASH` file. Here, the `PwCalculation` is updated to always retrieve the `CRASH` file and the `PwParser` (and relevant raw parsers) are updated to parse its contents. The parser tests that tested a particular error case, are duplicated to test parsing from stdout and the `CRASH` files.
- Loading branch information
Showing
26 changed files
with
1,192 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Error in routine cdiaghg (668): | ||
problems computing cholesky | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
tests/parsers/fixtures/pw/failed_computing_cholesky_stdout/aiida.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
Program PWSCF v.6.4.1 starts on 14Oct2019 at 8:41:38 | ||
|
||
This program is part of the open-source Quantum ESPRESSO suite | ||
for quantum simulation of materials; please cite | ||
"P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009); | ||
"P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017); | ||
URL http://www.quantum-espresso.org", | ||
in publications or presentations arising from this work. More details at | ||
http://www.quantum-espresso.org/quote | ||
|
||
# NOTE: lines of output removed. | ||
|
||
Davidson diagonalization with overlap | ||
|
||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Error in routine cdiaghg (668): | ||
problems computing cholesky | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
||
# NOTE: lines of output removed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Error in routine electrons (1): | ||
dexx is negative! Check that exxdiv_treatment is appropriate for the system, or ecutfock may be too low | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
tests/parsers/fixtures/pw/failed_dexx_negative_stdout/aiida.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
Program PWSCF v.6.4.1 starts on 14Oct2019 at 8:41:38 | ||
|
||
This program is part of the open-source Quantum ESPRESSO suite | ||
for quantum simulation of materials; please cite | ||
"P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009); | ||
"P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017); | ||
URL http://www.quantum-espresso.org", | ||
in publications or presentations arising from this work. More details at | ||
http://www.quantum-espresso.org/quote | ||
|
||
# NOTE: roughly 3870 lines of output removed. | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Error in routine electrons (1): | ||
dexx is negative! Check that exxdiv_treatment is appropriate for the system, or ecutfock may be too low | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Error in routine divide_et_impera (1): | ||
some nodes have no k-points | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
tests/parsers/fixtures/pw/failed_npools_too_high_stdout/aiida.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
Program PWSCF v.6.4.1 starts on 15Oct2019 at 14:12: 0 | ||
|
||
This program is part of the open-source Quantum ESPRESSO suite | ||
for quantum simulation of materials; please cite | ||
"P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009); | ||
"P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017); | ||
URL http://www.quantum-espresso.org", | ||
in publications or presentations arising from this work. More details at | ||
http://www.quantum-espresso.org/quote | ||
|
||
# NOTE: 25 lines of output removed | ||
|
||
|
||
# NOTE: duplicate error messages removed | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Error in routine divide_et_impera (1): | ||
some nodes have no k-points | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4 changes: 4 additions & 0 deletions
4
tests/parsers/fixtures/pw/failed_too_many_bands_not_converged/CRASH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Error in routine c_bands (1): | ||
too many bands are not converged | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
tests/parsers/fixtures/pw/failed_too_many_bands_not_converged_stdout/aiida.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
Program PWSCF v.6.8 starts on 22Sep2021 at 20:34:38 | ||
|
||
This program is part of the open-source Quantum ESPRESSO suite | ||
for quantum simulation of materials; please cite | ||
"P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009); | ||
"P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017); | ||
"P. Giannozzi et al., J. Chem. Phys. 152 154105 (2020); | ||
URL http://www.quantum-espresso.org", | ||
in publications or presentations arising from this work. More details at | ||
http://www.quantum-espresso.org/quote | ||
|
||
|
||
# NOTE: lines of output removed. | ||
|
||
Davidson diagonalization with overlap | ||
|
||
# NOTE: lines of output removed. | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Error in routine c_bands (1): | ||
too many bands are not converged | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Error in routine electrons (1): | ||
charge is wrong | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.