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
Don't use -restrict for icpx #3007
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure it is worth to make it conditional on the version.
I'm not aware that anything changed for |
If I recall correctly versions before 2021.4(?) support |
@masterleinad actually the bigger problem with the new |
Yes, I know, but that's separate from some flags not being available at all. |
@junghans Do you suggest forcing the floating-point model to |
Not sure, might be a huge performance hit, but of course nobody cares how fast you calculate the wrong answer. More a question for @akohlmey and @wmbrownIntel, but let's discuss this in another issue. |
Summary
-restrict
and-xHost
are only supported byIntel® C++ Compiler Classic
(https://www.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/language-options/restrict-qrestrict.html)Related Issue(s)
Author(s)
Daniel Arndt, ORNL.
Licensing
By submitting this pull request, I agree, that my contribution will be included in LAMMPS and redistributed under either the GNU General Public License version 2 (GPL v2) or the GNU Lesser General Public License version 2.1 (LGPL v2.1).
Backward Compatibility
Yes.
Implementation Notes
Post Submission Checklist
Further Information, Files, and Links