Quantum ESPRESSO

What is Quantum ESPRESSO

Quantum ESPRESSO is an integrated suite of open-source computer codes for electronic-structure calculations and materials modeling at the nanoscale. It is based on density-functional theory (DFT), plane waves, and pseudopotentials (norm-conserving, ultrasoft, and PAW). Quantum ESPRESSO stands for opEn-Source Package for Research in Electronic Structure, Simulation, and Optimization, and is freely available to researchers worldwide under the terms of the GNU General Public License. The distribution is built around a core set of interoperable electronic-structure codes—including PWscf, PHonon, CP, Wannier90, and EPW—developed by some of the original authors of foundational algorithms, from Car-Parrinello molecular dynamics to density-functional perturbation theory. Continuously optimized for modern high-performance computing architectures and GPU acceleration, Quantum ESPRESSO is widely adopted by leading materials modeling groups globally. Researchers active in the field are encouraged to contribute to this collaborative open-source ecosystem by integrating new methods and codes.

How to use Quantum ESPRESSO on ENEAGRID/CRESCO infrastructure

In this page you can find the launching and submission syntax for Quantum ESPRESSO codes on the  ENEAGRID/CRESCO infrastructure.  Please, read the following documentation for running serial/parallel applications on  CRESCO clusters using SLURM framework:  Batch Jobs / SLURM.  This is not a tutorial about using codes like PWscf, CP, etc. for that, you may find  documentation and  tutorials/lectures  on the official web site  www.quantum-espresso.org.

Job submission on CRESCO8

To submit Quantum ESPRESSO on CRESCO8, login at one of the two front-ends (cresco8x001.portici.enea.it or cresco8x002.portici.enea.it) and load the following modules:

 1) pfs
 2) base
 3) slurm_tools
 4) intel/oneapi
 5) mpi_flavour/impi-oneapi
 6) qe/7.4.1

Then launch a job in batch using a SLURM script with the command:

sbatch script.sh

where, for example, script.sh is:

#!/bin/bash
#SBATCH --job-name=nome_job
#SBATCH --err=%j.err                 # standard error file
#SBATCH --out=%j.out                 # standard output file
#SBATCH --time=24:00:00              # time limit
#SBATCH --nodes=4                    # number of nodes
#SBATCH --ntasks-per-node=32         # number of tasks per node
#SBATCH --cpus-per-task=4            # number of threads per node
#SBATCH --partition=cresco8_cpu      # partition name
#SBATCH --account=enea
#SBATCH --auks=yes
#SBATCH --exclusive

aklog

export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK

QE_EXE=pw.x                        # name of the Quantum ESPRESSO code like pw.x, ph.x etc..

mpirun "$QE_EXE" -i file_input.in > file_output.out

Job submission on XCRESCO

To submit Quantum ESPRESSO on XCRESCO, login at one of the two front-ends (xcrescox001.frascati.enea.it or xcrescox002.frascati.enea.it) and load the following modules:

 1) profile/base
 2) profile/phys
 3) cuda/nvhpc/24.1 
 4) cuda/nvhpc-openmpi4/24.1
 5) qe/7.2_gpu

Then launch in batch a job using a SLURM script with the command:

sbatch script.sh

where, for example, script.sh is:

#!/bin/bash
#SBATCH --job-name=nome_job
#SBATCH --err=%j.err                 # standard error file
#SBATCH --out=%j.out                 # standard output file
#SBATCH --time=24:00:00              # time limit
#SBATCH --nodes=2                    # number of nodes
#SBATCH --ntasks-per-node=4          # number of tasks per node
#SBATCH --cpus-per-task=1            # number of threads per task
#SBATCH --gres=gpu:4                 # number of gpu per node 
#SBATCH --gpus-per-task=1            # number of gpu per task
#SBATCH --partition=xcresco          # partition name
#SBATCH --account=enea
#SBATCH --auks=yes
#SBATCH --exclusive

aklog

QE_EXE=pw.x                        # name of the Quantum ESPRESSO code like pw.x, ph.x etc..

mpirun "$QE_EXE" -i file_input.in > file_output.out

Pseudopotentials

ENEAGRID/CRESCO utilization rules

Please check the ENEAGRID/CRESCO conditions of access and how to cite Quantum ESPRESSO.