Re: [scala-breeze] Tests failing for breeze-math

57 views
Skip to first unread message

David Hall

unread,
Oct 17, 2012, 6:54:40 PM10/17/12
to scala-...@googlegroups.com
On Wed, Oct 17, 2012 at 3:40 PM, Daniel Ritchie
<daniel.c...@gmail.com> wrote:
> I'm trying to build breeze using the 'assembly' sbt task. Unfortunately, the
> assembly task won't complete because some test(s) is/are failing for
> breeze-math.
>
> The error output looks like:
>
> [error] Error: Total 281, Failed 0, Errors 0, Passed 281, Skipped 0
> [info] TopKTest:
> [info] - Check that we always get the top elements: doubles
> [info] - Check that we always get the top elements: ints
> [error] Error during tests:
> [error] breeze.linalg.LinearAlgebraTest
>
> then, later on:
>
> -- org.jblas ERROR Couldn't load copied link file:
> java.lang.UnsatisfiedLinkErro
> r: C:\Users\Daniel\AppData\Local\Temp\jblas7429212698524525836jblas.dll:
> Can't f
> ind dependent libraries.

So this should be printed if your system can't support jblas's native
code (I can't suppress it; it's internal to jBlas.) It's a known
problem in 0.1, but it shouldn't cause test failures on 0.2-SNAPSHOT /
the main repository. can you run

> sbt "project breeze-math" test

and can you see if there's a stack trace somewhere buried in there?

>
> (ERROR) (FirstOrderMinimizer.scala:73) Failure! Resetting history:
> breeze.optimi
> ze.LineSearchFailed: Grad norm: 1.9964 Dir Norm:[ 0.0247

The line search error is fine. I should probably call it a warning.

Daniel Ritchie

unread,
Oct 17, 2012, 7:15:21 PM10/17/12
to scala-...@googlegroups.com
Nope, no stack trace.

Also, according to the error output, the tester is looking for a file whose name is something like "jblas4761480877937050966jblas.dll." However, the files that actually reside in the temp directory where it's looking are named something like "jblas494656731588471032jblas_arch_flavor.dll." Is there anything to this name mismatch, or is this definitely not the problem?

David Hall

unread,
Oct 17, 2012, 7:16:10 PM10/17/12
to scala-...@googlegroups.com
It might be a problem with win64. Are you on win64?

If so, I can hopefully mess with it tonight.

-- David

On Wed, Oct 17, 2012 at 4:15 PM, Daniel Ritchie
> --
> You received this message because you are subscribed to the Google Groups
> "Scala Breeze" group.
> To post to this group, send email to scala-...@googlegroups.com.
> To unsubscribe from this group, send email to
> scala-breeze...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scala-breeze/-/08CU5VMhtfEJ.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Daniel Ritchie

unread,
Oct 17, 2012, 7:19:14 PM10/17/12
to scala-...@googlegroups.com
Yep, that's right.

David Hall

unread,
Oct 17, 2012, 11:35:29 PM10/17/12
to scala-...@googlegroups.com
Try now. I have it working on mine. FWIW, some tests fail sometimes
(GammaTest and GeometricTest, notably).

-- David

On Wed, Oct 17, 2012 at 4:19 PM, Daniel Ritchie
> https://groups.google.com/d/msg/scala-breeze/-/XvCGM9beLs4J.

Daniel Ritchie

unread,
Oct 18, 2012, 12:55:32 AM10/18/12
to scala-...@googlegroups.com
Seems to be working on my end, too. Thanks! I've also noticed the
occasional failures.
Reply all
Reply to author
Forward
0 new messages