easyconfigs-it4i/q/QuantumESPRESSO/QuantumESPRESSO-7.1-custom-ntypx.patch
easybuild afb734df1a new file: q/QuantumESPRESSO/QuantumESPRESSO-7.1-custom-ntypx.patch
new file:   q/QuantumESPRESSO/QuantumESPRESSO-7.1-intel-2022a-ntypx=32.eb
2022-12-01 14:37:41 +01:00

17 lines
600 B
Diff

# IT4Innovations 2022
# JK
#
# Changes the ntypx parameter to 32 based on a user request (RT#42268).
diff -ruN qe-7.1.orig/Modules/parameters.f90 qe-7.1/Modules/parameters.f90
--- qe-7.1.orig/Modules/parameters.f90 2022-12-01 13:39:23.964114000 +0100
+++ qe-7.1/Modules/parameters.f90 2022-12-01 13:40:18.080308000 +0100
@@ -15,7 +15,7 @@
INTEGER, PARAMETER :: npk = 40000
!! max number of k-points
- INTEGER, PARAMETER :: ntypx = 10
+ INTEGER, PARAMETER :: ntypx = 32
!! max number of different types of atom
INTEGER, PARAMETER :: nsx = ntypx
!! max number of atomic species (CP)