Skip to content
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

bugfix: compiler meta-module loads MKL module. #173

Merged
merged 2 commits into from
Mar 3, 2021
Merged

Conversation

aerorahul
Copy link
Contributor

@aerorahul aerorahul commented Feb 24, 2021

Issue #170 revealed on Orion that the hpc-intel meta-modulefile was also loading the MKL module file (in addition to the compiler).
On further examination, hpc-intel and hpc-ips modulefiles are trying to load mkl.
Loading MKL is not the job of these meta-modulefiles. They should only load the relevant compiler module

closes #170

This will most likely have an impact on the applications that load this modulefile.
The solution for these applications is to load the mkl module after hpc-intel or hpc-ips modulefile is loaded. Unknowingly these applications were loading mkl, whether they were using it or not, depends on the application. In the case of the GSI, it does use MKL.

… is not the job of these modulefiles. They should only load the relevant compiler.
Copy link

@RussTreadon-NOAA RussTreadon-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good. They remove the addition of mkl to the module. This should resolve the problem reported in issue #170. Since I don't know the inner workings of building hpc-stack, my approval doesn't carry much weight. Kyle's approval means much more.

@aerorahul aerorahul added the bug Something isn't working label Mar 2, 2021
@aerorahul
Copy link
Contributor Author

@kgerheiser
Can this bugfix be merged today?

@aerorahul aerorahul merged commit 30a6dde into develop Mar 3, 2021
@aerorahul aerorahul deleted the bugfix/intel-mkl branch March 3, 2021 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Orion hpc-intel/2018.4 loads mkl/2020.2
3 participants