diff --git a/aiida_quantumespresso/calculations/__init__.py b/aiida_quantumespresso/calculations/__init__.py index b92acdc83..a0eb6f8f8 100644 --- a/aiida_quantumespresso/calculations/__init__.py +++ b/aiida_quantumespresso/calculations/__init__.py @@ -505,16 +505,15 @@ def _generate_PWCPinputdata(cls, parameters, settings, pseudos, structure, kpoin # ------------ ATOMIC_POSITIONS ----------- coordinates = [site.position for site in structure.sites] if use_fractional: - atomic_positions_card_list = ['ATOMIC_POSITIONS crystal'] + atomic_positions_card_header = 'ATOMIC_POSITIONS crystal\n' coordinates = numpy.dot(coordinates, numpy.linalg.inv(numpy.array(structure.cell))).tolist() else: - atomic_positions_card_list = ['ATOMIC_POSITIONS angstrom'] + atomic_positions_card_header = 'ATOMIC_POSITIONS angstrom\n' - for site, site_coords in zip(structure.sites, coordinates): - atomic_positions_card_list.append( - '{0} {1:18.10f} {2:18.10f} {3:18.10f}'. # pylint: disable=consider-using-f-string - format(site.kind_name.ljust(6), *site_coords) - ) + atomic_positions_card_list = [ + '{0} {1:18.10f} {2:18.10f} {3:18.10f}'.format(site.kind_name.ljust(6), *site_coords) # pylint: disable=consider-using-f-string + for site, site_coords in zip(structure.sites, coordinates) + ] fixed_coords = settings.pop('FIXED_COORDS', None) @@ -525,12 +524,15 @@ def _generate_PWCPinputdata(cls, parameters, settings, pseudos, structure, kpoin raise exceptions.InputValidationError( f'Input structure has {len(structure.sites)} sites, but fixed_coords has length {len(fixed_coords)}' ) - fixed_coords_strings = [' {:d} {:d} {:d}'.format(*row) for row in numpy.int32(fixed_coords).tolist()] # pylint: disable=consider-using-f-string - - for atomic_pos_str, fixed_coords_str in zip(atomic_positions_card_list[1:], fixed_coords_strings): - atomic_pos_str += fixed_coords_str - - atomic_positions_card = '\n'.join(atomic_positions_card_list) + '\n' + fixed_coords_strings = [ + ' {:d} {:d} {:d}'.format(*row) for row in numpy.int32(numpy.invert(fixed_coords)).tolist() # pylint: disable=consider-using-f-string + ] + atomic_positions_card_list = [ + atomic_pos_str + fixed_coords_str + for atomic_pos_str, fixed_coords_str in zip(atomic_positions_card_list, fixed_coords_strings) + ] + + atomic_positions_card = atomic_positions_card_header + '\n'.join(atomic_positions_card_list) + '\n' # Optional ATOMIC_FORCES card atomic_forces = settings.pop('ATOMIC_FORCES', None) diff --git a/aiida_quantumespresso/parsers/pw.py b/aiida_quantumespresso/parsers/pw.py index 8cb1072cd..970e053bf 100644 --- a/aiida_quantumespresso/parsers/pw.py +++ b/aiida_quantumespresso/parsers/pw.py @@ -250,13 +250,14 @@ def is_ionically_converged(self, trajectory, except_final_scf=False): return verify_convergence_trajectory( trajectory=trajectory, index=-1, - threshold_forces=threshold_forces + threshold_forces=threshold_forces, + fixed_coords=fixed_coords ) if relax_type == 'vc-relax': - values = [threshold_forces, threshold_stress, external_pressure] - converged_relax = verify_convergence_trajectory(trajectory, -2, *values, fixed_coords) - converged_final = verify_convergence_trajectory(trajectory, -1, *values, fixed_coords) + values = [threshold_forces, threshold_stress, external_pressure, fixed_coords] + converged_relax = verify_convergence_trajectory(trajectory, -2, *values) + converged_final = verify_convergence_trajectory(trajectory, -1, *values) return converged_relax and (converged_final or except_final_scf) diff --git a/tests/calculations/test_pw.py b/tests/calculations/test_pw.py index 809d5a349..35f68f1cf 100644 --- a/tests/calculations/test_pw.py +++ b/tests/calculations/test_pw.py @@ -320,3 +320,35 @@ def test_pw_validate_inputs_restart_nscf( inputs['parameters'] = orm.Dict(dict=parameters) with pytest.warns(Warning, match='`restart_mode` should be set to `from_scratch` for a `.*`.'): generate_calc_job(fixture_sandbox, entry_point_name, inputs) + + +def test_fixed_coords(fixture_sandbox, generate_calc_job, generate_inputs_pw, file_regression): + """Test a ``PwCalculation`` where the ``fixed_coords`` setting was provided.""" + entry_point_name = 'quantumespresso.pw' + + inputs = generate_inputs_pw() + inputs['settings'] = orm.Dict(dict={'FIXED_COORDS': [[True, True, False], [False, True, False]]}) + generate_calc_job(fixture_sandbox, entry_point_name, inputs) + + with fixture_sandbox.open('aiida.in') as handle: + input_written = handle.read() + + file_regression.check(input_written, encoding='utf-8', extension='.in') + + +@pytest.mark.parametrize(['fixed_coords', 'error_message'], [ + ([[True, True], [False, True]], 'The `fixed_coords` setting must be a list of lists with length 3.'), + ([[True, True, 1], [False, True, False] + ], 'All elements in the `fixed_coords` setting lists must be either `True` or `False`.'), + ([ + [True, True, False], + ], 'Input structure has 2 sites, but fixed_coords has length 1'), +]) +def test_fixed_coords_validation(fixture_sandbox, generate_calc_job, generate_inputs_pw, fixed_coords, error_message): + """Test the validation of the ``fixed_coords`` setting for the ``PwCalculation``.""" + entry_point_name = 'quantumespresso.pw' + + inputs = generate_inputs_pw() + inputs['settings'] = orm.Dict(dict={'FIXED_COORDS': fixed_coords}) + with pytest.raises(ValueError, match=error_message): + generate_calc_job(fixture_sandbox, entry_point_name, inputs) diff --git a/tests/calculations/test_pw/test_fixed_coords.in b/tests/calculations/test_pw/test_fixed_coords.in new file mode 100644 index 000000000..33c0d497e --- /dev/null +++ b/tests/calculations/test_pw/test_fixed_coords.in @@ -0,0 +1,28 @@ +&CONTROL + calculation = 'scf' + outdir = './out/' + prefix = 'aiida' + pseudo_dir = './pseudo/' + verbosity = 'high' +/ +&SYSTEM + ecutrho = 2.4000000000d+02 + ecutwfc = 3.0000000000d+01 + ibrav = 0 + nat = 2 + ntyp = 1 +/ +&ELECTRONS + electron_maxstep = 60 +/ +ATOMIC_SPECIES +Si 28.0855 Si.upf +ATOMIC_POSITIONS angstrom +Si 0.0000000000 0.0000000000 0.0000000000 0 0 1 +Si 1.3575000000 1.3575000000 1.3575000000 1 0 1 +K_POINTS automatic +2 2 2 0 0 0 +CELL_PARAMETERS angstrom + 2.7150000000 2.7150000000 0.0000000000 + 2.7150000000 0.0000000000 2.7150000000 + 0.0000000000 2.7150000000 2.7150000000 diff --git a/tests/parsers/fixtures/pw/fixed_coords_relax/aiida.out b/tests/parsers/fixtures/pw/fixed_coords_relax/aiida.out new file mode 100644 index 000000000..0e3ce8dc6 --- /dev/null +++ b/tests/parsers/fixtures/pw/fixed_coords_relax/aiida.out @@ -0,0 +1,382 @@ + + Program PWSCF v.7.0 starts on 9Mar2022 at 19: 6:34 + + 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 + + Parallel version (MPI), running on 1 processors + + MPI processes distributed on 1 nodes + 39404 MiB available memory on the printing compute node when the environment starts + + Reading input from aiida.in + + Current dimensions of program PWSCF are: + Max number of different atomic species (ntypx) = 10 + Max number of k-points (npk) = 40000 + Max angular momentum in pseudopotentials (lmaxx) = 4 + Message from routine setup: + using ibrav=0 with symmetry is DISCOURAGED, use correct ibrav instead + + Subspace diagonalization in iterative solution of the eigenvalue problem: + a serial algorithm will be used + + + G-vector sticks info + -------------------- + sticks: dense smooth PW G-vecs: dense smooth PW + Sum 877 439 151 17261 6183 1139 + + Using Slab Decomposition + + + + bravais-lattice index = 0 + lattice parameter (alat) = 7.3075 a.u. + unit-cell volume = 275.9279 (a.u.)^3 + number of atoms/cell = 2 + number of atomic types = 1 + number of electrons = 8.00 + number of Kohn-Sham states= 8 + kinetic-energy cutoff = 30.0000 Ry + charge density cutoff = 240.0000 Ry + scf convergence threshold = 8.0E-10 + mixing beta = 0.4000 + number of iterations used = 8 plain mixing + energy convergence thresh.= 2.0E-04 + force convergence thresh. = 1.0E-03 + Exchange-correlation= PBE + ( 1 4 3 4 0 0 0) + nstep = 50 + + + celldm(1)= 7.307523 celldm(2)= 0.000000 celldm(3)= 0.000000 + celldm(4)= 0.000000 celldm(5)= 0.000000 celldm(6)= 0.000000 + + crystal axes: (cart. coord. in units of alat) + a(1) = ( 1.000000 0.000000 0.000000 ) + a(2) = ( 0.500000 0.866025 0.000000 ) + a(3) = ( 0.500000 0.288675 0.816497 ) + + reciprocal axes: (cart. coord. in units 2 pi/alat) + b(1) = ( 1.000000 -0.577350 -0.408248 ) + b(2) = ( 0.000000 1.154701 -0.408248 ) + b(3) = ( 0.000000 0.000000 1.224745 ) + + + PseudoPot. # 1 for Si read from file: + ./pseudo/Si.pbe-n-rrkjus_psl.1.0.0.UPF + MD5 check sum: 0b0bb1205258b0d07b9f9672cf965d36 + Pseudo is Ultrasoft + core correction, Zval = 4.0 + Generated using "atomic" code by A. Dal Corso v.5.1 + Using radial grid of 1141 points, 6 beta functions with: + l(1) = 0 + l(2) = 0 + l(3) = 1 + l(4) = 1 + l(5) = 2 + l(6) = 2 + Q(r) pseudized with 0 coefficients + + + atomic species valence mass pseudopotential + Si 4.00 28.08550 Si( 1.00) + +--- SYMMETRIES REMOVED --- + + Cartesian axes + + site n. atom positions (alat units) + 1 Si tau( 1) = ( 1.6500000 0.9526279 0.6123724 ) + 2 Si tau( 2) = ( 1.0000000 0.5773503 0.3522790 ) + + Crystallographic axes + + site n. atom positions (cryst. coord.) + 1 Si tau( 1) = ( 0.8500000 0.8500000 0.7500000 ) + 2 Si tau( 2) = ( 0.5228494 0.5228494 0.4314519 ) + +--- K-POINTS REMOVED --- + +--- MEMORY INFO REMOVED --- + + Initial potential from superposition of free atoms + + starting charge 7.9989, renormalised to 8.0000 + Starting wfcs are 8 randomized atomic wfcs + + total cpu time spent up to now is 0.5 secs + + Self-consistent Calculation + + iteration # 1 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 92 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39386 MiB available memory on the node where the printing process lives +------------------ + ethr = 1.00E-02, avg # of iterations = 4.8 + + Threshold (ethr) on eigenvalues was too large: + Diagonalizing with lowered threshold + + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 100 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39379 MiB available memory on the node where the printing process lives +------------------ + ethr = 6.32E-04, avg # of iterations = 1.8 + + total cpu time spent up to now is 0.9 secs + + total energy = -22.74611644 Ry + estimated scf accuracy < 0.05457483 Ry + + iteration # 2 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 105 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39375 MiB available memory on the node where the printing process lives +------------------ + ethr = 6.82E-04, avg # of iterations = 1.0 + + total cpu time spent up to now is 1.1 secs + + total energy = -22.74288687 Ry + estimated scf accuracy < 0.01516845 Ry + + iteration # 3 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 105 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39374 MiB available memory on the node where the printing process lives +------------------ + ethr = 1.90E-04, avg # of iterations = 1.7 + + total cpu time spent up to now is 1.3 secs + + total energy = -22.74395942 Ry + estimated scf accuracy < 0.00032227 Ry + + iteration # 4 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 105 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39375 MiB available memory on the node where the printing process lives +------------------ + c_bands: 2 eigenvalues not converged + c_bands: 1 eigenvalues not converged + ethr = 4.03E-06, avg # of iterations = 8.0 + + total cpu time spent up to now is 1.7 secs + + total energy = -22.74402517 Ry + estimated scf accuracy < 0.00002581 Ry + + iteration # 5 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 105 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39375 MiB available memory on the node where the printing process lives +------------------ + ethr = 3.23E-07, avg # of iterations = 2.3 + + total cpu time spent up to now is 1.9 secs + + total energy = -22.74402743 Ry + estimated scf accuracy < 0.00000078 Ry + + iteration # 6 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 106 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39374 MiB available memory on the node where the printing process lives +------------------ + ethr = 9.73E-09, avg # of iterations = 2.0 + + total cpu time spent up to now is 2.1 secs + + total energy = -22.74402752 Ry + estimated scf accuracy < 0.00000014 Ry + + iteration # 7 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 106 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39351 MiB available memory on the node where the printing process lives +------------------ + ethr = 1.74E-09, avg # of iterations = 2.0 + + total cpu time spent up to now is 2.4 secs + + total energy = -22.74402753 Ry + estimated scf accuracy < 0.00000004 Ry + + iteration # 8 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 106 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39320 MiB available memory on the node where the printing process lives +------------------ + ethr = 4.58E-10, avg # of iterations = 1.4 + + total cpu time spent up to now is 2.6 secs + + End of self-consistent calculation + +--- OCCUPATIONS REMOVED --- + + the Fermi energy is 6.6446 ev + +! total energy = -22.74402753 Ry + estimated scf accuracy < 2.5E-10 Ry + smearing contrib. (-TS) = -0.00022120 Ry + internal energy E=F+TS = -22.74380633 Ry + + The total energy is F=E-TS. E is the sum of the following terms: + one-electron contribution = 5.02315831 Ry + hartree contribution = 1.08019211 Ry + xc contribution = -12.26905250 Ry + ewald contribution = -16.57810425 Ry + + convergence has been achieved in 8 iterations + + Forces acting on atoms (cartesian axes, Ry/au): + + atom 1 type 1 force = -0.03561845 -0.02056432 0.00005349 + atom 2 type 1 force = 0.03561845 0.02056432 -0.00005349 + The non-local contrib. to forces + atom 1 type 1 force = -0.03929359 -0.02268616 -0.00086755 + atom 2 type 1 force = 0.03929448 0.02268668 0.00086307 + The ionic contribution to forces + atom 1 type 1 force = 0.02423345 0.01399119 0.04444962 + atom 2 type 1 force = -0.02423345 -0.01399119 -0.04444962 + The local contribution to forces + atom 1 type 1 force = -0.02513890 -0.01451395 -0.04363408 + atom 2 type 1 force = 0.02513904 0.01451403 0.04363586 + The core correction contribution to forces + atom 1 type 1 force = 0.00457859 0.00264345 0.00010230 + atom 2 type 1 force = -0.00458575 -0.00264758 -0.00010305 + The Hubbard contrib. to forces + atom 1 type 1 force = 0.00000000 0.00000000 0.00000000 + atom 2 type 1 force = 0.00000000 0.00000000 0.00000000 + The SCF correction term to forces + atom 1 type 1 force = -0.00000000 -0.00000000 0.00000000 + atom 2 type 1 force = 0.00000000 0.00000000 -0.00000154 + + Total force = 0.000053 Total SCF correction = 0.000002 + + + Computing stress (Cartesian axis) and pressure + + total stress (Ry/bohr**3) (kbar) P= 42.56 + -0.00008601 -0.00051277 -0.00029112 -12.65 -75.43 -42.82 + -0.00051277 0.00050609 -0.00016808 -75.43 74.45 -24.72 + -0.00029112 -0.00016808 0.00044785 -42.82 -24.72 65.88 + + kinetic stress (kbar) 2226.73 81.92 57.05 + 81.92 2132.14 32.94 + 57.05 32.94 2111.23 + + local stress (kbar) 950.89 1102.96 754.10 + 1102.96 -322.70 435.38 + 754.10 435.38 -526.91 + + nonloc. stress (kbar) 1489.90 -108.63 -73.45 + -108.63 1615.34 -42.41 + -73.45 -42.41 1633.98 + + hartree stress (kbar) 68.59 -148.18 -102.51 + -148.18 239.70 -59.19 + -102.51 -59.19 267.58 + + exc-cor stress (kbar) 2887.22 -6.62 -4.51 + -6.62 2894.86 -2.60 + -4.51 -2.60 2895.98 + + corecor stress (kbar) -3854.13 14.60 9.88 + 14.60 -3870.99 5.70 + 9.88 5.70 -3873.47 + + ewald stress (kbar) -3781.86 -1011.49 -683.38 + -1011.49 -2613.89 -394.55 + -683.38 -394.55 -2442.51 + + hubbard stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + DFT-D stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + XDM stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + dft-nl stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + TS-vdW stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + + 0.00 0.00 0.00 + + + BFGS Geometry Optimization + Energy error = 0.0E+00 Ry + Gradient error = 5.3E-05 Ry/Bohr + + bfgs converged in 1 scf cycles and 0 bfgs steps + (criteria: energy < 2.0E-04 Ry, force < 1.0E-03 Ry/Bohr) + + End of BFGS Geometry Optimization + + Final energy = -22.7440275342 Ry +Begin final coordinates + +ATOMIC_POSITIONS (angstrom) +Si 6.3805081446 3.6837880949 2.3680286748 0 0 0 +Si 3.8669746331 2.2325988453 1.3622538753 0 0 1 +End final coordinates + + + + Writing all to output data dir ./out/aiida.save/ + +--- TIMINGS REMOVED --- + +=------------------------------------------------------------------------------= + JOB DONE. +=------------------------------------------------------------------------------= diff --git a/tests/parsers/fixtures/pw/fixed_coords_relax/data-file.xml b/tests/parsers/fixtures/pw/fixed_coords_relax/data-file.xml new file mode 100644 index 000000000..56632842f --- /dev/null +++ b/tests/parsers/fixtures/pw/fixed_coords_relax/data-file.xml @@ -0,0 +1,932 @@ + + + + + QEXSD_21.11.01 + XML file generated by PWSCF + This run was terminated on: 19: 6:37 9 Mar 2022 + + + + 1 + 1 + 1 + 1 + 1 + 1 + + + + + relax + from_scratch + aiida + ./pseudo/ + ./out/ + true + true + true + low + 41040 + 50 + 1.000000000000000e-4 + 5.000000000000000e-4 + 5.000000000000000e-1 + high + 100000 + + + + 2.808550000000000e1 + Si.pbe-n-rrkjus_psl.1.0.0.UPF + + + + + 1.205741292923812e1 6.961350600517926e0 4.474925650632502e0 + 7.307522987434224e0 4.219000363772738e0 2.574286736527106e0 + + + 7.307522987434222e0 0.000000000000000e0 0.000000000000000e0 + 3.653761493622625e0 6.328500545942567e0 0.000000000000000e0 + 3.653761493622625e0 2.109500181980855e0 5.966567534365643e0 + + + + PBE + + + false + false + false + + + mv + 0.000000000000000e0 + smearing + + + false + 1.500000000000000e1 + 1.200000000000000e2 + + + davidson + plain + 4.000000000000000e-1 + 4.000000000000000e-10 + 8 + 80 + false + false + false + false + 0.000000000000000e0 + false + 20 + 20 + 4 + 16 + false + + + Monkhorst-Pack + + + bfgs + 1.000000000000000e2 + false + false + + 1 + 1.000000000000000e-4 + 8.000000000000000e-1 + 5.000000000000000e-1 + 1.000000000000000e-2 + 5.000000000000000e-1 + + + + none + 0.000000000000000e0 + 5.617100000000001e1 + all + + + false + false + false + false + false + false + + + 0 0 0 + 0 0 1 + + + + + true + 8 + 2.542999795247903e-10 + + + + 1.205741292923812e1 6.961350600517926e0 4.474925650632502e0 + 7.307522987434224e0 4.219000363772738e0 2.574286736527106e0 + + + 7.307522987434222e0 0.000000000000000e0 0.000000000000000e0 + 3.653761493622625e0 6.328500545942567e0 0.000000000000000e0 + 3.653761493622625e0 2.109500181980855e0 5.966567534365643e0 + + + + -1.137201376707892e1 + 2.688899691316882e-1 + 5.400960527219643e-1 + -3.322868571473395e0 + -6.134526248701011e0 + -8.289052126719902e0 + -1.106011033148917e-4 + + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 -2.674509189185166e-5 + + + + + + true + 8 + 1.271499897623952e-10 + + + true + 0 + 5.349018378370332e-5 + + + + false + false + true + false + + + + 2.808550000000000e1 + Si.pbe-n-rrkjus_psl.1.0.0.UPF + + + + + 1.205741292923812e1 6.961350600517926e0 4.474925650632502e0 + 7.307522987434224e0 4.219000363772739e0 2.574286736527106e0 + + + 7.307522987434222e0 0.000000000000000e0 0.000000000000000e0 + 3.653761493622625e0 6.328500545942567e0 0.000000000000000e0 + 3.653761493622625e0 2.109500181980855e0 5.966567534365643e0 + + + + 2 + 12 + 0 + + crystal_symmetry + + 1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 1.000000000000000e0 + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + 1 2 + + + + crystal_symmetry + + 0.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 1.000000000000000e0 + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + 1 2 + + + + lattice_symmetry + + -1.000000000000000e0 -1.000000000000000e0 -1.000000000000000e0 + 1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 1.000000000000000e0 + + + + lattice_symmetry + + 0.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + -1.000000000000000e0 -1.000000000000000e0 -1.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 1.000000000000000e0 + + + + lattice_symmetry + + 0.000000000000000e0 -1.000000000000000e0 0.000000000000000e0 + -1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 -1.000000000000000e0 + + + + lattice_symmetry + + -1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 -1.000000000000000e0 + + + + lattice_symmetry + + -1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 -1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 -1.000000000000000e0 + + + + lattice_symmetry + + -1.000000000000000e0 -1.000000000000000e0 -1.000000000000000e0 + 0.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 1.000000000000000e0 + + + + lattice_symmetry + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 + -1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 -1.000000000000000e0 + + + + lattice_symmetry + + 0.000000000000000e0 -1.000000000000000e0 0.000000000000000e0 + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 -1.000000000000000e0 + + + + lattice_symmetry + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 + 0.000000000000000e0 -1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 -1.000000000000000e0 + + + + lattice_symmetry + + 1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + -1.000000000000000e0 -1.000000000000000e0 -1.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 1.000000000000000e0 + + + + + false + 1.500000000000000e1 + 1.200000000000000e2 + + + + 17261 + 6183 + 778 + + 1.000000000000000e0 -5.773502691668701e-1 -4.082482904481851e-1 + 0.000000000000000e0 1.154700538363601e0 -4.082482904587424e-1 + 0.000000000000000e0 0.000000000000000e0 1.224744871376227e0 + + + + PBE + + + false + false + false + 0.000000000000000e0 + + + -1.137201376707892e1 + 2.688899691316882e-1 + 5.400960527219643e-1 + -3.322868571473395e0 + -6.134526248701011e0 + -8.289052126719902e0 + -1.106011033148917e-4 + + + false + false + false + 8 + 8.000000000000000e0 + 8 + true + 2.441830361993022e-1 + + Monkhorst-Pack + + 24 + smearing + mv + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 749 + + -2.209074821044026e-1 1.718468448806231e-1 1.774799652837135e-1 2.563602363279490e-1 3.197211891570533e-1 + 3.271390818746340e-1 3.321495525779702e-1 3.656795844902003e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 2.492152320515695e-5 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 0.000000000000000e0 0.000000000000000e0 3.061862178440568e-1 + 769 + + -1.913654788159720e-1 5.432804240836203e-2 1.495452306597042e-1 2.497559572212172e-1 2.856538843914556e-1 + 3.308362487698099e-1 4.007777164808069e-1 4.384688770066469e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.943747955421032e-2 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 0.000000000000000e0 0.000000000000000e0 -6.123724356881136e-1 + 778 + + -1.301995061408514e-1 -5.738772080311261e-2 1.343471986710553e-1 2.561655357477042e-1 2.571965505532313e-1 + 2.921739872306625e-1 4.013783001725669e-1 4.625363984727453e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 3.184850727655508e-5 8.399758127775048e-6 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 0.000000000000000e0 2.886751345909002e-1 -1.020620726146856e-1 + 769 + + -1.911192632042711e-1 5.179172050086916e-2 1.525214550470579e-1 2.490936882060513e-1 2.869187764876896e-1 + 3.316591093292249e-1 3.992185620604738e-1 4.387638187063624e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 3.144388844178731e-2 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 0.000000000000000e0 2.886751345909002e-1 2.041241452293712e-1 + 769 + + -1.828992480532642e-1 6.989823970299653e-2 1.271736710075700e-1 1.905804902814877e-1 2.543302705674285e-1 + 3.131320656813317e-1 4.221448022860054e-1 4.395631807212437e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 2.775521956587812e-4 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 0.000000000000000e0 2.886751345909002e-1 -7.144345083027992e-1 + 763 + + -1.223863021616273e-1 -2.833221097452960e-2 6.910029447537771e-2 1.804105477729727e-1 2.651567543876234e-1 + 3.535880994558825e-1 4.052739081120365e-1 4.591177464312544e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.671351945731203e-11 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 0.000000000000000e0 2.886751345909002e-1 -4.082482904587424e-1 + 762 + + -1.426857941610620e-1 -1.159712307318782e-2 7.180563463226230e-2 2.247221315015971e-1 2.814645120234991e-1 + 3.895970462475922e-1 4.005153089800016e-1 4.235634115149765e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000012343556326e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 0.000000000000000e0 -5.773502691818003e-1 2.041241452293712e-1 + 778 + + -1.277606368130689e-1 -6.171259932898673e-2 1.367845188854623e-1 2.545965652744093e-1 2.575463802457425e-1 + 2.943512638658774e-1 4.021764125221503e-1 4.647005590652399e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 2.060891255642461e-4 5.242986945319661e-6 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 0.000000000000000e0 -5.773502691818003e-1 5.103103630734280e-1 + 763 + + -1.211304461452017e-1 -3.179521662180520e-2 7.171927729466967e-2 1.801928816353732e-1 2.647032510849565e-1 + 3.544536561874959e-1 4.064191201503419e-1 4.600759339139259e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 4.042455259423150e-11 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 0.000000000000000e0 -5.773502691818003e-1 -4.082482904587424e-1 + 774 + + -9.562540979968301e-2 -5.119981828048871e-2 9.689680718236461e-2 1.489358440918308e-1 2.244610075522617e-1 + 2.353797372784044e-1 5.859294805822461e-1 5.966784598934787e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000008861592528e0 + 1.063359600765434e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.500000000000000e-1 -7.216878364735178e-1 1.020620726173249e-1 + 763 + + -1.217057614516297e-1 -3.004842426332754e-2 7.017726884052439e-2 1.791540425161722e-1 2.681384130705743e-1 + 3.514470939829153e-1 4.076346965464711e-1 4.572709740439109e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 3.341771304121721e-14 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.500000000000000e-1 -7.216878364735178e-1 4.082482904613817e-1 + 762 + + -1.559268732719985e-1 3.013637303940416e-2 9.793429415685907e-2 1.427263689743861e-1 2.829223110587662e-1 + 3.895339076300338e-1 3.929994585897813e-1 4.184120241415576e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.500000000000000e-1 -7.216878364735178e-1 -2.041241452267319e-1 + 744 + + -9.191033987704023e-2 -4.334507666865458e-2 5.780373784181628e-2 1.093891975422223e-1 3.204094639295001e-1 + 3.676832426243913e-1 3.882684827529500e-1 4.403675316181713e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -2.500000000000000e-1 -1.443375672991827e-1 -1.020620726173249e-1 + 769 + + -1.972012930694248e-1 1.187935934866228e-1 1.607575746598498e-1 1.661508482430192e-1 2.743810748985743e-1 + 3.246839463221997e-1 3.299273098618077e-1 4.590884093561352e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -2.500000000000000e-1 -1.443375672991827e-1 2.041241452267319e-1 + 769 + + -1.830195045572006e-1 7.248631811575348e-2 1.246458336104642e-1 1.894762140405918e-1 2.532000422781437e-1 + 3.150669532305161e-1 4.243200887793817e-1 4.401239225889278e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 9.229677219086962e-4 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -2.500000000000000e-1 -1.443375672991827e-1 -7.144345083054384e-1 + 763 + + -1.208187816082474e-1 -3.866154002172482e-2 1.121627064662418e-1 1.427684347629669e-1 2.415911967890072e-1 + 3.519031426604986e-1 4.745286506426001e-1 4.781052041224093e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 7.797476415837885e-1 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -2.500000000000000e-1 -1.443375672991827e-1 -4.082482904613817e-1 + 762 + + -1.563659578472193e-1 3.292624693090170e-2 9.796208234887606e-2 1.397935422095679e-1 2.807951325853518e-1 + 3.910816407567440e-1 3.947907795735106e-1 4.192332732078233e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 5.000000000000000e-1 2.886751345983653e-1 2.041241452346498e-1 + 778 + + -1.618103032990772e-1 2.619555033840526e-2 1.523783704668990e-1 1.577364017757122e-1 2.571941085822348e-1 + 3.100291447744667e-1 3.151901553063108e-1 4.563068644895870e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 8.427151947598688e-6 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 5.000000000000000e-1 2.886751345983653e-1 5.103103630787066e-1 + 763 + + -1.421561768564326e-1 3.789945698598608e-2 7.396102325060550e-2 1.175238622493982e-1 2.492330160819567e-1 + 3.651673027455914e-1 4.061601637534541e-1 4.313208528748495e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 2.849693013407534e-2 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 5.000000000000000e-1 2.886751345983653e-1 -4.082482904534638e-1 + 774 + + -9.818865882861715e-2 -4.687834682426678e-2 9.492021537211221e-2 1.476566988310703e-1 2.224498425270026e-1 + 2.386203445831937e-1 5.897408605366092e-1 5.959890903986221e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000572665883e0 + 1.055274029150394e0 0.000000000000000e0 0.000000000000000e0 + + + + 5.000000000000001e-1 5.773502691892656e-1 1.020620726199643e-1 + 763 + + -1.419242770875203e-1 3.650099684229799e-2 7.287570273595508e-2 1.200399986308559e-1 2.513367127387109e-1 + 3.629237660456703e-1 4.038236291146241e-1 4.314953783126573e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 5.380605927984283e-3 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -7.500000000000001e-1 1.443375672842524e-1 1.020620726067676e-1 + 763 + + -1.189617608423299e-1 -4.256354378033954e-2 1.142964860360873e-1 1.430205321295397e-1 2.434663920713917e-1 + 3.500102866472806e-1 4.736822175238748e-1 4.795734228978682e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 5.029540463069666e-1 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -7.500000000000001e-1 1.443375672842524e-1 4.082482904508245e-1 + 762 + + -1.419799780709969e-1 -1.430071309685601e-2 7.373665695083155e-2 2.238907307532528e-1 2.843382259701560e-1 + 3.931504389637498e-1 3.977379723523947e-1 4.213087259384583e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000004214585017e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -7.500000000000001e-1 1.443375672842524e-1 -2.041241452372891e-1 + 744 + + -9.047711769487966e-2 -4.587793455622880e-2 5.894984411996917e-2 1.095706037894715e-1 3.211545322844520e-1 + 3.654183145637544e-1 3.897962298597179e-1 4.411758106381497e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 -2.674509189185166e-5 + + + -4.300408514118840e-5 -2.563840625110905e-4 -1.455583858431745e-4 + -2.563840625110905e-4 2.530427298609834e-4 -8.403817325284294e-5 + -1.455583858431741e-4 -8.403817325284278e-5 2.239229033859611e-4 + + + 0 + + + 2.943870000000000e0 + 3.220255851745605e0 + + + 3.674470000000000e-1 + 3.831341266632080e-1 + + + 2.246860000000000e-1 + 2.281689643859863e-1 + + + 3.587999999999994e-3 + 3.587961196899414e-3 + + + 2.025160000000000e-1 + 2.056279182434082e-1 + + + 3.413599999999928e-2 + 3.524208068847656e-2 + + + 2.901800000000004e-2 + 3.566813468933105e-2 + + + 2.005800000000000e-1 + 2.143294811248779e-1 + + + 2.443779999999998e-1 + 2.581706047058105e-1 + + + 3.656999999999577e-3 + 3.673315048217773e-3 + + + 6.067999999999962e-3 + 7.555961608886719e-3 + + + 3.630000000000244e-3 + 5.094051361083984e-3 + + + 2.701060000000002e-1 + 3.621308803558350e-1 + + + 5.043300000000000e-2 + 5.181002616882324e-2 + + + 1.205000000000020e-1 + 1.229050159454346e-1 + + + 1.197499999999989e-1 + 1.222424507141113e-1 + + + 2.672000000000063e-3 + 2.689123153686523e-3 + + + 2.643999999999869e-3 + 2.666711807250977e-3 + + + 3.367300000000012e-2 + 3.495883941650391e-2 + + + 3.364099999999992e-2 + 3.492999076843262e-2 + + + 3.357499999999980e-2 + 3.486204147338867e-2 + + + 3.067100000000000e-2 + 3.195190429687500e-2 + + + 7.271910000000004e-1 + 7.374980449676514e-1 + + + 7.261010000000008e-1 + 7.364306449890137e-1 + + + 7.201009999999957e-1 + 7.303347587585449e-1 + + + 6.656950000000035e-1 + 6.750814914703369e-1 + + + 6.636810000000026e-1 + 6.747441291809082e-1 + + + 3.100699999999978e-2 + 3.148603439331055e-2 + + + 4.246300000000147e-2 + 4.396843910217285e-2 + + + 2.117799999999681e-2 + 2.160000801086426e-2 + + + 1.668000000000225e-3 + 1.667022705078125e-3 + + + 2.447000000000399e-2 + 2.485656738281250e-2 + + + 2.043900000000365e-2 + 2.075052261352539e-2 + + + 7.280000000000064e-4 + 7.319450378417969e-4 + + + 4.494000000000398e-2 + 4.601764678955078e-2 + + + 4.180000000000850e-4 + 4.251003265380859e-4 + + + 1.933796000000000e0 + 2.154656171798706e0 + + + 1.037326999999999e0 + 1.052959203720093e0 + + + 8.395179999999982e-1 + 8.526775836944580e-1 + + + 8.506000000003677e-3 + 9.140491485595703e-3 + + + 1.160100000000108e-2 + 1.190447807312012e-2 + + + 7.152999999998411e-3 + 8.173942565917969e-3 + + + 2.446600000000076e-2 + 2.503871917724609e-2 + + + 4.532299999999578e-2 + 4.633474349975586e-2 + + + 1.412299999999567e-2 + 1.444339752197266e-2 + + + 4.864980000000001e-1 + 5.937232971191406e-1 + + + 1.160999999999746e-3 + 1.304864883422852e-3 + + + 1.913860000000005e-1 + 1.967406272888184e-1 + + + 2.044000000001045e-3 + 2.096891403198242e-3 + + + 4.987100000000000e-2 + 5.086350440979004e-2 + + + 8.367000000001568e-3 + 9.134531021118164e-3 + + + 8.930000000026972e-4 + 9.217262268066406e-4 + + + 2.839709999999998e-1 + 3.842501640319824e-1 + + + 1.106000000000051e-3 + 1.112937927246094e-3 + + + 6.267800000000001e-2 + 1.562371253967285e-1 + + + 1.412960000000001e-1 + 1.416790485382080e-1 + + + 8.492000000000388e-3 + 9.912967681884766e-3 + + + 7.639000000000173e-3 + 8.664131164550781e-3 + + + 5.755919999999999e-1 + 6.078929901123047e-1 + + + 9.167700000000023e-2 + 9.995889663696289e-2 + + + 5.235900000000004e-2 + 6.038403511047363e-2 + + + 1.821000000000073e-3 + 2.020120620727539e-3 + + + 2.993400000000035e-2 + 2.999401092529297e-2 + + + 5.994999999999973e-3 + 5.995035171508789e-3 + + + 4.837520000000000e-1 + 5.077569484710693e-1 + + + 1.020000000000465e-4 + 1.032352447509766e-4 + + + 4.541999999999380e-3 + 4.550695419311523e-3 + + + 4.245999999997974e-3 + 4.292249679565430e-3 + + + 1.918000000000308e-3 + 1.941204071044922e-3 + + + + diff --git a/tests/parsers/fixtures/pw/fixed_coords_vcrelax/aiida.out b/tests/parsers/fixtures/pw/fixed_coords_vcrelax/aiida.out new file mode 100644 index 000000000..b8eb955d7 --- /dev/null +++ b/tests/parsers/fixtures/pw/fixed_coords_vcrelax/aiida.out @@ -0,0 +1,581 @@ + + Program PWSCF v.7.0 starts on 9Mar2022 at 18:36:40 + + 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 + + Parallel version (MPI), running on 1 processors + + MPI processes distributed on 1 nodes + 39557 MiB available memory on the printing compute node when the environment starts + + Reading input from aiida.in + + Current dimensions of program PWSCF are: + Max number of different atomic species (ntypx) = 10 + Max number of k-points (npk) = 40000 + Max angular momentum in pseudopotentials (lmaxx) = 4 + Message from routine setup: + using ibrav=0 with symmetry is DISCOURAGED, use correct ibrav instead + + Subspace diagonalization in iterative solution of the eigenvalue problem: + a serial algorithm will be used + + + G-vector sticks info + -------------------- + sticks: dense smooth PW G-vecs: dense smooth PW + Sum 825 403 135 16263 5737 1113 + + Using Slab Decomposition + + + + bravais-lattice index = 0 + lattice parameter (alat) = 6.7026 a.u. + unit-cell volume = 258.3983 (a.u.)^3 + number of atoms/cell = 2 + number of atomic types = 1 + number of electrons = 8.00 + number of Kohn-Sham states= 8 + kinetic-energy cutoff = 30.0000 Ry + charge density cutoff = 240.0000 Ry + scf convergence threshold = 8.0E-10 + mixing beta = 0.4000 + number of iterations used = 8 plain mixing + energy convergence thresh.= 2.0E-04 + force convergence thresh. = 1.0E-03 + press convergence thresh. = 5.0E-01 + Exchange-correlation= PBE + ( 1 4 3 4 0 0 0) + nstep = 50 + + + celldm(1)= 6.702556 celldm(2)= 0.000000 celldm(3)= 0.000000 + celldm(4)= 0.000000 celldm(5)= 0.000000 celldm(6)= 0.000000 + + crystal axes: (cart. coord. in units of alat) + a(1) = ( 0.992947 -0.118217 -0.008985 ) + a(2) = ( 0.394095 0.919026 -0.008985 ) + a(3) = ( 0.452385 0.261184 0.888864 ) + + reciprocal axes: (cart. coord. in units 2 pi/alat) + b(1) = ( 0.954642 -0.412931 -0.364526 ) + b(2) = ( 0.119712 1.033210 -0.364526 ) + b(3) = ( 0.010860 0.006270 1.117662 ) + + + PseudoPot. # 1 for Si read from file: + ./pseudo/Si.pbe-n-rrkjus_psl.1.0.0.UPF + MD5 check sum: 0b0bb1205258b0d07b9f9672cf965d36 + Pseudo is Ultrasoft + core correction, Zval = 4.0 + Generated using "atomic" code by A. Dal Corso v.5.1 + Using radial grid of 1141 points, 6 beta functions with: + l(1) = 0 + l(2) = 0 + l(3) = 1 + l(4) = 1 + l(5) = 2 + l(6) = 2 + Q(r) pseudized with 0 coefficients + + + atomic species valence mass pseudopotential + Si 4.00 28.08550 Si( 1.00) + +--- SYMMETRIES REMOVED --- + + Cartesian axes + + site n. atom positions (alat units) + 1 Si tau( 1) = ( 1.5182739 0.8765759 0.6513741 ) + 2 Si tau( 2) = ( 0.9199363 0.5311255 0.4060827 ) + + Crystallographic axes + + site n. atom positions (cryst. coord.) + 1 Si tau( 1) = ( 0.8500000 0.8500000 0.7500000 ) + 2 Si tau( 2) = ( 0.5108640 0.5108640 0.4671835 ) + +--- K-POINTS REMOVED --- + +--- MEMORY INFO REMOVED --- + + Self-consistent Calculation + + iteration # 1 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 90 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39537 MiB available memory on the node where the printing process lives +------------------ + ethr = 1.00E-02, avg # of iterations = 4.3 + + Threshold (ethr) on eigenvalues was too large: + Diagonalizing with lowered threshold + + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 97 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39531 MiB available memory on the node where the printing process lives +------------------ + ethr = 5.12E-04, avg # of iterations = 2.7 + + total cpu time spent up to now is 1.6 secs + + total energy = -22.77350117 Ry + estimated scf accuracy < 0.04403237 Ry + + iteration # 2 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 100 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39528 MiB available memory on the node where the printing process lives +------------------ + ethr = 5.50E-04, avg # of iterations = 1.1 + Minimization algorithm failed to find Fermi energy: reverting to bisection + Possible cause: smearing is larger than the electronic band-gap. + + total cpu time spent up to now is 1.7 secs + + total energy = -22.77208186 Ry + estimated scf accuracy < 0.01103791 Ry + + iteration # 3 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 100 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39529 MiB available memory on the node where the printing process lives +------------------ + ethr = 1.38E-04, avg # of iterations = 2.0 + + total cpu time spent up to now is 1.9 secs + + total energy = -22.77271363 Ry + estimated scf accuracy < 0.00039183 Ry + + iteration # 4 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 101 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39530 MiB available memory on the node where the printing process lives +------------------ + ethr = 4.90E-06, avg # of iterations = 7.0 + + total cpu time spent up to now is 2.2 secs + + total energy = -22.77276209 Ry + estimated scf accuracy < 0.00001289 Ry + + iteration # 5 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 101 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39528 MiB available memory on the node where the printing process lives +------------------ + ethr = 1.61E-07, avg # of iterations = 1.8 + + total cpu time spent up to now is 2.4 secs + + total energy = -22.77276297 Ry + estimated scf accuracy < 0.00000116 Ry + + iteration # 6 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 101 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39528 MiB available memory on the node where the printing process lives +------------------ + ethr = 1.45E-08, avg # of iterations = 1.9 + + total cpu time spent up to now is 2.6 secs + + total energy = -22.77276316 Ry + estimated scf accuracy < 0.00000003 Ry + + iteration # 7 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 101 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39528 MiB available memory on the node where the printing process lives +------------------ + ethr = 4.34E-10, avg # of iterations = 3.0 + + total cpu time spent up to now is 2.8 secs + + total energy = -22.77276317 Ry + estimated scf accuracy < 4.9E-09 Ry + + iteration # 8 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 101 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39528 MiB available memory on the node where the printing process lives +------------------ + ethr = 6.19E-11, avg # of iterations = 2.0 + + total cpu time spent up to now is 3.0 secs + + End of self-consistent calculation + +--- OCCUPATIONS REMOVED --- + + the Fermi energy is 6.8788 ev + +! total energy = -22.77276318 Ry + estimated scf accuracy < 3.3E-10 Ry + smearing contrib. (-TS) = 0.00033696 Ry + internal energy E=F+TS = -22.77310014 Ry + + The total energy is F=E-TS. E is the sum of the following terms: + one-electron contribution = 6.07553484 Ry + hartree contribution = 0.79426191 Ry + xc contribution = -12.25171012 Ry + ewald contribution = -17.39118676 Ry + + convergence has been achieved in 8 iterations + + Forces acting on atoms (cartesian axes, Ry/au): + + atom 1 type 1 force = -0.04559879 -0.02632647 -0.00053087 + atom 2 type 1 force = 0.04559879 0.02632647 0.00053087 + The non-local contrib. to forces + atom 1 type 1 force = -0.01555479 -0.00898056 0.00367384 + atom 2 type 1 force = 0.01555249 0.00897923 -0.00369180 + The ionic contribution to forces + atom 1 type 1 force = 0.23466020 0.13548113 0.03592609 + atom 2 type 1 force = -0.23466020 -0.13548113 -0.03592609 + The local contribution to forces + atom 1 type 1 force = -0.26650739 -0.15386811 -0.03989982 + atom 2 type 1 force = 0.26650953 0.15386935 0.03990537 + The core correction contribution to forces + atom 1 type 1 force = 0.00179887 0.00103858 -0.00023806 + atom 2 type 1 force = -0.00179872 -0.00103849 0.00023105 + The Hubbard contrib. to forces + atom 1 type 1 force = 0.00000000 0.00000000 0.00000000 + atom 2 type 1 force = 0.00000000 0.00000000 0.00000000 + The SCF correction term to forces + atom 1 type 1 force = 0.00000000 0.00000000 -0.00000000 + atom 2 type 1 force = -0.00000000 -0.00000000 0.00000265 + + Total force = 0.000531 Total SCF correction = 0.000003 + + + Computing stress (Cartesian axis) and pressure + + total stress (Ry/bohr**3) (kbar) P= 0.13 + -0.00000028 -0.00000387 0.00000128 -0.04 -0.57 0.19 + -0.00000387 0.00000419 0.00000074 -0.57 0.62 0.11 + 0.00000128 0.00000074 -0.00000131 0.19 0.11 -0.19 + + kinetic stress (kbar) 2335.16 98.65 35.67 + 98.65 2221.24 20.59 + 35.67 20.59 2276.96 + + local stress (kbar) 463.95 478.40 150.44 + 478.40 -88.45 86.86 + 150.44 86.86 337.58 + + nonloc. stress (kbar) 1615.79 -65.50 -31.86 + -65.50 1691.42 -18.39 + -31.86 -18.39 1699.71 + + hartree stress (kbar) 160.57 -27.01 6.89 + -27.01 191.76 3.98 + 6.89 3.98 99.85 + + exc-cor stress (kbar) 3087.01 -3.80 -1.75 + -3.80 3091.40 -1.01 + -1.75 -1.01 3089.32 + + corecor stress (kbar) -4117.18 8.25 4.15 + 8.25 -4126.71 2.40 + 4.15 2.40 -4128.25 + + ewald stress (kbar) -3545.32 -489.55 -163.34 + -489.55 -2980.04 -94.31 + -163.34 -94.31 -3375.36 + + hubbard stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + DFT-D stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + XDM stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + dft-nl stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + TS-vdW stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + + 0.00 0.00 0.00 + + + BFGS Geometry Optimization + Energy error = 0.0E+00 Ry + Gradient error = 5.3E-04 Ry/Bohr + Cell gradient error = 6.2E-01 kbar + + number of scf cycles = 1 + number of bfgs steps = 0 + + enthalpy new = -22.7727631757 Ry + + new trust radius = 0.0005308715 bohr + new conv_thr = 0.0000000008 Ry + + new unit-cell volume = 258.41511 a.u.^3 ( 38.29317 Ang^3 ) + density = 2.43579 g/cm^3 + +CELL_PARAMETERS (angstrom) + 3.521839323 -0.419682810 -0.031761287 + 1.397463687 3.259843727 -0.031761287 + 1.604536131 0.926379367 3.152623961 + +ATOMIC_POSITIONS (angstrom) +Si 5.3848096571 3.1089213051 2.3104737830 0 0 0 +Si 3.2627077194 1.8837251800 1.4406833026 0 0 1 + + + + Writing config-only to output data dir ./out/aiida.save/ + NEW-OLD atomic charge density approx. for the potential + extrapolated charge 8.00052, renormalised to 8.00000 + + total cpu time spent up to now is 5.4 secs + + Self-consistent Calculation + + iteration # 1 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 105 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39524 MiB available memory on the node where the printing process lives +------------------ + ethr = 1.00E-06, avg # of iterations = 1.9 + + Threshold (ethr) on eigenvalues was too large: + Diagonalizing with lowered threshold + + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 105 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39525 MiB available memory on the node where the printing process lives +------------------ + ethr = 1.31E-10, avg # of iterations = 4.0 + + total cpu time spent up to now is 5.8 secs + + total energy = -22.77276374 Ry + estimated scf accuracy < 0.00000001 Ry + + iteration # 2 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 105 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39525 MiB available memory on the node where the printing process lives +------------------ + ethr = 1.40E-10, avg # of iterations = 2.0 + + total cpu time spent up to now is 6.0 secs + + total energy = -22.77276374 Ry + estimated scf accuracy < 2.3E-09 Ry + + iteration # 3 ecut= 30.00 Ry beta= 0.40 + Davidson diagonalization with overlap + +---- Real-time Memory Report at c_bands before calling an iterative solver + 105 MiB given to the printing process from OS + 0 MiB allocation reported by mallinfo(arena+hblkhd) + 39525 MiB available memory on the node where the printing process lives +------------------ + ethr = 2.86E-11, avg # of iterations = 1.0 + + total cpu time spent up to now is 6.1 secs + + End of self-consistent calculation + +--- OCCUPATIONS REMOVED --- + + the Fermi energy is 6.8778 ev + +! total energy = -22.77276374 Ry + estimated scf accuracy < 4.5E-10 Ry + smearing contrib. (-TS) = 0.00033605 Ry + internal energy E=F+TS = -22.77309979 Ry + + The total energy is F=E-TS. E is the sum of the following terms: + one-electron contribution = 6.07527042 Ry + hartree contribution = 0.79421342 Ry + xc contribution = -12.25158493 Ry + ewald contribution = -17.39099870 Ry + + convergence has been achieved in 3 iterations + + Forces acting on atoms (cartesian axes, Ry/au): + + atom 1 type 1 force = -0.04558167 -0.02631659 -0.00048474 + atom 2 type 1 force = 0.04558167 0.02631659 0.00048474 + The non-local contrib. to forces + atom 1 type 1 force = -0.01552970 -0.00896607 0.00363612 + atom 2 type 1 force = 0.01552762 0.00896487 -0.00365305 + The ionic contribution to forces + atom 1 type 1 force = 0.23480609 0.13556536 0.03572962 + atom 2 type 1 force = -0.23480609 -0.13556536 -0.03572962 + The local contribution to forces + atom 1 type 1 force = -0.26665632 -0.15395410 -0.03962400 + atom 2 type 1 force = 0.26665765 0.15395487 0.03963107 + The core correction contribution to forces + atom 1 type 1 force = 0.00179591 0.00103687 -0.00023371 + atom 2 type 1 force = -0.00179563 -0.00103671 0.00022645 + The Hubbard contrib. to forces + atom 1 type 1 force = 0.00000000 0.00000000 0.00000000 + atom 2 type 1 force = 0.00000000 0.00000000 0.00000000 + The SCF correction term to forces + atom 1 type 1 force = 0.00000000 0.00000000 -0.00000000 + atom 2 type 1 force = -0.00000000 -0.00000000 0.00000020 + + Total force = 0.000485 Total SCF correction = 0.000000 + + + Computing stress (Cartesian axis) and pressure + + total stress (Ry/bohr**3) (kbar) P= 0.02 + -0.00000043 -0.00000267 0.00000169 -0.06 -0.39 0.25 + -0.00000267 0.00000265 0.00000097 -0.39 0.39 0.14 + 0.00000169 0.00000097 -0.00000189 0.25 0.14 -0.28 + + kinetic stress (kbar) 2334.91 98.75 35.66 + 98.75 2220.88 20.59 + 35.66 20.59 2276.85 + + local stress (kbar) 463.47 478.16 150.03 + 478.16 -88.66 86.62 + 150.03 86.62 338.16 + + nonloc. stress (kbar) 1615.68 -65.46 -31.82 + -65.46 1691.27 -18.37 + -31.82 -18.37 1699.50 + + hartree stress (kbar) 160.59 -27.00 6.94 + -27.00 191.77 4.01 + 6.94 4.01 99.76 + + exc-cor stress (kbar) 3086.82 -3.80 -1.75 + -3.80 3091.21 -1.01 + -1.75 -1.01 3089.13 + + corecor stress (kbar) -4116.91 8.24 4.15 + 8.24 -4126.43 2.39 + 4.15 2.39 -4127.96 + + ewald stress (kbar) -3544.62 -489.28 -162.97 + -489.28 -2979.65 -94.09 + -162.97 -94.09 -3375.71 + + hubbard stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + DFT-D stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + XDM stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + dft-nl stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + TS-vdW stress (kbar) 0.00 0.00 0.00 + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + + 0.00 0.00 0.00 + 0.00 0.00 0.00 + + + 0.00 0.00 0.00 + + Energy error = 5.7E-07 Ry + Gradient error = 4.8E-04 Ry/Bohr + Cell gradient error = 3.9E-01 kbar + + bfgs converged in 2 scf cycles and 1 bfgs steps + (criteria: energy < 2.0E-04 Ry, force < 1.0E-03Ry/Bohr, cell < 5.0E-01kbar) + + End of BFGS Geometry Optimization + + Final enthalpy = -22.7727637421 Ry + + File ./out/aiida.bfgs deleted, as requested +Begin final coordinates + new unit-cell volume = 258.41511 a.u.^3 ( 38.29317 Ang^3 ) + density = 2.43579 g/cm^3 + +CELL_PARAMETERS (angstrom) + 3.521839323 -0.419682810 -0.031761287 + 1.397463687 3.259843727 -0.031761287 + 1.604536131 0.926379367 3.152623961 + +ATOMIC_POSITIONS (angstrom) +Si 5.3848096571 3.1089213051 2.3104737830 0 0 0 +Si 3.2627077194 1.8837251800 1.4406833026 0 0 1 +End final coordinates + + Writing config-only to output data dir ./out/aiida.save/ + +--- FINAL SCF REMOVED --- + +--- TIMINGS REMOVED --- + +=------------------------------------------------------------------------------= + JOB DONE. +=------------------------------------------------------------------------------= diff --git a/tests/parsers/fixtures/pw/fixed_coords_vcrelax/data-file.xml b/tests/parsers/fixtures/pw/fixed_coords_vcrelax/data-file.xml new file mode 100644 index 000000000..f0a4e9d22 --- /dev/null +++ b/tests/parsers/fixtures/pw/fixed_coords_vcrelax/data-file.xml @@ -0,0 +1,904 @@ + + + + + QEXSD_21.11.01 + XML file generated by PWSCF + This run was terminated on: 18:36:52 9 Mar 2022 + + + + 1 + 1 + 1 + 1 + 1 + 1 + + + + + vc-relax + from_scratch + aiida + ./pseudo/ + ./out/ + true + true + true + low + 41040 + 50 + 1.000000000000000e-4 + 5.000000000000000e-4 + 5.000000000000000e-1 + high + 100000 + + + + 2.808550000000000e1 + Si.pbe-n-rrkjus_psl.1.0.0.UPF + + + + + 1.017631552162042e1 5.875298505758790e0 4.365871312102837e0 + 6.165924526175590e0 3.559898184930171e0 2.721791989194361e0 + + + 6.655283373201728e0 -7.923570102055257e-1 -6.022050315738444e-2 + 2.641440386888126e0 6.159822975629808e0 -6.022050315738444e-2 + 3.032133767555831e0 1.750603246914593e0 5.957661556929542e0 + + + + PBE + + + false + false + false + + + 8 + mv + 0.000000000000000e0 + smearing + + + false + 1.500000000000000e1 + 1.200000000000000e2 + + + davidson + plain + 4.000000000000000e-1 + 4.000000000000000e-10 + 8 + 80 + false + false + false + false + 0.000000000000000e0 + false + 20 + 20 + 4 + 16 + false + + + Monkhorst-Pack + + + bfgs + 1.000000000000000e2 + false + false + + 1 + 1.000000000000000e-4 + 8.000000000000000e-1 + 5.000000000000000e-1 + 1.000000000000000e-2 + 5.000000000000000e-1 + + + + bfgs + 0.000000000000000e0 + 5.617100000000001e1 + all + + + false + false + false + false + false + false + + + 0 0 0 + 0 0 1 + + + + + true + 8 + 3.257492558831575e-10 + + + + 1.017631552162042e1 5.875298505758790e0 4.365871312102837e0 + 6.165924526175590e0 3.559898184930171e0 2.721791989194361e0 + + + 6.655283373201728e0 -7.923570102055257e-1 -6.022050315738444e-2 + 2.641440386888126e0 6.159822975629808e0 -6.022050315738444e-2 + 3.032133767555831e0 1.750603246914593e0 5.957661556929542e0 + + + + -1.138638158785344e1 + 5.167083876950953e-1 + 3.971309540094396e-1 + -3.315324234167071e0 + -6.125855059482870e0 + -8.695593380543134e0 + 1.684803451580483e-4 + + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 2.654357560035736e-4 + + + + + true + 3 + 4.505314010327503e-10 + + + + 1.017581548523406e1 5.875009809616521e0 4.366162668036491e0 + 6.165624014322024e0 3.559724684330612e0 2.722496874236814e0 + + + 6.655311776305080e0 -7.930855699488393e-1 -6.002013353348296e-2 + 2.640823637193924e0 6.160211853310514e0 -6.002013353348518e-2 + 3.032133845176982e0 1.750603291729185e0 5.957595860360236e0 + + + + -1.138638187107191e1 + 5.165986100379558e-1 + 3.971067113784144e-1 + -3.315246632666682e0 + -6.125792467185182e0 + -8.695499349167125e0 + 1.680233081585965e-4 + + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 2.423722381765994e-4 + + + + + + true + 9 + 5.052136586377869e-11 + + + true + 1 + 4.856547472472766e-4 + + + + false + false + true + false + + + + 2.808550000000000e1 + Si.pbe-n-rrkjus_psl.1.0.0.UPF + + + + + 1.017581548523406e1 5.875009809616521e0 4.366162668036491e0 + 6.165624014322024e0 3.559724684330611e0 2.722496874236814e0 + + + 6.655311776305080e0 -7.930855699488393e-1 -6.002013353348296e-2 + 2.640823637193924e0 6.160211853310514e0 -6.002013353348518e-2 + 3.032133845176982e0 1.750603291729185e0 5.957595860360236e0 + + + + 2 + 4 + 0 + + crystal_symmetry + + 1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 1.000000000000000e0 + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + 1 2 + + + + crystal_symmetry + + 0.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 1.000000000000000e0 + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + 1 2 + + + + lattice_symmetry + + -1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 -1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 -1.000000000000000e0 + + + + lattice_symmetry + + 0.000000000000000e0 -1.000000000000000e0 0.000000000000000e0 + -1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 -1.000000000000000e0 + + + + + false + 1.500000000000000e1 + 1.200000000000000e2 + + + + 16263 + 5737 + 729 + + 9.546206328716767e-1 -4.127886839529761e-1 -3.645612008979934e-1 + 1.198248297405936e-1 1.033120061027434e0 -3.645612009008913e-1 + 1.082456105650211e-2 6.249563239888739e-3 1.117698117269425e0 + + + + PBE + + + false + false + false + 0.000000000000000e0 + + + -1.138638193349022e1 + 5.166033449333369e-1 + 3.971050590879260e-1 + -3.315245675198386e0 + -6.125791665523519e0 + -8.695499349167147e0 + 1.680238386345413e-4 + + + false + false + false + 8 + 8.000000000000000e0 + 8 + true + 2.527534674108971e-1 + + Monkhorst-Pack + + 24 + smearing + mv + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 709 + + -1.996603550062983e-1 2.064979701697520e-1 2.266835947158406e-1 2.996125009777397e-1 3.337312559223515e-1 + 3.419212481889786e-1 3.521910899554808e-1 4.387162713500377e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000509704e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.706140264125527e-3 1.562390809972185e-3 2.794245293173562e-1 + 720 + + -1.704014748878462e-1 8.850869806733570e-2 1.877003183879328e-1 2.725618215455815e-1 3.344160129464673e-1 + 3.907919003710524e-1 3.919466281262820e-1 4.681916354930005e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.564583462787539e-10 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -5.412280528251054e-3 -3.124781619944370e-3 -5.588490586347125e-1 + 710 + + -1.129898581158107e-1 -2.327624557533351e-2 1.752862616324005e-1 2.670493183623178e-1 2.950806213586132e-1 + 3.765945877968588e-1 4.161521612843641e-1 5.328103333287892e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.423686374735222e-6 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.995620743514841e-2 2.582800152568585e-1 -9.114030022522279e-2 + 708 + + -1.703510573597879e-1 7.744513641256688e-2 2.110040083900101e-1 2.855486352070080e-1 3.523496126105210e-1 + 3.623305716964924e-1 3.950244591406100e-1 4.717742776390886e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 3.266234769927394e-2 2.598424060668307e-1 1.882842290921334e-1 + 722 + + -1.594711973305266e-1 1.101504790576071e-1 1.578958770104486e-1 2.432281238061002e-1 2.772291675234536e-1 + 3.699336331879576e-1 4.107431926080659e-1 4.691761964248804e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.049867460885110e0 1.049160758270773e-14 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.454392690689735e-2 2.551552336369141e-1 -6.499893588599353e-1 + 714 + + -9.848600959201470e-2 2.630548869492577e-3 1.020793439231702e-1 2.216227743865341e-1 3.336219471861236e-1 + 3.768645837417695e-1 3.894144885587085e-1 5.281362610227291e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000020e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.725006717102288e-2 2.567176244468863e-1 -3.705648295425790e-1 + 715 + + -1.246244025805038e-1 2.738986703186963e-2 1.006554432133394e-1 2.495343835262322e-1 3.693481247571068e-1 + 3.778150399607810e-1 4.541193375809227e-1 5.314234341180067e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 8.616875222729002e-1 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -5.991241487029681e-2 -5.165600305137170e-1 1.822806004504456e-1 + 718 + + -1.090971413468792e-1 -3.720259817748542e-2 2.035702981622960e-1 2.829014415442707e-1 3.294445546449843e-1 + 3.602568198845235e-1 4.276893009100570e-1 5.140449737379793e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -5.720627460617128e-2 -5.149976397037448e-1 4.617051297678019e-1 + 717 + + -9.654982617938710e-2 -7.702396742355239e-3 1.120479322566960e-1 2.352074051260105e-1 3.251107640796040e-1 + 3.721021507024862e-1 4.737406781947509e-1 4.911470244220856e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000118167832691e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -6.532469539854788e-2 -5.196848121336614e-1 -3.765684581842669e-1 + 728 + + -5.431335615897446e-2 -3.440095488771878e-2 1.223742700912802e-1 1.981473928470151e-1 2.474993584727248e-1 + 2.999389482306393e-1 5.319258771067518e-1 5.396941014154209e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.041035849811830e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.686113656530675e-1 1.550828442686145e-1 -1.822806004497212e-1 + 713 + + -1.504621281705396e-1 1.175001207064733e-1 1.268382879262463e-1 2.304423652008451e-1 2.620546289027667e-1 + 3.852832889580824e-1 4.527801494629156e-1 4.656082697991819e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000245247239e0 6.887796280344305e-4 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.713175059171931e-1 1.566452350785867e-1 9.714392886763507e-2 + 720 + + -1.589516998568267e-1 1.669802756343528e-1 1.887750652596710e-1 2.013206457550337e-1 2.425277907774261e-1 + 3.513599967778730e-1 3.664137700237376e-1 4.684567450569453e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.037357834702533e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.631990851248165e-1 1.519580626486701e-1 -7.411296590844336e-1 + 715 + + -1.118864051069692e-1 5.925548003300283e-2 1.515491922018679e-1 1.570077050112689e-1 2.587903578997631e-1 + 3.864955683333433e-1 3.965424407813076e-1 4.593706748521557e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.360170988380632e-2 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.659052253889421e-1 1.535204534586423e-1 -4.617051297670773e-1 + 701 + + -9.084572431619888e-2 1.624308089328896e-2 1.181022215641825e-1 1.589511021185261e-1 2.456176642106268e-1 + 4.531134282650822e-1 5.105054460554850e-1 5.116032600833167e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.083275404881562e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 1.787427433476223e-1 -6.197572015019609e-1 9.114030022594722e-2 + 714 + + -8.485749146999439e-2 -1.056121520957132e-2 1.288887017074342e-1 2.047197531929521e-1 2.888041005683039e-1 + 3.357842987335325e-1 4.325248230017034e-1 5.374510445186660e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 1.814488836117478e-1 -6.181948106919888e-1 3.705648295433035e-1 + 729 + + -1.048842118645154e-1 3.005191700935113e-2 1.364988577537605e-1 1.885685086641860e-1 3.000352819725605e-1 + 3.601025543120778e-1 4.190164077332391e-1 4.648531481415330e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 1.733304628193712e-1 -6.228819831219052e-1 -4.677087584087652e-1 + 728 + + -7.767023530154161e-2 3.311277008299276e-2 1.083269151168258e-1 1.478378002675673e-1 2.626999092901163e-1 + 3.388085472022303e-1 4.368769362981527e-1 4.748711858200703e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 3.461243725486063e-4 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 1.760366030834968e-1 -6.213195923119333e-1 -1.882842290914090e-1 + 716 + + -3.653776093606937e-2 -2.125123746380182e-2 9.183112388716406e-2 1.300713144406335e-1 2.967730942215772e-1 + 3.561350034017758e-1 4.643249084830552e-1 5.034909528315334e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.086989507827707e-1 -3.614771862451025e-1 7.244576472706610e-13 + 727 + + -1.322710488966801e-1 4.685027765642250e-2 1.173245876094415e-1 2.313461911139514e-1 3.476023527264820e-1 + 4.017915970197816e-1 4.443525378545529e-1 4.504160624888771e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000912862084e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.114050910468963e-1 -3.599147954351303e-1 2.794245293180807e-1 + 716 + + -1.049603819724065e-1 1.678152242274578e-2 1.438678393039557e-1 1.545000668753931e-1 2.784269376842663e-1 + 4.570059454102376e-1 4.900022040438856e-1 5.315968997686856e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 6.661338147750939e-16 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + 2.032866702545197e-1 -3.646019678650469e-1 -5.588490586339880e-1 + 728 + + -4.298207174859049e-2 -2.782582393674139e-2 9.207943191988132e-2 1.154715518666363e-1 3.846765398673426e-1 + 3.972299572052918e-1 4.989908330981993e-1 5.110543176140836e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -5.372227313061351e-1 -3.101656885372289e-1 3.645612008994423e-1 + 706 + + -2.297842371143031e-2 -1.207218070041488e-2 8.331899363723277e-2 1.542030386222978e-1 2.086020673374922e-1 + 2.904154695664198e-1 5.818262675251243e-1 5.946479359260239e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -5.345165910420095e-1 -3.086032977272568e-1 6.439857302167987e-1 + 712 + + -6.569402033992975e-2 5.603441914334222e-2 1.069866753553539e-1 1.075502031676693e-1 2.225587435011010e-1 + 3.794388434689020e-1 4.081850927596679e-1 4.642888764912407e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000156e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + -5.426350118343861e-1 -3.132904701571734e-1 -1.942878577352701e-1 + 720 + + -7.782697486282592e-2 3.859832852511860e-2 1.437610175636705e-1 1.920498028459325e-1 2.037083902760848e-1 + 3.117734480554011e-1 3.479376273693102e-1 4.449953947499853e-1 + + + 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 1.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + + + + + 0.000000000000000e0 0.000000000000000e0 0.000000000000000e0 + 0.000000000000000e0 0.000000000000000e0 2.428273736236383e-4 + + + -2.216794875848289e-7 -1.330737681117857e-6 8.457123956755691e-7 + -1.330737681117857e-6 1.314924029251880e-6 4.882722793005980e-7 + 8.457123956753609e-7 4.882722793004779e-7 -9.527735406822735e-7 + + + 0 + + + 1.179566700000000e1 + 1.254005694389343e1 + + + 2.114850000000001e0 + 2.168199062347412e0 + + + 1.610409000000000e0 + 1.631568193435669e0 + + + 4.861030000000000e-1 + 4.866418838500977e-1 + + + 8.267379999999989e-1 + 8.288862705230713e-1 + + + 5.496600000001450e-2 + 7.874608039855957e-2 + + + 3.722060000000003e-1 + 3.723609447479248e-1 + + + 3.768480000000025e-1 + 3.870387077331543e-1 + + + 4.659849999999981e-1 + 4.762563705444336e-1 + + + 6.246999999998337e-3 + 6.267547607421875e-3 + + + 5.765000000002019e-3 + 6.022214889526367e-3 + + + 1.539000000006396e-3 + 1.610040664672852e-3 + + + 6.538260000000040e-1 + 9.038984775543213e-1 + + + 7.264800000000093e-2 + 7.287192344665527e-2 + + + 2.421750000000156e-1 + 2.463529109954834e-1 + + + 2.402770000000363e-1 + 2.447347640991211e-1 + + + 4.282000000001673e-3 + 4.297971725463867e-3 + + + 4.222000000002168e-3 + 4.242181777954102e-3 + + + 4.256100000000629e-2 + 4.268217086791992e-2 + + + 4.249300000000567e-2 + 4.261136054992676e-2 + + + 4.240899999999748e-2 + 4.252433776855469e-2 + + + 3.708199999999806e-2 + 3.718543052673340e-2 + + + 1.141706000000017e0 + 1.163509130477905e0 + + + 1.138801999999968e0 + 1.160670995712280e0 + + + 1.124264000000037e0 + 1.145402193069458e0 + + + 9.865760000000527e-1 + 1.005411386489868e0 + + + 8.513679999998605e-1 + 8.679435253143311e-1 + + + 7.631700000001018e-2 + 7.771325111389160e-2 + + + 1.031540000000053e-1 + 1.051900386810303e-1 + + + 5.516700000001862e-2 + 5.629968643188477e-2 + + + 3.093999999999042e-3 + 3.105640411376953e-3 + + + 6.280699999996919e-2 + 6.387877464294434e-2 + + + 5.284899999998061e-2 + 5.387639999389648e-2 + + + 1.262999999998016e-3 + 1.262903213500977e-3 + + + 1.219320000000153e-1 + 1.249978542327881e-1 + + + 7.889999999974862e-4 + 7.884502410888672e-4 + + + 3.891805000000002e0 + 4.438810825347900e0 + + + 1.917359000000001e0 + 1.955388545989990e0 + + + 1.477544000000000e0 + 1.507004499435425e0 + + + 1.786999999999317e-2 + 1.811814308166504e-2 + + + 3.018000000000320e-2 + 3.090786933898926e-2 + + + 1.902500000000629e-2 + 1.950478553771973e-2 + + + 6.036100000001987e-2 + 6.164073944091797e-2 + + + 1.236660000000001e-1 + 1.266145706176758e-1 + + + 3.921500000001288e-2 + 4.008221626281738e-2 + + + 1.061161000000002e0 + 1.335190773010254e0 + + + 4.416000000000864e-3 + 4.416942596435547e-3 + + + 3.139409999999980e-1 + 3.187634944915771e-1 + + + 4.724000000013717e-3 + 4.851579666137695e-3 + + + 1.009369999999947e-1 + 1.023054122924805e-1 + + + 1.899299999999116e-2 + 1.927065849304199e-2 + + + 2.236999999999156e-3 + 2.283573150634766e-3 + + + 7.310720000000011e-1 + 9.886841773986816e-1 + + + 2.539999999997988e-3 + 2.542972564697266e-3 + + + 1.393089999999955e-1 + 3.700768947601318e-1 + + + 4.505750000000006e-1 + 4.517316818237305e-1 + + + 9.200999999997350e-3 + 2.070403099060059e-2 + + + 7.534999999998959e-3 + 1.613426208496094e-2 + + + 4.977116000000001e0 + 5.109489917755127e0 + + + 1.251968000000002e0 + 1.291384220123291e0 + + + 1.401649999999979e-1 + 1.767127513885498e-1 + + + 4.372000000000043e-3 + 4.493236541748047e-3 + + + 5.791549999999983e-1 + 5.803728103637695e-1 + + + 5.239860000000025e-1 + 5.255300998687744e-1 + + + 3.716659000000000e0 + 3.809593200683594e0 + + + 2.180000000056026e-4 + 2.191066741943359e-4 + + + 7.097000000005238e-3 + 7.108211517333984e-3 + + + 9.908999999996837e-3 + 9.910345077514648e-3 + + + 3.673000000002702e-3 + 3.680229187011719e-3 + + + 7.055889999999998e-1 + 7.064719200134277e-1 + + + + diff --git a/tests/parsers/test_pw.py b/tests/parsers/test_pw.py index e97d2a58d..13d64672e 100644 --- a/tests/parsers/test_pw.py +++ b/tests/parsers/test_pw.py @@ -402,6 +402,27 @@ def test_pw_npools_too_high_not_error(fixture_localhost, generate_calc_job_node, assert 'output_parameters' in results +@pytest.mark.parametrize('calculation', ('relax', 'vc-relax')) +def test_fixed_coords(fixture_localhost, generate_calc_job_node, generate_parser, generate_inputs, calculation): + """Test the parsing of a successful calculation that has specified a ``fixed_coords`` setting. + + The output files of this test were generated for a calculation of a FCC Si supercell where + """ + name = f"fixed_coords_{calculation.replace('-', '')}" + entry_point_calc_job = 'quantumespresso.pw' + entry_point_parser = 'quantumespresso.pw' + + inputs = generate_inputs( + calculation_type=calculation, settings={'fixed_coords': [[True, True, True], [True, True, False]]} + ) + node = generate_calc_job_node(entry_point_calc_job, fixture_localhost, name, inputs) + parser = generate_parser(entry_point_parser) + _, calcfunction = parser.parse_from_node(node, store_provenance=False) + + assert calcfunction.is_finished, calcfunction.exception + assert calcfunction.is_finished_ok, calcfunction.exit_message + + def test_tot_magnetization( fixture_localhost, generate_calc_job_node, generate_parser, generate_inputs, data_regression ):