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)
- Add CP2K support for A100 HOT 2
- add topic linear-algebra HOT 1
- Compilation problem when using intel ifort HOT 2
- ACC: orphaned context causing multi-gpu issue HOT 1
- Test test_square_sparse_rma fails HOT 3
- GitHub Actions fail to checkout repository HOT 8
- CMake: target dependency on BUILD_TESTING
- Build fails on macOS with fypp errors HOT 1
- Two tests fail on macOS PPC: dbcsr_unittest2, dbcsr_unittest3 HOT 32
- Configure fails on macOS 10.7 and 10.10–10.13 due to Test f2008-norm2 failure HOT 5
- turn off and remove codecoverage checks HOT 3
- 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
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.