Breeze 1.3

25 views
Skip to first unread message

David Hall

unread,
Aug 14, 2021, 4:41:52 PM8/14/21
to scala-...@googlegroups.com
Hi everyone,

Hot on the heels of Breeze 2.0-RC1 is Breeze 1.3, which is basically Breeze 1.2 but with Ludovic Henry's awesome new netlib library.

Another change is from Rafal Piotrowski which makes ThreadLocalRandomGenerator (i.e. the default RandomGenerator) serializable. (Thanks!)

One thing I forgot to mention in the last email is that OpenBlas can segfault on Linux, at least for me, and you will need to work around it. (Please see https://github.com/luhenry/netlib/issues/2).

Workarounds:
  • Use MKL, if possible
  • Increase the size of the stack of Java threads with `-Xss10M` (set the Java threads' stack size to 10 Mbytes)
  • Make sure OpenBLAS doesn't use the parallel implementation by defining the environment variable `OPENBLAS_NUM_THREADS=1`
  • Compile a custom version of OpenBLAS that unconditionally define `USE_ALLOC_HEAP` at https://github.com/xianyi/OpenBLAS/blob/develop/lapack/getrf/getrf_parallel.c#L49
Reply all
Reply to author
Forward
0 new messages