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
Intel 18 Beta Compiler: -openmp not allowed #8941
Comments
Thanks for the report. Let us know the results of your experimentation. |
@charris this is kind of important, so I added the 1.13.0 release. |
@charris The admin came back yesterday from vacation and I had him hand-change the I didn't ask him to try the optioned variant mainly because every Intel compiler we use and support--Intel 15 and higher--all support I'll try and corner him again, but since I can say ETA: Also, if you do do a versioned version, you may as well make |
Hmm, looks like |
On Python 2.7 for Windows, Intel <=14.0 is required for compatibility with Visual Studio 2008. |
@cgohlke Thanks for the info. |
Ouch. Really? On the OS on our cluster, Intel Fortran 14 might work, but anything before that just starts failing in random ways. I've pretty much required 15+. Good catch @cgohlke |
According to https://software.intel.com/en-us/intel-parallel-studio-xe-compilers-required-microsoft-visual-studio VS2008 support was dropped in compiler 15.0:
|
Hmm, we don't use any of the openmp flags for windows. @cgohlke Should we? |
That's right. No need to worry about Windows then. |
See #8961. |
The '-openmp' option was deprecated in Intel version 15 and removed in version 18. The replacement is '-qopenmp'. Closes numpy#8941. [skip ci]
Wow, that's still alive and in use? Last used it in 2003. |
FWIW |
@jeffhammond Huh. You are correct. Weird that they obsolete -openmp but not -fopenmp. Not too consistent that. @rgommers Yeah, NAG is still going on and it is by far the best compiler for checking for Standards Compliance, etc. My usual issue with f2py is the fact we compile our model with FC=mpifort (or mpif90). Thus, f2py must use that as the compiler and then we are stuck with f2py being able to figure out the compiler internally. It works okay, but some MPI stacks don't handle 'mpifort -V' as well as one would hope (they try to link if passed -V; that screws up detection routines). |
@mathomp4
|
The '-openmp' option was deprecated in Intel version 15 and removed in version 18. The replacement is '-qopenmp'. Closes numpy#8941. [skip ci]
All,
I grabbed the Intel 2018 Beta distribution today and went about building the earth system model I work on. In doing so, all our f2py build steps failed because of a change Intel has made. Namely,
-openmp
is no longer a valid option and only-qopenmp
is allowed.This affects numpy in
numpy/distutils/intelccompiler.py
andnumpy/distutils/fcompiler/intel.py
where there are hard-coded-openmp
in option strings. I tried adding--f90flags=-qopenmp
, but it seemed to just add that flag to the default set and since-openmp
was there, bang!It might best to add something like:
a la
get_flags_linker_so
since there are always people using old versions of Intel compilers. Intel has been accepting and promoting-qopenmp
since the Intel 15 days at least, so there's been 3 years of warmup.I am currently not able to test any changes at present as on the cluster I'm working on (where I have Intel 18 installed) I don't have write access to the Python distribution I can use. I've asked the maintainer for help fixing this locally, but I thought numpy themselves should be made aware.
The text was updated successfully, but these errors were encountered: