help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: skipped tests


From: Doug Stewart
Subject: Re: skipped tests
Date: Wed, 5 Jan 2011 17:35:34 -0500



On Wed, Jan 5, 2011 at 5:23 PM, John W. Eaton <address@hidden> wrote:
On  5-Jan-2011, Doug Stewart wrote:

| I am using ubuntu and tip from hg.
|
| In fntests.log I see
|
| >>>>> processing /home/doug/octave_dev/compiling/octave/src/DLD-FUNCTIONS/lu.cc
|   ***** testif HAVE_QRUPDATE_LUU
|  [L,U,P] = lu(A);
|  [L,U] = luupdate(L,U,P*u,v);
|  assert(norm(vec(tril(L)-L),Inf) == 0)
|  assert(norm(vec(triu(U)-U),Inf) == 0)
|  assert(norm(vec(P'*L*U - A - u*v.'),Inf) < norm(A)*1e1*eps)
|  
| ----- skipped test
|
|   ***** testif HAVE_QRUPDATE_LUU
|  [L,U,P] = lu(Ac);
|  [L,U] = luupdate(L,U,P*uc,vc);
|  assert(norm(vec(tril(L)-L),Inf) == 0)
| etc.
|
|
|
|
| In lu.cc   at the bottom we have
|
|
| %!testif HAVE_QRUPDATE_LUU
| %! [L,U,P] = lu(A);
| %! [L,U] = luupdate(L,U,P*u,v);
| %! assert(norm(vec(tril(L)-L),Inf) == 0)
| %! assert(norm(vec(triu(U)-U),Inf) == 0)
| %! assert(norm(vec(P'*L*U - A - u*v.'),Inf) < norm(A)*1e1*eps)
| %! 
| %!testif HAVE_QRUPDATE_LUU
| %! [L,U,P] = lu(Ac);
| %! [L,U] = luupdate(L,U,P*uc,vc);
|
| etc
|
| What I don't see is where HAVE_QRUPDATE_LUU is initilased to be true or false.
| I am assuming it is FALSE and therefore skipping the tests.

The "testif" directive looks in the list of -D options found in the
string returned by

 octave_config_info ("DEF")

So it looks like your copy of Octave was built with a version of the
qrupdate library that does not have the LU update functions.

jwe
configure:46469: checking for sqr1up in -lqrupdate
configure:46476: gfortran -o conftest -O -mieee-fp   conftest.f -lqrupdate -llapack -lcblas -lf77blas -latlas  -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu -lgfortranbegin -lgfortran -lm -lm   >&5
configure:46476: $? = 0
configure:46481: result: yes
configure:46518: checking for slup1up in -lqrupdate
configure:46526: gfortran -o conftest -O -mieee-fp  conftest.f -llapack -lcblas -lf77blas -latlas  -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu -lgfortranbegin -lgfortran -lm -lm   -lqrupdate >&5
/tmp/ccUQbAG7.o: In function `MAIN__':
conftest.f:(.text+0x1b): undefined reference to `slup1up_'
collect2: ld returned 1 exit status
configure:46526: $? = 1
configure: failed program was:
|       program main
|       call slup1up
|       end
configure:46531: result: no
configure:46601: checking suitesparse/amd.h usability

So the fact that -lqrupdate  did not have slup1up  is why it skipped the tests.

I am in ubuntu with all the updates etc., so I wonder how to get the correct lqrupdate?

Doug

reply via email to

[Prev in Thread] Current Thread [Next in Thread]