Skip to content

metis: Ignore pragma omp warnings/errors with %intel#19049

Merged
scheibelp merged 1 commit intospack:developfrom
payerle:metis-with-icc
Oct 2, 2020
Merged

metis: Ignore pragma omp warnings/errors with %intel#19049
scheibelp merged 1 commit intospack:developfrom
payerle:metis-with-icc

Conversation

@payerle
Copy link
Copy Markdown
Contributor

@payerle payerle commented Sep 29, 2020

Should fix issue #14785

It looks like intel compilers generate warnings for omp pragmas when
openmp flag is not given, which due to other flags set get promoted to
errors.

This adds a flag to ignore the pragma omp warnings (icc diagnostic
number 3180 on %intel@14:). See e.g.
https://community.intel.com/t5/Intel-C-Compiler/ICC-should-not-generate-warning-about-quot-pragma-omp-quot-when/td-p/810081?profile.language=pt

Should fix issue spack#14785

It looks like intel compilers generate warnings for omp pragmas when
openmp flag is not given, which due to other flags set get promoted to
errors.

This adds a flag to ignore the pragma omp warnings (icc diagnostic
number 3180 on %intel@14:).  See e.g.
https://community.intel.com/t5/Intel-C-Compiler/ICC-should-not-generate-warning-about-quot-pragma-omp-quot-when/td-p/810081?profile.language=pt
@scheibelp scheibelp merged commit a07c3d2 into spack:develop Oct 2, 2020
@payerle payerle deleted the metis-with-icc branch October 12, 2020 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants