HPC/Applications/quantum-espresso
< HPC | Applications
Introduction
Quantum ESPRESSO is a suite of several programs working on the same data files. This brings with it some challenges for data management, and there are some problems.
- A sample job file is at the customary location once the quantum-espresso module is loaded.
$QUANTUM_ESPRESSO_HOME/sample.job
Limitations
- QE stores rather large wave function files in the directory specified by
outdiror theESPRESSO_TMPDIRenvironment variable. This may unduly tax the file server. - In a subdirectory
prefix.save/the main QE program pw.x stores important metadata needed for subsequent calculations such as a DOS calculation. This means the…TMPpart in the nameESPRESSO_TMPDIRis misleading. - Wave function files from parallel runs are stored by MPI process number and are named sequentially
prefix.wfcn. Subsequent calculations must use the same number of MPI processes, and each process must have access to its own n. That means using a node-local directory is overly difficult. - QE expects the value of
ESPRESSO_PSEUDOto terminate with a slash/. The pw.x binary managed to accept a value without a terminating slash, but other executables such as dos.x failed. This is counter to Unix best practice, and counter to "." being accepted just fine.
Changes
As of module version quantum-espresso/4.3.2-2:
- given the problems above, the environment variable
ESPRESSO_TMPDIRis no longer set. - The value of
ESPRESSO_PSEUDOnow ends with a slash. Unfortunately, the new value will be of no help for older calculations sinceprefix.save/data-file.xmlenshrines the old value. To continue with an older calculation:perl -i.bak -pe 's{/opt/soft/quantum-espresso-pot/pseudo$}{$&/}' */data-file.xml
- There will not be any output, but you can inspect the changes:
for i in */data-file.xml; do diff $i.bak $i; done