Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#219 t/gsl_interp...Error in gsl_spline_eval_e

closed-out-of-date
nobody
None
5
2010-07-19
2009-05-30
Jan
No

I am trying to compile PDL for the first time on my linux system.
I did the following steps in a new sub-directory
git init
git add .
git pull git://pdl.git.sourceforge.net/gitroot/pdl
cpan PDL
then, I chose automated mode.

Now, installation stops because of a test error.
Should I force continuation (please explain how), or is there a big somewhere ?

Last information from the log:

Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/gsl_interp.t 255 65280 11 2 11
13 tests and 3 subtests skipped.
Failed 1/109 test scripts. 1/1075 subtests failed.
Files=109, Tests=1075, 309 wallclock secs (56.04 cusr + 4.77 csys = 60.81 CPU)
Failed 1/109 test programs. 1/1075 subtests failed.
make: *** [test_dynamic] Error 255
CHM/PDL-2.4.4.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports CHM/PDL-2.4.4.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make install
make test had returned bad status, won't install without force

uname -a
Linux his08 2.6.27-14-generic #1

----------------------

The following sources were automatically downloaded:
---- Unsatisfied dependencies detected during ----
---- CHM/PDL-2.4.4.tar.gz ----
Astro::FITS::Header [requires]
Inline [requires]
Do you want to install Inline::C? [y] y
Writing Makefile for Inline::C
Writing Makefile for Inline
---- Unsatisfied dependencies detected during ----
---- SISYPHUS/Inline-0.45.tar.gz ----
Parse::RecDescent [requires]

-------------------------------

------------------------------------
More information from the log

/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/perldl
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/aaa_load..................ok
t/argtest...................ok
t/autoload..................ok
t/bad.......................ok
3/78 skipped: various reasons
t/basic.....................ok
t/bess......................ok
t/bool......................ok
t/callext...................ok
t/clump.....................ok
t/complex...................ok
t/conv......................ok
t/core......................ok
t/croak.....................ok
t/diskcache.................ok
t/dumper....................ok
t/erf.......................ok
t/erfi......................ok
t/familyfree................ok
t/fastraw...................ok
t/fft.......................ok
t/fftw......................ok
t/fits......................ok
t/flexraw...................skipped
all skipped: Skipped tests as F77 compiler not found
t/flow......................ok
t/foo.......................ok
t/func......................ok
t/gauss.....................ok
t/gd_oo_tests...............ok
t/gd_tests..................ok
t/gis_proj..................ok
t/gsl_diff..................ok
t/gsl_integ.................ok
t/gsl_interp................Error in gsl_spline_eval_e: input domain error at /usr/lib/perl5/PDL/GSL/INTERP.pm line 282.
t/gsl_interp................ok 1/11# Looks like you planned 11 tests but only ran 10.
# Looks like your test died just after 10.
t/gsl_interp................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 11
Failed 1/11 tests, 90.91% okay

Discussion

  • Chris Marshall
    Chris Marshall
    2009-05-30

    This appears to be a Support Request and not a Bug Report.

    It appears that you may be mixing a manual PDL install process with
    an automated one via the cpan shell. That may be the source of the
    problem. Have you installed PDL before?

    I recommend posting to the perldl mailing list which you can sign up
    from a link on the PDL home page http://pdl.perl.org

    Regards,
    Chris

     
  • Chris Marshall
    Chris Marshall
    2009-05-30

    In the PDL distribution folder are files README, INSTALL, and BUGS
    which describe PDL, give information on how to install, and what
    to do if you have a bug to report.

    If you are just interested in installing PDL for your use, you
    might try http://apps.sourceforge.net/mediawiki/pdl/index.php?title=Installing_PDL_the_quick_and_easy_way

    The second easiest would probably be to use the cpan shell.
    If you want the latest developers snapshot, you can specify
    it by specific version, I believe.

    See http://search.cpan.org to find the current latest developers
    release version. It is version 2.4.4_03 at the moment. The
    latest official release is 2.4.4 which I would recommend installing
    first before trying the bleeding edge...

    --Chris

     
  • Jan
    Jan
    2009-05-31

    Thanks for your support. I've been using PDL for a few years now, and I try to give it a shot to see if I can add a library function myself.
    This is the first time I try to complile anything perl-related. So far, I have just used the Ubuntu packages, which serve me very well.
    This is my first use of the cpan program, or cpan shell, and I try to follow the instructions from the INSTALL file in the PDL git, not knowing anything about cpan.

    For the reason of the addition I'd like to make, see:
    https://sourceforge.net/tracker/?func=detail&atid=350612&aid=2774886&group_id=612

     
  • Chris Marshall
    Chris Marshall
    2009-05-31

    OK, now I remember the thread. For an on-going dialog, please join
    the perldl mailing list so that the discussion can benefit and
    benefit from everyone. I'm not a power linux user but the big
    problem I ran into was getting all the prerequisite packages
    installed to correctly compile and link things. If you could try the
    following and attach the log to this thread: From the top level
    pdl directory:

    make clean # remove any previous compile cruft
    ( set -x ; perl Makefile.PL ) 2>&1 | tee -a ../pdl-prob-log.txt
    ( set -x ; make ) 2>&1 | tee -a ../pdl-prob-log.txt
    ( set -x ; make test ) 2>&1 | tee -a ../pdl-prob-log.txt

    This is the standard manual way to build a perl extension
    module (such as PDL). If you get any errors along the
    way, please stop there and send them first. There is
    no sense trying the make if the configuration did not
    run completely...

    Cheers,
    Chris

     
  • Chris Marshall
    Chris Marshall
    2009-05-31

    Once you have a PDL built and passing tests, things should be
    good for further development. Depending on what you need, it
    looks like the GSL routines for QR decomposition or SVD
    decomposition might be relevant. To interface those routines
    would involve some PP coding (I recommend Inline::Pdlpp for
    this) and the key parts would be:

    1. Implement the mapping between piddles and gsl_vector's
    2. Implement the mapping between piddles and gsl_matrix's
    3. Implement the gsl linear algebra routines desired.

    Use the gsl_vector_view() and gsl_matrix_view() to map the
    input piddle data into the required gsl_matrix and gsl_vectors
    to pass as arguments. Then call the desired gsl routine.

    As mentioned in the previous discussion, I would like to
    implement the full GSL for PDL to improve portability and
    capability. Please join the perldl mailing list for further
    discussion and help. There are other PDL users and developers
    with much more experience in this type of coding. Especially
    the Inline::Pdlpp which can *really* simplify the development
    of external module capabilities.

    See you on the perldl list.

     
  • Chris Marshall
    Chris Marshall
    2010-02-20

    We're getting this same failure from one CPAN tester report but are not
    able to reproduce to locate the problem. Do you still have this issue with
    the current PDL-2.4.6 or PDL-2.4.6_001 releases. If so, help to diagnose
    and debug the problem would be welcome.

    I'm moving this to the Bugs tracker since it appears to be a current problem
    in some fashion.

    --Chris

     
  • Chris Marshall
    Chris Marshall
    2010-06-15

    Still not able to reproduce this problem. If you can generate this failure, please contact the PDL development team for further follow-up. Thanks.

     
  • Chris Marshall
    Chris Marshall
    2010-07-04

    • status: open --> pending-out-of-date
     
  • Chris Marshall
    Chris Marshall
    2010-07-04

    This problem has not been reproduced since PDL-2.4.6 and with no
    further contact with the user, I am marking this Out of Data and Pending
    until or unless additional reports are received. It should not be difficult
    to fix if we were ever able to get a reproducible problem to debug.

     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending-out-of-date --> closed-out-of-date