mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Fix folders for DBCSR build with CUDA and HIP
This commit is contained in:
parent
e89c3580bf
commit
f8bee9bf09
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ case "${with_dbcsr}" in
|
|||
cd ..
|
||||
if [ "${ENABLE_CUDA}" == "__TRUE__" ]; then
|
||||
mkdir build-cuda
|
||||
cd build-cuda
|
||||
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DUSE_ACCEL=cuda -DWITH_GPU=P100"
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=${pkg_install_dir}-cuda \
|
||||
|
|
@ -66,6 +67,7 @@ case "${with_dbcsr}" in
|
|||
fi
|
||||
if [ "${ENABLE_HIP}" == "__TRUE__" ]; then
|
||||
mkdir build-hip
|
||||
cd build-hip
|
||||
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DUSE_ACCEL=hip -DWITH_GPU=Mi250"
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=${pkg_install_dir}-hip \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue