-
Notifications
You must be signed in to change notification settings - Fork 41
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
Updated Intel config to work with stable and latest Intel versions #87
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #87 +/- ##
=======================================
Coverage 79.48% 79.48%
=======================================
Files 4 4
Lines 424 424
=======================================
Hits 337 337
Misses 87 87 ☔ View full report in Codecov by Sentry. |
@sseraj is this ready for review? |
Yes, it's ready for review. I kept it as a draft to avoid merging before finalizing the config, but I'll mark it ready for review |
The changes look good, but I have only tested this on an old Intel container with icc/ifort only. Ideally, I want to test this on the Intel docker containers in https://github.com/mdolab/docker/pull/266 with the relevant compilers installed. @sseraj did you by any chance test both latest and stable? |
I only tested on latest, but with the correct and inverted logic. Between the two of us, we covered both images anyway. |
@sseraj this logic doesn't seem to work, when icc doesn't exist it still tries to use the old executables. What does seem to work is replacing the two ICC_EXISTS lines with |
@A-CGray I think the previous logic should work. The issue is that the inline comment that was added is messing with the
to
or better
Aside from all this, the single line comparison expression you suggested is also fine and should do the same. I dont mind either approach. However, I dont think we want the |
Added a PR here for pyfriction based on your suggestion, without the stderr redirect. I kept the comment as this is a subtle thing. |
Oh nice, I like the third suggestion, better than my |
Purpose
The Intel version changes on our Docker images (mdolab/docker#266) requires changing the Intel config files to use different compilers depending on the Intel version. This PR should be used to work out the necessary changes before applying them to all of our repos.
Expected time until merged
Before mdolab/docker#266 is merged
Type of change
Testing
Checklist
flake8
andblack
to make sure the Python code adheres to PEP-8 and is consistently formattedfprettify
or C/C++ code withclang-format
as applicable