mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 21:55:16 -04:00
Revise CUDA activation for libfabric
This commit is contained in:
parent
aaa5d4d1c6
commit
03322a09a5
2 changed files with 4 additions and 4 deletions
|
|
@ -847,8 +847,9 @@ if [[ ! -d "${SPACK_BUILD_PATH}" ]]; then
|
|||
sed -E \
|
||||
-e "0,/~cuda/s//+cuda cuda_arch=${CUDA_ARCH}/" \
|
||||
-e '/\s*#\s*-\s+"\+cuda\s+\+gpu_direct"/ s/#/ /' \
|
||||
-e 's/"~cuda\s+~gdrcopy"/"\+cuda \+gdrcopy"/' \
|
||||
-e '/\s*#\s*-\s+"fabrics=efa,ucx"/ s/#/ /' \
|
||||
-i "${CP2K_CONFIG_FILE}"
|
||||
# -e '/\s*#\s*-\s+"\+cuda\s+\+gdrcopy"/ s/#/ /' \
|
||||
if [[ -n "${CUDA_VERSION:-}" ]]; then
|
||||
sed -E -e "s/spec:\s+cuda@[.0-9]*/spec: cuda@${CUDA_VERSION}/" -i "${CP2K_CONFIG_FILE}"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -114,9 +114,8 @@ spack:
|
|||
|
||||
libfabric:
|
||||
require:
|
||||
- "~cuda"
|
||||
# - "+cuda +gdrcopy"
|
||||
# - "fabrics=cxi"
|
||||
- "~cuda ~gdrcopy"
|
||||
# - "fabrics=efa,ucx"
|
||||
|
||||
libint:
|
||||
require:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue