Skip to content

fix $MODULEPATH extensions for Clang/CUDA, include versionsuffix in module subdir#1050

Merged
boegel merged 5 commits intoeasybuilders:developfrom
boegel:fix_HMNS_goolfc_cgoolf
Oct 6, 2014
Merged

fix $MODULEPATH extensions for Clang/CUDA, include versionsuffix in module subdir#1050
boegel merged 5 commits intoeasybuilders:developfrom
boegel:fix_HMNS_goolfc_cgoolf

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Oct 1, 2014

This should fix the open issues with using goolfc or cgoolf together with HierarchicalMNS, as discussed in easybuilders/easybuild-easyconfigs#1098 (reported by @kcgthb)

It also makes sure that the versionsuffix is included in the module subdir, which is important for e.g. icc and ifort included in intel/2014b, which have a -GCC-4.x.y versionsuffix.

easybuilders/easybuild-easyconfigs#1106 is also required to fix the issues with goolfc

@wpoely86: please review?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

isn't using a regex here a bit overkill?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

How else would you do it?

This doesn't do what you may expect:

if ec['name'] in key:
    ...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

but this does:

if ec['name'] in key.split(','):

As you use a split on L146, it's more consistent?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

very true, fixed, thanks

@wpoely86
Copy link
Copy Markdown
Member

wpoely86 commented Oct 2, 2014

I think this is fine but Jenkins disagrees?

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 6, 2014

Jenkins: test this please

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 6, 2014

Thanks for the review @wpoely86!

boegel added a commit that referenced this pull request Oct 6, 2014
fix $MODULEPATH extensions for Clang/CUDA, include versionsuffix in module subdir
@boegel boegel merged commit f881cb7 into easybuilders:develop Oct 6, 2014
@boegel boegel deleted the fix_HMNS_goolfc_cgoolf branch October 6, 2014 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants