The --prefix PATH will be replaced by your custom install location
Step 4: If you are happy with the configure flags then install them by:
Step 5 (Optional): Adding QuantumEspresso to your path
Add the following lines to your ~/.bashrc
Restart the Oscar session or source .bashrc
Installing custom Addon patches for Quantum Espresso
There are various addons available for Quantum Espresso, in this tutorial, we will install Environ - a computational library aimed at introducing environment effects to atomistic first-principles simulations.
The source code can be obtained from this github repo. The easiest way to incorporate these files into your build is to place them in the root directory of Quantum Espresso (~/data/quantum-espresso/src/q-e-qe-6.4). For example:
run the QE script addonpatch.sh with the -patch option:
run the Environ installation script with the -patch option:
run the QE script to regenerate modules’ dependencies:
re-compile, e.g.:
Installing with QMCPACK
Download QMCPACK
Copy *.diff and *.sh files from qmcpack to QE/src folder
Patch QuantumEspresso
Follow the steps above for Installing Quantum Espresso