Query Grid Engine to see if we can add more workers to the swarm
1 | consider_adding_workers(cpusToLeave, workerScript, availabilityDivisor = 1)
|
cpusToLeave |
The number of CPUs in the pool to leave available for others |
workerScript |
The filepath of the Rscript to call |
availabilityDivisor |
The number with which to divide cpusToLeave to determine how many CPUs it is reasonable to assign to our task |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.