qmcpack/external_codes/quantum_espresso
Paul Kent 326fe30fd0 Update Quantum ESPRESSO converter docs 2025-03-14 14:03:59 -04:00
..
README Update Quantum ESPRESSO converter docs 2025-03-14 14:03:59 -04:00
add_pw2qmcpack_to_qe-6.3.diff pw2qmcpack compilation aborts if no HDF5 flags. 2018-07-12 18:58:41 -05:00
add_pw2qmcpack_to_qe-6.4.1.diff Add QE 6.4.1 patch 2019-07-15 22:09:39 -05:00
add_pw2qmcpack_to_qe-6.4.diff Add QE6.4 patch. 2019-03-15 17:56:21 -05:00
add_pw2qmcpack_to_qe-6.7.0.diff new patch for QE v6.7.0 2021-02-16 11:29:15 -06:00
add_pw2qmcpack_to_qe-6.8.diff Add QE 6.8 pw2qmcpack patch. 2021-07-21 18:43:11 -05:00
add_pw2qmcpack_to_qe-7.0.diff Add QE 7.0 pw2qmcpack patch. 2021-12-21 16:09:47 -06:00
download_and_patch_qe6.3.sh Add QE configure example. 2018-07-09 18:51:15 -05:00
download_and_patch_qe6.4.1.sh Add QE 6.4.1 patch 2019-07-15 22:09:39 -05:00
download_and_patch_qe6.4.sh Add QE6.4 patch. 2019-03-15 17:56:21 -05:00
download_and_patch_qe6.7.0.sh new patch for QE v6.7.0 2021-02-16 11:29:15 -06:00
download_and_patch_qe6.8.sh Add QE 6.8 pw2qmcpack patch. 2021-07-21 18:43:11 -05:00
download_and_patch_qe7.0.sh Add QE 7.0 pw2qmcpack patch. 2021-12-21 16:09:47 -06:00

README

Quantum ESPRESSO v7.0+
~~~~~~~~~~~~~~~~~~~~~~

To configure Quantum ESPRESSO with the pw2qmcpack converter, use the CMake
configuration option when building Quantum ESPRESSO, as described in the
manual. i.e. Add ``-DQE_ENABLE_PLUGINS=pw2qmcpack``.

Quantum ESPRESSO v6.3-v7.0
~~~~~~~~~~~~~~~~~~~~~~~~~~

NOTE: Users are advised to only use the latest version of Quantum
ESPRESSO via the route described above.

The files in this directory support making a modified version of Quantum
ESPRESSO that includes the pw2qmcpack converter and are provided for
backwards compatibility.

The download_and_patch_qe6.4.1.sh script will automatically download
and patch Quantum ESPRESSO. Similarly named scripts are provided for
earlier versions. After patching you can move the espresso directory
anywhere convenient. There is no need to keep it within the QMCPACK
source tree. However, if you are using NEXUS you should update your
PATH so that the correct executables are found.

If you have already downloaded Quantum ESPRESSO you can, e.g.,

patch -p1 -i ../add_pw2qmcpack_to_qe-6.4.1.diff

from within the top level Quantum ESPRESSO directory.

Due to internal changes in Quantum ESPRESSO, generally the patch and
pw2qmcpack files only work for one specific version.

Notes for maintainers:

1. Update the new version of QE. Hopefully the old patch
works. Typically there are small makefile updates. If install/configure.ac is
updated, be sure to run autoconf to generate a new install/configure.

2. Create a new patch.

diff -urN qe-x.y_original qe-x.y_updated >add_pw2qmcpack_to_qe-x.y.diff
or
git diff release-branch..patched-release-branch >add_pw2qmcpack_to_qe-x.y.diff

3. Update the download_and_patch script. Change the version number and
directory location on QE Forge. The latter varies with no clear logic.

4. Check that QE patches and builds correctly using the download script.

5. Add the new patch and download script to git and commit.