Skip to content

add external modules metadata for Cray systems#1638

Merged
boegel merged 14 commits intoeasybuilders:developfrom
boegel:cray_external_metadata_config
Feb 27, 2016
Merged

add external modules metadata for Cray systems#1638
boegel merged 14 commits intoeasybuilders:developfrom
boegel:cray_external_metadata_config

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Feb 27, 2016

replaces #1586 and #1596

requires #1637 for the provided metadata to be handled correctly (cfr. the metadata for fftw)

cc @pforai, @gppezzi

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2789/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.

@boegel boegel mentioned this pull request Feb 27, 2016
17 tasks
@gppezzi
Copy link
Copy Markdown
Contributor

gppezzi commented Feb 27, 2016

looks good!

Now that we are arriving into final details: how much effort it would require to support versionless entries on the metadata file? that would avoid lots of copy&pasting when supporting other PE versions

@pforai
Copy link
Copy Markdown
Contributor

pforai commented Feb 27, 2016

LGTM!

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Feb 27, 2016

@gppezzi: how would a versionless entry look like?

@gppezzi
Copy link
Copy Markdown
Contributor

gppezzi commented Feb 27, 2016

how about:

[fftw]
name = FFTW
prefix = FFTW_INC/..

the metadata file would be much easier to maintain this way and the version would be needed only for exceptions (or when cray changes things for new versions)

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Feb 27, 2016

@gppezzi: we could take that one step further, and support something like:

[fftw/%(version)s]
name = FFTW
version = %(version)s
prefix = FFTW_INC/..

Just to also have the version info available (which is sometimes used in easyblocks for version checks on the dependencies).

@pforai
Copy link
Copy Markdown
Contributor

pforai commented Feb 27, 2016

that looks pretty nice!

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2790/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.

@gppezzi
Copy link
Copy Markdown
Contributor

gppezzi commented Feb 27, 2016

@boegel can this work in a way that if you use explicit version it would override the entry with %(version)s?

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Feb 27, 2016

@gppezzi: it would have to, yes. But, I'd say we look into that in a future PR, since it doesn't add any extra feature or fixes an important bug. Let's focus on the other things required for stable Cray support first... So: please open an issue with this as a feature request.

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2791/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.

@gppezzi
Copy link
Copy Markdown
Contributor

gppezzi commented Feb 27, 2016

Issue opened #1639

As for this PR, I don' t have any other remarks. If this MD file is loaded by default then people should be able to easily try out the Cray TCs.

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2792/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.

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2793/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.

Comment thread easybuild/tools/options.py Outdated

parsed_metadata = ConfigObj()
for cfg in cfgs:
if os.path.exists(cfg):
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.

isfile?

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.

ok, thanks

@wpoely86
Copy link
Copy Markdown
Member

👍

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2795/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
Copy Markdown
Member Author

boegel commented Feb 27, 2016

Going in, thanks for the review @wpoely86, and @pforai and @gppezzi for helping out with this!

boegel added a commit that referenced this pull request Feb 27, 2016
add external modules metadata for Cray systems
@boegel boegel merged commit d9ef564 into easybuilders:develop Feb 27, 2016
@boegel boegel deleted the cray_external_metadata_config branch February 27, 2016 16:36
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.

5 participants