Description
Quantum ESPRESSO is an integrated suite of computer codes for electronic-structure calculations and materials modeling at the nanoscale. It is based on density-functional theory, plane waves, and pseudopotentials (both norm-conserving and ultrasoft).
More information
- Homepage: https://www.quantum-espresso.org
Available Versions of QuantumESPRESSO
Version | Module | Available on | ||
---|---|---|---|---|
7.03-intel-2024a | chem/QuantumESPRESSO/7.3-intel-2024a | Noctua 2 | ||
7.3-intel-2021a2023a | chem/QuantumESPRESSO/7.03-intel-2021a2023a | Noctua 12 | ||
7.03-foss-2021a2023a | chem/QuantumESPRESSO/7.03-foss-2021a2023a | Noctua 1, Noctua 2 | ||
67.82-intel-2021a2022b | chem/QuantumESPRESSO/67.82-intel-2021a2022b | Noctua 1 | ||
67.82-foss-2021b2022b | chem/QuantumESPRESSO/67.82-foss-2021b | Noctua 2 | 6.8-foss-2021a-2022b | Noctua 1 |
7.1-intel-2022a | chem/QuantumESPRESSO/7.1-intel-2022a | Noctua 1, Noctua 2 | ||
7.1-foss-2022a | chem/QuantumESPRESSO/67.81-foss-2021a2022a | Noctua 16.7, Noctua 2 | ||
7.0-intel-2021b | chem/QuantumESPRESSO/7.0-intel-2021b | Noctua 1 | ||
7.0-intel-2020b2021a | chem/QuantumESPRESSO/6.7-intel-2020b | Noctua 1 | 6.7-foss-2020b7.0-intel-2021a | Noctua 2 |
7.0-foss-2021a | chem/QuantumESPRESSO/7.0-foss-2021a | Noctua 1, Noctua 2 | ||
6.8-foss-2021b | chem/QuantumESPRESSO/6.78-foss-2020b2021b | Noctua 1, Noctua 2 | ||
6.75-foss-2019b2020a | chem/QuantumESPRESSO/6.75-foss-2019b2020a | Noctua 1 |
This table is generated automatically. If you need other versions please contact click pc2-support@uni-paderborn.de.
...
If you need support in using this software or example job scipts please contact pc2-support@uni-paderborn.de.
Build Instructions for Customized QuantumESPRESSO
If the above versions of QuantumESPRESSO built with EasyBuild cannot fulfill your requirement. A customized version of QuantumESPRESSO can be built on Noctua by the following steps.
- Navigate to the directory, where you want to build QuantumESPRESSO, e.g.
$PC2PFS/YOUR_PROJECT/QE
. Please replaceYOUR_PROJECT
with the name of your project. - Load the modules for building the customized version of QuantumESPRESSO. In the example below Intel toolchain (compilers, MPI and math libraries etc) and CMake are used. In addition the libxc library is enabled as addon in this build.
- Download your required version (or your customized version) of QuantumESPRESSO. In this example we use QuantumESPRESSO 7.0 (the latest version when writing this tutorial).
- Configure the build of QuantumESPRESSO and install it in your required directory, e.g.
$PC2PFS/YOUR_PROJECT/QE
, whereYOUR_PROJECT
is the name of your project.
...
SLURM Jobscript for Using the QuantumESPRESSO Module Built with EasyBuild
The following is an example SLURM jobscript for using the QuantumESPRESSO module built by EasyBuild (see the table above). The AUSURF112 benchmark is used for demonstration.
Please note: on Noctua 2 one compute node has 128 CPU cores, while one compute node for Noctua 1 has 40 CPU cores. The example Slurm jobscript below targets a single compute node for Noctua 2. If you use Noctua 1, please adapt the options for --ntasks-per-node
and --cpus-per-task
for 40 CPU cores in a single compute node.
Code Block | ||
---|---|---|
| ||
#!/usr/bin/env bash #SBATCH --job-name=buildqe_QEausurf112 #SBATCH --nodes=1 #SBATCH --ntasks=128-per-node=16 #SBATCH --cpus-per-task=8 #SBATCH --time=0100:0010:00 #SBATCH --exclusivepartition=normal # # parallelization 1.for goa tosingle thenode directory,of whereNoctua you2 want# to# build| QE, e.g. $PC2PFS/YOUR_PROJECT/QE # cd $PC2PFS/YOUR_PROJECT/QE # # 2. load the modules for building QE # - Intel toolchain (compilers, MPI and math libraries etc) # - CMake (cmake) # - libxc (addon to QE) # module reset module load toolchain/intel/2021a module load devel/CMake/3.20.1-GCCcore-10.3.0 module load chem/libxc/5.1.5-intel-compilers-2021.2.0 # # 3. download QE 7.0 # wget https://gitlab.com/QEF/q-e/-/archive/qe-7.0/q-e-qe-7.0.tar.bz2 tar xf q-e-qe-7.0.tar.bz2 cd q-e-qe-7.0 # # 4. configure the QE build and install it in, e.g. $PC2PFS/YOUR_PROJECT/QE/QE_root # mkdir build cd build cmake -DCMAKE_C_COMPILER=mpiicc \ -DCMAKE_Fortran_COMPILER=mpiifort \ -DQE_ENABLE_OPENMP=ON \ -DQE_ENABLE_LIBXC=ON \ -DCMAKE_INSTALL_PREFIX=$PC2PFS/YOUR_PROJECT/QE/QE_root .. make -j 128 installparallelization | value | # |----------------------------------|----------| # | number of allocated node | 1 | # | number of MPI ranks per node | 16 | # | number of CPU cores per MPI rank | 8 | # # thus total number of CPU cores used is 1 x 16 x 8 = 128 # # load your required QuantumESPRESSO module # module reset module load chem/QuantumESPRESSO/7.3-foss-2023a # # download the input files of AUSURF112 # wget https://raw.githubusercontent.com/QEF/benchmarks/master/AUSURF112/ausurf.in wget https://raw.githubusercontent.com/QEF/benchmarks/master/AUSURF112/Au.pbe-nd-van.UPF # # run the AUSURF112 benchmark # export OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK} srun pw.x -ni 1 -nk 2 -nt 1 -nd 1 -input ausurf.in > benchmark.out 2> benchmark.err |
Please note that this example might not guarantee the best computation performance, because the computation performance of QuantumESPRESSO depends on many factors, e.g. the version of QuantumESPRESSO, the compilers, the MPI library and involved math libraries, as well as the configuration for parallelization.