Skip to content

Subtoolchain searching #1306

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

Merged
merged 157 commits into from
Nov 9, 2015
Merged

Conversation

ocaisa
Copy link
Member

@ocaisa ocaisa commented Jun 26, 2015

Add support for automatically matching the lowest possible member of a toolchain hierarchy when resolving dependencies using a command line option --minimal-toolchains.
Requires a SUBTOOLCHAIN to be defined for each level in the hierarchy (see examples inside)

WIP @boegel ... please review
FYI @geimer

Alan and others added 30 commits June 17, 2015 15:14
… problems, in particular it assumes that the ec's exist in top-level toolchain and then replaces them with subtoolchains, if they don't then it'll barf.
use minimally_resolve_dependencies from main.py
…framework into subtoolchain_searching

Conflicts:
	easybuild/tools/robot.py
make EasyConfig instances comparable and hashable
construct subtoolchains dict via search_toolchain, use nub
@boegel
Copy link
Member

boegel commented Nov 8, 2015

@ocaisa: with ocaisa#22 included, I think this is good to go in (but I need to take another close look once that PR is included here)

I also wrote up some documentation for this, see ocaisa#22 .

@boegel
Copy link
Member

boegel commented Nov 8, 2015

@ocaisa: also, there are some minor conflicts in easybuild/toolchains/ipsmpi.py and easybuild/toolchains/gpsmpi.py, can you look into updating your branch with current develop and fixing them?

Alan added 2 commits November 8, 2015 18:59
…caisa/easybuild-framework into subtoolchain_searching

Conflicts:
	easybuild/toolchains/gpsmpi.py
	easybuild/toolchains/ipsmpi.py
require --experimental for and add unit tests and fix bugs in functions supporting --minimal-toolchains
@hpcugentbot
Copy link

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2302/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@hpcugentbot
Copy link

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2303/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@@ -244,6 +246,8 @@ def override_options(self):
None, 'store', None),
'update-modules-tool-cache': ("Update modules tool cache file(s) after generating module file",
None, 'store_true', False),
'use-existing_modules': ("Use existing modules when resolving dependencies with minimal toolchains",
Copy link
Member

Choose a reason for hiding this comment

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

crap, typo here, _ should be -

@hpcugentbot
Copy link

EasyBuild framework unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2307/console for more details.

Please fix the reported issues by pushing additional commits to the branch corresponding with this pull request; contact @boegel if you're not sure what to do.

edit: test suite run cancelled by @boegel since another one is following it

@hpcugentbot
Copy link

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2308/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Member

boegel commented Nov 9, 2015

Going in after extensive testing by rebuilding all HPL easyconfigs, right in time for EasyBuild v2.4.0.

Thanks @ocaisa!

boegel added a commit that referenced this pull request Nov 9, 2015
@boegel boegel merged commit 316a37a into easybuilders:develop Nov 9, 2015
@ocaisa ocaisa deleted the subtoolchain_searching branch November 19, 2015 15:13
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.

3 participants