Tootfinder

Opt-in global Mastodon full text search. Join the index!

@mgorny@social.treehouse.systems
2025-07-16 17:17:46

So you need to get the version of Intel #MKL.
You can't really take it out of the pkg-config files, because not every distro mkl version combo supplies these files. On top of that, without pointing fingers, certain distribution installs pkg-config files with "debian" in the version field.
Well, there's INTEL_MKL_VERSION you can get via the C preprocessor, right? Except that its semantics depend… on mkl version. Given that mkl is released as "<major>.<update>.<patch>", versions prior to 2025.0.0 constructed the version number from <major> <minor> <update> (where <minor> seems to be always 0, and <patch> was not included), and 2025.0.0 forward use the more logical <major> <update> <patch>.
Well, yeah, it's kinda doable. You parse the major first, and parse the rest depending on whether it's >= 2025 or not. For versions prior to 2025, you get it truncated to update. It works, but still kinda funny.
#WTF

@mgorny@pol.social
2025-07-16 17:22:39

Powiedzmy, że potrzebujesz pobrać wersję biblioteki Intel #MKL.
Nie możesz do tego używać plików pkg-config, bo nie każda kombinacja dystrybucji z wersją mkl instaluje te pliki. Na dodatek, nie pokazując nikogo palcami, jedna dystrybucja instaluje pliki pkg-config z "debian" w polu wersji.
Jest stała INTEL_MKL_VERSION, którą można zgarnąć preprocesorem C. Tyle że semantyka tej stałe…

@mgorny@pol.social
2025-09-14 06:24:16

1. Zdobądź trochę wiedzy o paczkach #BLAS / #LAPACK w ramach bejmopracy.
2. Odkryj, że paczki #MKL w #Gentoo są mocno nieaktualn…

@mgorny@social.treehouse.systems
2025-09-14 06:10:55

1. Learn a bit about #BLAS / #LAPACK packaging for dayjob.
2. Learn that #MKL in #Gentoo is quite outdated. Take it over, bump it and improve the packaging.
3. Get curious about #FlexiBLAS. Start playing with it. Package it for #Gentoo.
4. Learn that runtime BLAS / LAPACK switching is quite broken. Come up with a FlexiBLAS transition plan and a proof-of-concept.
5. Notice inconsistency in ILP64 support flags. Propose unifying the behavior.
6. Learn that BLAS / LAPACK packages in Gentoo are pretty much unmaintained.
Well, looks like I'm the new maintainer of the whole stack, I'm working on consistent ILP64 support now, and then I'll have to rebase the FlexiBLAS transition bits.