Skip to content

New command-line option --job-max-jobs to cap nr of submitted build jobs#2378

Merged
boegel merged 4 commits intoeasybuilders:developfrom
riccardomurri:max-running-jobs
Mar 16, 2018
Merged

New command-line option --job-max-jobs to cap nr of submitted build jobs#2378
boegel merged 4 commits intoeasybuilders:developfrom
riccardomurri:max-running-jobs

Conversation

@riccardomurri
Copy link
Copy Markdown
Contributor

No description provided.

@riccardomurri
Copy link
Copy Markdown
Contributor Author

(Well, maybe the option name was not so well-chosen...)

@easybuilders easybuilders deleted a comment from boegelbot Jan 17, 2018
@easybuilders easybuilders deleted a comment from boegelbot Jan 17, 2018
…Engine.max_in_flight`

Many thanks to Theofilos Manitaras for noticing and suggesting the fix!
@boegel boegel added this to the 3.6.0 milestone Mar 14, 2018
Comment thread easybuild/tools/options.py Outdated
opts = OrderedDict({
'backend-config': ("Configuration file for job backend", None, 'store', None),
'cores': ("Number of cores to request per job", 'int', 'store', None),
'max-jobs': ("Maximum number of concurrent jobs (queued or running)", 'int', 'store', 50),
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.

@riccardomurri Shouldn't we set to default to 0 (which I'm guessing means no limit), to maintain current behaviour?

In any case, 50 seems so arbitrary...

Thoughts @victorusu?

@riccardomurri
Copy link
Copy Markdown
Contributor Author

Good catch. Thanks @boegel !

(50 is the default that we have in GC3Pie's SessionBasedScript so I just assumed we had the same in EasyBuild...)

@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 16, 2018

Thanks @riccardomurri!

@boegel boegel merged commit 3b8d318 into easybuilders:develop Mar 16, 2018
@riccardomurri riccardomurri deleted the max-running-jobs branch March 16, 2018 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants