Skip to content

Don't pass '--try-*' command-line options to EB instance running within job script#1908

Merged
boegel merged 4 commits intoeasybuilders:developfrom
geimer:try_and_job
Sep 17, 2016
Merged

Don't pass '--try-*' command-line options to EB instance running within job script#1908
boegel merged 4 commits intoeasybuilders:developfrom
geimer:try_and_job

Conversation

@geimer
Copy link
Copy Markdown
Contributor

@geimer geimer commented Sep 15, 2016

As tweaking the easyconfigs is already done by the driver eb instance on the head node, --try-* command-line options don't need to be passed to the build instances running within the job scripts. Thus, filter them out. This should fix address #1475 (a shared --tmpdir is still needed as mentioned in #1355).

Tested with eb --try-toolchain=gompi,2016a LAPACK-3.4.2-gompi-1.5.12.eb --job; fails w/o the fix, succeeds with it.

@boegel boegel added this to the v2.9.0 milestone Sep 15, 2016
Comment thread easybuild/tools/parallelbuild.py Outdated
ignore_opts = ['robot', 'job']
ignore_opts = ['robot', 'job', 'try-amend',
'try-software', 'try-software-name', 'try-software-version',
'try-toolchain', 'try-toolchain-name', 'try-toolchain-version']
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.

@geimer let's avoid hardcoding all --try-* options here, cfr. geimer#11

Copy link
Copy Markdown
Member

@wpoely86 wpoely86 left a comment

Choose a reason for hiding this comment

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

Good after fixing @boegel remark

@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 17, 2016

Going in, thanks @geimer!

@boegel boegel merged commit c7a774a into easybuilders:develop Sep 17, 2016
@geimer geimer deleted the try_and_job branch September 18, 2016 08:30
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