Set Intel compiler diag-disable flags when using Cray compiler wrappers - #47046
Conversation
…k/compilers/oneapi.py to set 'diag-disable' flags for Intel compilers based on version only so that it works with Cray compiler wrappers
…/intel_diag_disable_with_cray_wrappers
|
I have a couple questions:
|
In an ideal world, %intel corresponds to
I assume this refers to the Cray wrapper |
scheibelp
left a comment
There was a problem hiding this comment.
based on the conversation, this looks mostly good, but I have a request about documentation
…ack/spack/compilers/oneapi.py based on the code review
…/intel_diag_disable_with_cray_wrappers
Resolves #47045 by updating the logic in
lib/spack/spack/compilers/intel.pyandlib/spack/spack/compilers/oneapi.pyto setdiag-disableflags for Intel compilers based on the version only (so that it works with Cray compiler wrappers). See #47045 for a description of the problem and why this solution works.