← Back to team overview

yade-dev team mailing list archive

Re: yade parallel problem

 

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 <eudoxos@xxxxxxxx>

>
> >
> > "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     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References