Re: Number of threads option - not being saved after shutdown

Posted by Paul van Schayck on
URL: http://imagej.273.s1.nabble.com/Number-of-threads-option-not-being-saved-after-shutdown-tp5008369p5008599.html

Dear Michael,

On Tue, Jul 1, 2014 at 2:05 PM, Michael Schmid <[hidden email]> wrote:

> Hi Paul,
>
> not saving the "Options -> Memory & Threads -> Parallel Threads" is probably on purpose. When saving it in the Prefs and migrating everything (including the Prefs) to another computer,  you may end up with poor performance because of an improper value.
> Also, it's all too easy to forget setting it properly after changing it for some tests...
>
> If you want to have a certain non-default value, why not put it into the StartupMacros.txt?  You can do the same also for other options that you always want to initialize to the same value, e.g.:
>
> macro "AutoRun" {
> // reset options
>   run("Colors...", "foreground=black background=white selection=orange");
>   run("Options...", "iterations=1 pad edm=Overwrite count=1");
>   run("Profile Plot Options...", "draw interpolate sub-pixel");
>   run("Memory & Threads...", "parallel=1 keep run");
> }
>

Thank you for your answer! It maybe makes sense that this option is
not saved (although more options may fall under that consideration
then). However a note about it in the dialog may be a good idea.

I feel stupid though about not thinking about the macro call in an
autorun macro. Thanks for reminding me.

Thanks,

Paul

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html