From 2b286a57fcb7e28eb8fcf2c56111c7335f43fa45 Mon Sep 17 00:00:00 2001 From: abussy Date: Fri, 1 Dec 2023 18:43:53 +0100 Subject: [PATCH] Enabling calculations with ECPs (libgrpp library) --- INSTALL.md | 10 + data/ECP_POTENTIALS_pob-TZVP-rev2 | 1017 +++++++++-------- src/CMakeLists.txt | 1 + src/core_ppl.F | 50 +- src/cp2k_info.F | 3 + src/libgrpp_integrals.F | 301 +++++ src/qs_kind_types.F | 1 + tests/QS/regtest-ecp/ECP_BASIS_POT | 203 ++++ tests/QS/regtest-ecp/ICl_lanl2dz_gpw.inp | 58 + tests/QS/regtest-ecp/Rn_stuttgart_gapw.inp | 44 + tests/QS/regtest-ecp/SbH3_def2_gapw.inp | 60 + tests/QS/regtest-ecp/TEST_FILES | 3 + tests/TEST_DIRS | 1 + tools/toolchain/install_cp2k_toolchain.sh | 9 +- .../scripts/stage3/install_libgrpp.sh | 108 ++ .../scripts/stage3/install_stage3.sh | 1 + 16 files changed, 1397 insertions(+), 473 deletions(-) create mode 100644 src/libgrpp_integrals.F create mode 100644 tests/QS/regtest-ecp/ECP_BASIS_POT create mode 100644 tests/QS/regtest-ecp/ICl_lanl2dz_gpw.inp create mode 100644 tests/QS/regtest-ecp/Rn_stuttgart_gapw.inp create mode 100644 tests/QS/regtest-ecp/SbH3_def2_gapw.inp create mode 100644 tests/QS/regtest-ecp/TEST_FILES create mode 100755 tools/toolchain/scripts/stage3/install_libgrpp.sh diff --git a/INSTALL.md b/INSTALL.md index c703b72af3..60541d61f5 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -424,6 +424,15 @@ functions replacing the dgemm calls with `offload_dgemm` will eventually be offl The SPLA library has internal criteria to decide if it is worth to do the operation on GPU or not. Calls to `offload_dgemm` also accept pointers on GPU or a combination of them. +### 2y. libgrpp (optional, enables calculations with ECPs) + +- libgrpp is a library for the calculation of integrals with GTOs and ECPs +- The libgrpp library can be found under +- During the installation, the directories `$(LIBGRPP_DIR)/lib` and `$(LIBGRPP_DIR)/include` are + created. +- Add `-D__LIBGRPP` to DFLAGS, `-I$(LIBGRPP_DIR)/include` to FCFLAGS and + `-L$(LIBGRPP_DIR)/lib -llibgrpp` to LIBS +