mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 13:45:19 -04:00
make pretty
This commit is contained in:
parent
56c4d063ae
commit
dadd5bfba6
1 changed files with 1 additions and 1 deletions
|
|
@ -843,7 +843,7 @@ if [[ ! -d "${SPACK_BUILD_PATH}" ]]; then
|
|||
-e "0,/~cuda/s//+cuda cuda_arch=${CUDA_ARCH}/" \
|
||||
-e '/\s*#\s*-\s+"\+cuda\s+\+gpu_direct"/ s/#/ /' \
|
||||
-i "${CP2K_CONFIG_FILE}"
|
||||
# -e '/\s*#\s*-\s+"\+cuda\s+\+gdrcopy"/ s/#/ /' \
|
||||
# -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue