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

Add support for Intel OneAPI compilers #728

Closed
dsroberts opened this issue Sep 6, 2024 · 1 comment
Closed

Add support for Intel OneAPI compilers #728

dsroberts opened this issue Sep 6, 2024 · 1 comment

Comments

@dsroberts
Copy link

PyOP2 can't autodetect the Intel OneAPI compilers. Adding detection in the sniff_compiler() function would be pretty straightforward, output from icx --version looks like this:

Intel(R) oneAPI DPC++/C++ Compiler 2024.2.0 (2024.2.0.20240602)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /apps/intel-tools/.packages/2024.2.0/compiler/2024.2/bin/compiler
Configuration file: /apps/intel-tools/.packages/2024.2.0/compiler/2024.2/bin/compiler/../icx.cfg

The OneAPI compilers may have to be considered separately to the classic Intel compilers as the -no-multibyte-chars option has been removed with no replacement (as far as I can tell) and some LLVM flags are supported (e.g. -ffast-math).

@connorjward
Copy link
Collaborator

Moved to Firedrake: firedrakeproject/firedrake#3819

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