Reader Comments

Post a new comment on this article

Specific number of threads?

Posted by cement_head on 28 Dec 2019 at 19:19 GMT

Hello,

I might have missed this in the paper & supplemental, but is there a way to specify the number of CPU threads to utilise? TIA

No competing interests declared.

RE: Specific number of threads?

wfrohmberg replied to cement_head on 30 Dec 2019 at 21:14 GMT

Although GRASShopPER steps can be perceived as inseparable elements of the assembly pipeline they were actually implemented independently. The grasshopper executable is merely the script integrating all steps of the method together. To perform given step GRASShopPER invokes appropriate application(s) with its own set of parameters and independently designed parameter naming schema. In order to stick to the "keep it simple and straight" principle we decided to prevent from overwhelming user with a ton of parameters -- we have extracted only those parameters that are relevant for result quality measures tuning. Of course there is always a backdoor to change the default behavior of grasshopper which in this case involves changing the scripts that runs corresponding step:

${REPO}/grasshopper-scripts/run-grasshopper-<step-name>.sh

Two main grasshopper steps namely build and traverse comes with respectively --gpus and --threads options for suppressing number of application threads. It need to be stated, though, that in case of build step the number of threads is strictly connected to the graphics cards to be utilized by the application.

WF

No competing interests declared.

RE: RE: Specific number of threads?

cement_head replied to wfrohmberg on 03 Jan 2020 at 19:25 GMT

Cheers & thanks for the clarification(s).

No competing interests declared.