Skip to content

JobRunner: enable slots/cores/threads to be set within runners#152

Merged
pjbriggs merged 8 commits into
develfrom
JobRunner-enable-slots-to-be-set
May 20, 2020
Merged

JobRunner: enable slots/cores/threads to be set within runners#152
pjbriggs merged 8 commits into
develfrom
JobRunner-enable-slots-to-be-set

Conversation

@pjbriggs
Copy link
Copy Markdown
Member

@pjbriggs pjbriggs commented Feb 24, 2020

PR which enables the number of available threads or cores to be set and accessed from job runners.

For SimpleJobRunner instances, the nslots option can be set to specify the number of available cores; for GEJobRunner instances the number of available cores is determined at run time from the NSLOTS environment variable. Both runners set a BCFTBX_RUNNER_NSLOTS environment variable so that processes run by the runners can access and use this number if required.

@pjbriggs pjbriggs force-pushed the JobRunner-enable-slots-to-be-set branch from a8c806a to c541166 Compare April 29, 2020 08:11
@pjbriggs
Copy link
Copy Markdown
Member Author

Rebased onto devel to pull in Python 3 updates and fixes etc.

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.

1 participant