Hmm, it seems, that
OMP_NUM_THREADS=1
      and
--threads=1 or -j 1

are not the same.

Also, because of this,  !OMP_NUM_THREADS does not work now in -multy
version.

______________________________

Anton Gladkyy


2010/2/1 Václav Šmilauer <[email protected]>

>
> >
> > "OMP_NUM_THREADS=4 ./yade" is exactly the same as --threads or -j?
>
> Oh yes, see core/main/main.py.in:66
>
> if opts.threads:
>        os.environ['OMP_NUM_THREADS']=str(opts.threads)
>
> I will add the equivalence information to the option help.
>
> v
>
>
>
> _______________________________________________
> Mailing list: 
> https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : [email protected]
> Unsubscribe : 
> https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to