forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openmpi: disable remark 10441 for intel classic 2021.7.0 or newer (sp…
…ack#44614) * Compilation of openmpi fails when intel classic compiler 2021.7.0 or newer is used.
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1174,6 +1174,23 @@ def configure_args(self): | |
# if spec.satisfies("@5.0.0:") and spec.satisfies("%oneapi"): | ||
# config_args.append("--disable-io-romio") | ||
|
||
# https://www.intel.com/content/www/us/en/developer/articles/release-notes/oneapi-c-compiler-release-notes.html : | ||
# Key Features in Intel C++ Compiler Classic 2021.7 | ||
# | ||
# The Intel C++ Classic Compiler is deprecated and an additional | ||
# diagnostic message will be output with each invocation. This | ||
# diagnostic may impact expected output during compilation. For | ||
# example, using the compiler to produce preprocessed information | ||
# (icpc -E) will produce the additional deprecation diagnostic, | ||
# interfering with the expected preprocessed output. | ||
# | ||
# This output can be disabled by using -diag-disable=10441 on | ||
# Linux/macOS or /Qdiag-disable:10441 on Windows. You can add this | ||
# option on the command line, configuration file or option setting | ||
# environment variables. | ||
if spec.satisfies("%[email protected]:"): | ||
config_args.append("CPPFLAGS=-diag-disable=10441") | ||
|
||
return config_args | ||
|
||
@run_after("install", when="+wrapper-rpath") | ||
|