@@ -29,7 +29,7 @@ are given in the referenced sections.
29
29
30
30
#. Run the cmake configure step and build with make
31
31
(:ref: `cmake ` and :ref: `cmakequick `). Examples for common systems are given in :ref: `installexamples `. To activate workflow
32
- tests for Quantum ESPRESSO, RMG, or PYSCF , be sure to specify QE_BIN, RMG_BIN, or ensure that the python modules are
32
+ tests for Quantum ESPRESSO, RMG, or PySCF , be sure to specify QE_BIN, RMG_BIN, or ensure that the python modules are
33
33
available when cmake is run.
34
34
35
35
#. Run the tests to verify QMCPACK
@@ -1308,7 +1308,7 @@ facility. Additionally, Spack packages compiled by the facility can be
1308
1308
reused by chaining Spack installations
1309
1309
https://spack.readthedocs.io/en/latest/chain.html.
1310
1310
1311
- Installing Quantum- ESPRESSO with Spack
1311
+ Installing Quantum ESPRESSO with Spack
1312
1312
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1313
1313
1314
1314
More information about the QE Spack package can be obtained directly
@@ -1679,23 +1679,39 @@ for the creation of projectors in UPF can introduce severe errors and inaccuraci
1679
1679
Installing Quantum ESPRESSO and pw2qmcpack
1680
1680
------------------------------------------
1681
1681
1682
- For trial wavefunctions obtained in a plane-wave basis, we mainly
1683
- support QE. Note that ABINIT and QBox were supported historically
1684
- and could be reactivated.
1682
+ For trial wavefunctions obtained in a plane-wave basis, we mainly support Quantum ESPRESSO (QE). QBox support is also available, and
1683
+ support was ABINIT was available historically and could be reactivated.
1685
1684
1686
- QE stores wavefunctions in a nonstandard internal
1687
- "save" format. To convert these to a conventional HDF5 format file
1688
- we have developed a converter---pw2qmcpack---which is an add-on to the
1689
- QE distribution.
1685
+ We recommend using the latest version of Quantum ESPRESSO.
1690
1686
1687
+ To convert the QE wavefunctions to the HDF5 format used by QMCPACK file we have developed a converter -- pw2qmcpack -- which is an
1688
+ add-on to the QE distribution.
1691
1689
1692
- Quantum ESPRESSO (<=6.8)
1693
- ~~~~~~~~~~~~~~~~~~~~~~~~
1690
+ Quantum ESPRESSO (>7.0)
1691
+ ~~~~~~~~~~~~~~~~~~~~~~~
1692
+
1693
+ pw2qmcpack is configured via a plugin as part of the Quantum ESPRESSO installation. Simply specify
1694
+ ``-DQE_ENABLE_PLUGINS=pw2qmcpack `` as part of the CMake configure step. Full QE CMake documentation can be found at
1695
+ https://gitlab.com/QEF/q-e/-/wikis/Developers/CMake-build-system . Excepting for a very large change to QE, the converter is
1696
+ expected to work with any recent version.
1697
+
1698
+ ::
1699
+
1700
+ mkdir build_mpi
1701
+ cd build_mpi
1702
+ cmake -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpif90 -DQE_ENABLE_PLUGINS=pw2qmcpack ..
1703
+ make -j 16
1704
+
1705
+
1706
+ Quantum ESPRESSO converter support for old versions via source code patches
1707
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1694
1708
1695
- To simplify the process of patching QE we have developed
1696
- a script that will automatically download and patch the source
1697
- code. The patches are specific to each version. For example, to download and
1698
- patch QE v6.3:
1709
+ For QE 6.3-7.0, the pw2qmcpack converter can be addded via a source code patch specific to the specific version of QE. **Note that
1710
+ this route is no longer recommended. Unless a specific old version of QE is required, users should use the latest version of QE and
1711
+ the cmake route described above. **
1712
+
1713
+ To simplify the process of patching QE we developed to script to automatically download and patch the source code. For example, to
1714
+ download and patch QE v6.3:
1699
1715
1700
1716
::
1701
1717
@@ -1724,11 +1740,9 @@ the HDF5 capability enabled in either way:
1724
1740
1725
1741
The complete process is described in external\_ codes/quantum\_ espresso/README.
1726
1742
1727
- Quantum ESPRESSO (6.7, 6.8 and 7.0)
1728
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1729
- After patching the QE source code like above, users may use CMake instead of configure to build QE with pw2qmcpack.
1730
- Options needed to enable pw2qmcpack have been set ON by default.
1731
- A HDF5 library installation with Fortran support is required.
1743
+ - Note that for QE 6.7, 6.8 and 7.0, after patching the QE source code like above, users may use CMake instead of configure to build
1744
+ QE with pw2qmcpack. These are the earliest versions for which the cmake support was mature enough. Options needed to enable
1745
+ pw2qmcpack have been set ON by default. A HDF5 library installation with Fortran support is required.
1732
1746
1733
1747
::
1734
1748
@@ -1737,20 +1751,6 @@ A HDF5 library installation with Fortran support is required.
1737
1751
cmake -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpif90 ..
1738
1752
make -j 16
1739
1753
1740
- Quantum ESPRESSO (>7.0)
1741
- ~~~~~~~~~~~~~~~~~~~~~~~
1742
- Due to incorporation of pw2qmcpack as a plugin, there is no longer any need to patch QE.
1743
- Users may use upstream QE and activate the plugin by specifying ``-DQE_ENABLE_PLUGINS=pw2qmcpack `` at the CMake configure step.
1744
- Full QE CMake documentation can be found at
1745
- https://gitlab.com/QEF/q-e/-/wikis/Developers/CMake-build-system .
1746
-
1747
- ::
1748
-
1749
- mkdir build_mpi
1750
- cd build_mpi
1751
- cmake -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpif90 -DQE_ENABLE_PLUGINS=pw2qmcpack ..
1752
- make -j 16
1753
-
1754
1754
Testing QE after installation
1755
1755
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1756
1756
Testing the QE to QMCPACK workflow after building QE and QMCPACK is highly recommended.
0 commit comments