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

enhance sanity check for icc & ifort: also check for compilers_and_libraries_*/linux subdirectory #1577

Merged
merged 1 commit into from Nov 13, 2018

Conversation

boegel
Copy link
Member

@boegel boegel commented Nov 13, 2018

The icc and ifort easyblocks heavily rely on the compilers_and_libraries_%(version)s/linux subdirectory being there when generating the module file.

If the directory is not there as expected, for example because the wrong version was used, then the generated module file is crippled.

We already have a check in place that catches this issue (the which icc being run in the sanity check), but it's worthwhile to also have an explicit check for this subdirectory, since that results in a clearer error message, and you're likely to quickly figure out what's wrong.

@boegel boegel added this to the 3.8.0 milestone Nov 13, 2018
@boegel
Copy link
Member Author

boegel commented Nov 13, 2018

Should be fully backwards compatible w.r.t. existing icc and ifort easyconfigs, tested with:

  • icc-2016.0.109.eb
  • icc-2017.6.256-GCC-6.4.0-2.28.eb
  • icc-2016.3.210-GCC-5.4.0-2.26.eb
  • icc-2018.3.222-GCC-7.3.0-2.30.eb
  • ifort-2016.0.109.eb
  • ifort-2018.3.222-GCC-7.3.0-2.30.eb
  • ifort-2017.4.196-GCC-6.4.0-2.28.eb

Copy link
Contributor

@bartoldeman bartoldeman left a comment

Choose a reason for hiding this comment

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

lgtm, no issues found reading the patch.

@bartoldeman bartoldeman merged commit dd5563e into easybuilders:develop Nov 13, 2018
@boegel boegel deleted the icc_ifort_subdir_check branch November 13, 2018 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants