Exclude PEXSI with GCC 15 always

This commit is contained in:
Matthias Krack 2026-03-11 17:21:29 +01:00
parent ed85b1d719
commit 23d6dbe1c2

View file

@ -1031,8 +1031,8 @@ if [[ ! -d "${SPACK_BUILD_PATH}" ]]; then
sed -E -e "s/gcc@10:/gcc@${GCC_VERSION}/" -i "${CP2K_CONFIG_FILE}"
fi
# Disable PEXSI because of an issue with SuperLU using recent GCC versions
if ((CUDA_SM_CODE > 0)) || ([[ "${GCC_VERSION}" == "auto" ]] && ((GCC_VERSION_NEWEST > 14))); then
# Disable PEXSI because of an issue with SuperLU using GCC version 15
if ((CUDA_SM_CODE > 0)) || ((GCC_VERSION_NEWEST > 14)); then
sed -E -e '/\s*-\s+"pexsi@/ s/^ /#/' -i "${CP2K_CONFIG_FILE}"
echo "INFO: PEXSI has been disabled because CUDA or GCC 15 is used"
fi