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

correctly disable parallel build for ATLAS #434

Merged
merged 2 commits into from
Jul 8, 2014

Conversation

boegel
Copy link
Member

@boegel boegel commented Jul 8, 2014

the set_parallellism method is moved and renamed as a part of easybuilders/easybuild-framework#953, since it's not considered to be part of the easyblocks API

This patch tweaks the ATLAS easyblock to properly disable a parallel build.

if not nr:
self.log.warning("Ignoring requested parallelism, it breaks ATLAS, so setting to 1")
if self.cfg['parallel'] != 1:
self.log.warning("Ignoring requested build parallelism, it breaks ATLAS, so setting to 1")
self.log.info("Disabling parallel build, makes no sense for ATLAS.")
Copy link
Member

Choose a reason for hiding this comment

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

This message makes no sense 😉
Just drop it? if the parallel is already on 1, there is no issue. Only display the warning when it is needed?

@boegel
Copy link
Member Author

boegel commented Jul 8, 2014

@wpoely86: fixed, pls recheck?

@wpoely86
Copy link
Member

wpoely86 commented Jul 8, 2014

@boegel Looks good

@boegel
Copy link
Member Author

boegel commented Jul 8, 2014

Thanks for the review @wpoely86!

boegel added a commit that referenced this pull request Jul 8, 2014
correctly disable parallel build for ATLAS
@boegel boegel merged commit c372b1b into easybuilders:develop Jul 8, 2014
@boegel boegel deleted the fix_atlas_nopar branch July 8, 2014 12:00
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