wrong MKL compiler flag for Intel?

20 views
Skip to first unread message

Karl Irikura

unread,
Jan 29, 2026, 3:31:57 PMJan 29
to dirac-users
Dear DIRAC experts,

I'm building DIRAC25 on a local workstation that has Intel oneapi 2025.2 installed but getting the error:

icx: error: unknown argument '-mkl=parallel'; did you mean '-qmkl=parallel'?

I tried

./setup --fc=ifx --cc=icx --cxx=icx --mkl=parallel --extra-cc-flags="-qmkl=parallel" --extra-cxx-flags="-qmkl=parallel"

but that did not work. 
I have looked at files and at documentation for autocmake but cannot figure out how to change the flag from "-mkl=" to "-qmkl=".  I would be grateful for any advice. I am (probably obviously) inexperienced with compilers. 

Thanks,
Karl
 

Miroslav Iliaš

unread,
Jan 30, 2026, 3:25:18 PMJan 30
to dirac...@googlegroups.com
Hello Karl,

Would you please send the whole setup stdout+stderr output to see in detail what is going wrong ?

Best regards,

Miro

--
You received this message because you are subscribed to the Google Groups "dirac-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dirac-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dirac-users/1384d783-e7c2-4bd0-a40e-757c2bdef0cdn%40googlegroups.com.

Miroslav Iliaš

unread,
Jan 30, 2026, 6:41:31 PMJan 30
to dirac...@googlegroups.com

On Thu, 29 Jan 2026 at 23:32, 'Karl Irikura' via dirac-users <dirac...@googlegroups.com> wrote:
--
Reply all
Reply to author
Forward
0 new messages