No, it's not in all cases. Since Breeze uses lapack under the hood, changes to memory between different threads is bad.
There's actually a potential bug in the KMeans code where it uses += instead of +. On Wed, Sep 3, 2014 at 1:26 PM, Ulanov, Alexander <alexander.ula...@hp.com> wrote: > Hi, > > Is breeze library called thread safe from Spark mllib code in case when > native libs for blas and lapack are used? Might it be an issue when running > Spark locally? > > Best regards, Alexander > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org > For additional commands, e-mail: dev-h...@spark.apache.org > > -- em rnowl...@gmail.com c 954.496.2314