Skip to content

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

Merged
bartoldeman merged 1 commit intoeasybuilders:developfrom
boegel:icc_ifort_subdir_check
Nov 13, 2018
Merged

enhance sanity check for icc & ifort: also check for compilers_and_libraries_*/linux subdirectory#1577
bartoldeman merged 1 commit intoeasybuilders:developfrom
boegel:icc_ifort_subdir_check

Conversation

@boegel
Copy link
Copy Markdown
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 boegel requested a review from bartoldeman November 13, 2018 13:30
@boegel
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants