Comments (3)
will wait for the libxsmm-1.10 release featuring a pkg-config file to implement the libxsmm-check libxsmm/libxsmm#269 then the following should be enough to properly detect libxsmm
and get the required flags:
find_package(PkgConfig REQUIRED)
if (WITH_SMM STREQUAL "libxsmm")
pkg_check_modules(LIBXSMM REQUIRED libxsmm)
elseif (WITH_SMM STREQUAL "libsmm")
...
elseif (WITH_SMM STREQUAL "libsmm")
endif ()
[...]
target_link_libraries(dbcsr PUBLIC ${LIBXSMM_LIBRARIES})
target_compile_options(dbcsr PUBLIC ${LIBXSMM_CFLAGS_OTHER})
@alazzaro do we want a quad-state WITH_SMM=auto
(default), WITH_SMM=blas
, WITH_SMM=libxsmm
, WITH_SMM=libsmm
with auto
trying to discover and use libxsmm, libsmm automatically if found or should we just use blas
as the default and only do detection if the user specifies -DWITH_SMM=lib(x)smm
?
from dbcsr.
I would prefer the latter solution. In principle, libsmm is not suggested (unless they are using no-x86 platform), while I must admit in most cases MKL is already doing a good job (therefore libxsmm is not needed)... We will make clear this point in the documentation...
from dbcsr.
good, the latter solution is also the easier one 👍
from dbcsr.
Related Issues (20)
- Error with mpich 4.1: Type mismatch in argument 'baseptr' at (1); passed TYPE(c_ptr) to INTEGER(4) HOT 26
- cuda tests are broken HOT 1
- Evaluate USE_ACCEL=opencl
- Test MPI_F08 HOT 1
- Default initializers
- mpich test failure on s390x HOT 2
- Thread number has changed error if OMP_DYNAMIC=TRUE HOT 3
- `TEST_MPI_RANKS=auto` does not account for ctest parallelization HOT 1
- Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation HOT 1
- OpenMP detection with Clang is broken in 2.6.0 HOT 10
- Compilation fails on Archer2 UK system HOT 7
- What levels of sparsity is this useful for? HOT 4
- Removal of dbcsr-data HOT 2
- CUDA RUNTIME API error: DeviceSetLimit failed with error cudaErrorInvalidValue HOT 6
- Consider to drop -Werror for tests/configs pulling external APIs/frameworks HOT 12
- DBCSR performs very poorly on GH200, when there are large blocks HOT 14
- Discussion on tuning machinery HOT 2
- Make configuration variables immutable when they are already consumed
- cuFuncSetSharedMemConfig deprecated HOT 1
- Discussion on DBCSR HOT 43
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbcsr.