Skip to main content

Quantum ESPRESSO

Quantum ESPRESSO is an open-source software package for nanoscale electronic structure calculations and materials modeling.

Quantum ESPRESSO is based on density functional theory, plane waves, and pseudopotentials (norm-conserving and ultrasoft).


1. Script Template

submit.sh
#!/bin/bash
#SBATCH --nodes=1 # Number of nodes
#SBATCH --ntasks-per-node=56 # Number of cores per node
#SBATCH --ntasks=56 # Total number of cores
#SBATCH --partition=g1_share # Queue partition; must specify the correct partition
#SBATCH --job-name=qe # Job name
#SBATCH --output=hello.%j.out # Normal log output (%j parameter value is jobId)
#SBATCH --error=hello.%j.err # Error log output (%j parameter value is jobId)

##############################################
# Software Envrironment #
##############################################
unset I_MPI_PMI_LIBRARY # Unset default MPI library, use Intel's built-in
export I_MPI_JOB_RESPECT_PROCESS_PLACEMENT=0 # Parameter modification required for Intel multi-node jobs
module load intel/2022 intelmpi/2022 # Load Intel environment
module load qe/7.0_intel2022 # Load software

##############################################
# Run job #
##############################################
export OMP_NUM_THREADS=1
ulimit -s unlimited
ulimit -l unlimited

mpirun pw.x -i ausurf.in