We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7de476 commit b3f57e1Copy full SHA for b3f57e1
CMakeLists.txt
@@ -481,8 +481,12 @@ else()
481
find_package(Lapack REQUIRED)
482
include_directories(${FFTW3_INCLUDE_DIRS})
483
list(APPEND math_libs FFTW3::FFTW3 LAPACK::LAPACK BLAS::BLAS)
484
+if(USE_DSP)
485
+ target_link_libraries(${ABACUS_BIN_NAME} ${SCALAPACK_LIBRARY_DIR})
486
+else()
487
find_package(ScaLAPACK REQUIRED)
488
list(APPEND math_libs ScaLAPACK::ScaLAPACK)
489
+endif()
490
if(USE_OPENMP)
491
list(APPEND math_libs FFTW3::FFTW3_OMP)
492
endif()
0 commit comments