Thanks for the info!
However I cannot seem to get it to work in my batch file commands. I use 
the following line:

call ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS=1 
%appfolder%/otbcli_MeanShiftSmoothing -in ....

But 'ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS' is then not recognized as an 
internal or external command. I've tried different combinations, but non 
seem to recognize the ITK variable. 
What am I missing? Thanks!

Kind regards,
Darell

How do I get the batch command to recognize the ITK variable? 


On Thursday, July 14, 2016 at 3:03:16 PM UTC+2, Jordi Inglada wrote:
>
> Hi Darell, 
>
> The ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS environment variable can be used 
> to set the maximum number of threads that an OTB application will use. You 
> can therefore use : 
>
> ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS=1 otbcli_MeanShiftSmoothing -in ... 
>
> or export the variable before running the application. 
>
> Jordi 
>
> Darell van der Voort <[email protected] <javascript:>> wrote: 
> > 
> > Hello, 
> > 
> > I was wondering if it possible to turn of the multi-threading of the 
> LSMSS smoothing (step 1)? Reason is that other steps are not multi-threaded 
> and I would like to assign individual processing chains to a single 
> > core. 
> > 
> > Thanks! 
> > 
> > Kind regards, 
> > Darell 
> > 
> > 
> > -- 
>

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to