Skip to content

Minor changes to FindHipoDeps to support Intel MLK BLAS library.#3082

Merged
mathgeekcoder merged 1 commit into
latestfrom
support-intel-mkl-blas
Jun 25, 2026
Merged

Minor changes to FindHipoDeps to support Intel MLK BLAS library.#3082
mathgeekcoder merged 1 commit into
latestfrom
support-intel-mkl-blas

Conversation

@mathgeekcoder

Copy link
Copy Markdown
Collaborator

Note: we currently define blasint as 32bit, so need to use 64lp rather than 64ilp (or update blasint to int64_t).

Build notes:

I tested this by installing Intel MKL via vcpkg: intel-mkl. I modified the extern/vcpkg.json to replace OpenBLAS dependency. Since x64-windows-static is defined vcpkg installed Intel10_64ilp_seq on my machine.

There were some issues with find_package(MKL ...), so I needed to specify MLK_LINK and MKL_THREADING for it to find the correct files. Since vcpkg installs 64ilp by default, I needed to modify mycblas.h to change blasint definition. Lastly, without specifying Release, the find_package(...) found the debug lib files from vcpkg.

It should be possible to configure MKL differently (e.g., not using vcpkg), just make sure the build flags match whatever you're trying to do.

Full parameters:

HIGHS_VCPKG=ON 
HIPO=ON 
CMAKE_BUILD_TYPE=Release 
BLA_STATIC=ON
BLA_VENDOR=Intel10_64ilp_seq 
MKL_LINK=static 
MKL_THREADING=sequential

…, `-DBLA_VENDOR=Intel10_64lp_seq`

Note, we currently define `blasint` as 32bit, so need to use `64lp` rather than `64ilp` (or update blasint to `int64_t`).
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.04%. Comparing base (ace6e44) to head (59bd78e).
⚠️ Report is 21 commits behind head on latest.

Additional details and impacted files
@@            Coverage Diff             @@
##           latest    #3082      +/-   ##
==========================================
- Coverage   73.04%   73.04%   -0.01%     
==========================================
  Files         426      426              
  Lines      102324   102324              
  Branches    16459    16459              
==========================================
- Hits        74747    74745       -2     
- Misses      27301    27303       +2     
  Partials      276      276              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@galabovaa

Copy link
Copy Markdown
Contributor

LGTM!

@galabovaa
galabovaa self-requested a review June 25, 2026 18:57

@galabovaa galabovaa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@mathgeekcoder
mathgeekcoder merged commit bc6651e into latest Jun 25, 2026
478 checks passed
@mathgeekcoder
mathgeekcoder deleted the support-intel-mkl-blas branch June 25, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants