Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify MKL interface and OpenBLAS build for EL_USE_64BIT_BLAS_INTS #108

Open
poulson opened this issue Nov 10, 2015 · 1 comment
Open

Modify MKL interface and OpenBLAS build for EL_USE_64BIT_BLAS_INTS #108

poulson opened this issue Nov 10, 2015 · 1 comment

Comments

@poulson
Copy link
Member

poulson commented Nov 10, 2015

Elemental does not currently take into account the CMake option EL_USE_64BIT_BLAS_INTS when deciding how to build and/or interface to external BLAS libraries such as MKL and OpenBLAS and assumes that the user manually specifies MATH_LIBS. OpenBLAS builds could be handled via passing a definition of INTERFACE64 into the ExternalProject_Add command [1], and MKL could be handled via adding the -DMKL_ILP64 definition before including mkl.h.

[1] https://github.com/xianyi/OpenBLAS/blob/d00ada378fbea285aea222f26b387ffe45bd1c9b/Makefile#L42
[2] https://software.intel.com/en-us/node/528682

@rhl-
Copy link
Member

rhl- commented Nov 30, 2016

Does this require code change within Elemental or just CMake?

benson31 added a commit to benson31/Elemental that referenced this issue Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants