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
Python cannot be compiled with the MPI wrapper around the GCC compiler #106962
Comments
erlend-aasland
pushed a commit
that referenced
this issue
Jul 22, 2023
Don't let autoconf mistake MPI compilers for Intel compilers; filter out the MPI case to prevent Intel specific options from being applied.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 22, 2023
Don't let autoconf mistake MPI compilers for Intel compilers; filter out the MPI case to prevent Intel specific options from being applied. (cherry picked from commit 9a6b278) Co-authored-by: Lukas van de Wiel <30800501+LukasvdWiel@users.noreply.github.com>
erlend-aasland
pushed a commit
that referenced
this issue
Jul 23, 2023
Don't let autoconf mistake MPI compilers for Intel compilers; filter out the MPI case to prevent Intel specific options from being applied. (cherry picked from commit 9a6b278) Co-authored-by: Lukas van de Wiel <30800501+LukasvdWiel@users.noreply.github.com>
jtcave
pushed a commit
to jtcave/cpython
that referenced
this issue
Jul 23, 2023
Don't let autoconf mistake MPI compilers for Intel compilers; filter out the MPI case to prevent Intel specific options from being applied.
mementum
pushed a commit
to mementum/cpython
that referenced
this issue
Jul 23, 2023
Don't let autoconf mistake MPI compilers for Intel compilers; filter out the MPI case to prevent Intel specific options from being applied.
Looks like this has now been fixed, thanks for the report! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The configure script and configure.ac check for compiler:
The MPI GCC compiler: mpicc is qualified as the intel compiler, because of the 'icc' in the name, and applies the fp-model strict option to the arguments, which is invalid syntax for GCC, causing multiple compile time errors with recent GCC versions:
gcc: error: unrecognized command-line option ‘-fp-model’; did you mean ‘-fipa-modref’?
By first filtering out the mpicc compiler case, this mistake is prevented:
(Now that I have this created, I can no doubt use its issue number to get the pull request with this fix through the pipeline)
Linked PRs
The text was updated successfully, but these errors were encountered: