mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 13:45:19 -04:00
Fix case when GCC_VERSION is set to "auto"
This commit is contained in:
parent
8173ab3892
commit
4c552869df
1 changed files with 1 additions and 1 deletions
|
|
@ -609,7 +609,7 @@ if [[ ! -d "${SPACK_BUILD_PATH}" ]]; then
|
|||
fi
|
||||
|
||||
# Disable PEXSI because of an issue with SuperLU using recent GCC versions
|
||||
if [[ "${CP2K_VERSION}" == "psmp"* ]] && ((GCC_VERSION > 14)); then
|
||||
if [[ "${CP2K_VERSION}" == "psmp"* ]] && ((GCC_VERSION_NEWEST > 14)); then
|
||||
sed -E -e '/\s*-\s+"pexsi@/ s/^ /#/' -i "${CP2K_CONFIG_FILE}"
|
||||
echo "INFO: PEXSI has been disabled because of an issue with SuperLU using GCC 15 or newer"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue