mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
Disable PEXSI when CUDA is used
This commit is contained in:
parent
0c3f48da69
commit
07a43cf683
1 changed files with 2 additions and 2 deletions
|
|
@ -683,9 +683,9 @@ 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_NEWEST > 14)); then
|
||||
if ((CUDA_ARCH > 0)) || ((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"
|
||||
echo "INFO: PEXSI has been disabled because CUDA or GCC 15 is used"
|
||||
fi
|
||||
|
||||
# Create CP2K environment if needed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue