Other grid worker options
Additional java options can be set for grid workers by creating a file called:
clcgridworker.vmoptions
in the same folder as the deployed clcgridworker
script, that is, the clcgridworker script within the folder specified in the Path to CLC Grid Worker field of the grid preset.
For example, if a clcgridworker.vmoptions
was created, containing the following two lines, it would, for the CLC Grid Worker specified in a given preset, set memory limits for the CLC Science Server java process and a temporary directory available from the grid nodes, overriding the defaults that would otherwise apply:
-Xmx1000m -Djava.io.tmpdir=/path/to/tmp
For each grid preset you created, you can create a clcgridworker.vmoptions
file within the folder you specified in the Path to CLC Grid Worker field. So for example, if you had two grid presets, you could set two quite different memory limits for the CLC Science Server java process.
This might be a useful idea in the case where you wished to provide two queues, one for tasks with low overheads, such as imports and trimming jobs, and one for tasks with higher overheads, such as de novo assemblies or read mappings.