[petsc-users] using intel mkl for optimized blas/lapack on amd nodes
Junchao Zhang
junchao.zhang at gmail.com
Thu Jun 4 11:13:27 CDT 2026
Can we add the fake function to petsc source code?
--Junchao Zhang
On Thu, Jun 4, 2026 at 10:04 AM Pierre Jolivet <pierre at joliv.et> wrote:
> The libfakeintel.so trick is as old as I can remember and it is available
> in all computing centers I’m using.
> But it’s the duty of the users to preload it (again, on computing centers
> I have access to, module load’ing the MKL on AMD nodes automatically sets
> LD_PRELOAD).
>
> Thanks,
> Pierre
>
> On 4 Jun 2026, at 4:52 PM, Junchao Zhang <junchao.zhang at gmail.com> wrote:
>
> Richard, do you want to trick Intel?
>
> --Junchao Zhang
>
>
> On Thu, Jun 4, 2026 at 2:29 AM Klaij, Christiaan via petsc-users <
> petsc-users at mcs.anl.gov> wrote:
>
>> I came across this issue:
>>
>> https://urldefense.us/v3/__https://danieldk.eu/software/misc/intel-mkl-on-amd-zen__;!!G_uCfscf7eWS!aISYg-KogJlnj88A8WDaRhFjww0fxMixLU0FERmdocFSoqjBBWJ8d-rxkrD3ZogxTqqYgUp47LMQCrFtNVnSQnsTWpZ5$
>> <https://urldefense.us/v3/__https://danieldk.eu/software/misc/intel-mkl-on-amd-zen__;!!G_uCfscf7eWS!fsSSG7b4cHz_fsk3H-3DI4kIopw4fIp1MW93aPTq10vZnZKOx1t7cEg2g4MbGyxZXr15OMM0jg0UU0q2p5ktYkQ$>
>>
>> We do configure petsc with the intel mkl for optimized
>> blas/lapack using --with-blas-lapack-dir=${MKL_DIR}.
>>
>> How much would this issue affect the performance of petsc on amd
>> nodes? Do you have the proposed workaround in place?
>>
>> Chris
>> <image455803.png>
>> dr. ir. Christiaan Klaij | senior researcher
>> Research & Development | CFD Development
>> T +31 317 49 33 44 <+31%20317%2049%2033%2044> | https://urldefense.us/v3/__http://www.marin.nl__;!!G_uCfscf7eWS!aISYg-KogJlnj88A8WDaRhFjww0fxMixLU0FERmdocFSoqjBBWJ8d-rxkrD3ZogxTqqYgUp47LMQCrFtNVnSQpOuyUpE$
>> <https://urldefense.us/v3/__https://www.marin.nl/__;!!G_uCfscf7eWS!fsSSG7b4cHz_fsk3H-3DI4kIopw4fIp1MW93aPTq10vZnZKOx1t7cEg2g4MbGyxZXr15OMM0jg0UU0q2Ae8qhHs$>
>> <image705130.png>
>> <https://urldefense.us/v3/__https://www.facebook.com/marin.wageningen__;!!G_uCfscf7eWS!fsSSG7b4cHz_fsk3H-3DI4kIopw4fIp1MW93aPTq10vZnZKOx1t7cEg2g4MbGyxZXr15OMM0jg0UU0q2P24LxDM$>
>> <image115249.png>
>> <https://urldefense.us/v3/__https://www.linkedin.com/company/marin__;!!G_uCfscf7eWS!fsSSG7b4cHz_fsk3H-3DI4kIopw4fIp1MW93aPTq10vZnZKOx1t7cEg2g4MbGyxZXr15OMM0jg0UU0q2D0cffrY$>
>> <image770232.png>
>> <https://urldefense.us/v3/__https://www.youtube.com/marinmultimedia__;!!G_uCfscf7eWS!fsSSG7b4cHz_fsk3H-3DI4kIopw4fIp1MW93aPTq10vZnZKOx1t7cEg2g4MbGyxZXr15OMM0jg0UU0q2xfPbYxc$>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20260604/3ede35e4/attachment-0001.html>
More information about the petsc-users
mailing list