The same test passes fine on my Ubuntu 8.04 + Perl 5.8.8 + PDL 2.4.4_x. The error is produced by PDL::Slatec::matinv. logistic uses PDL::Fit::LM, which uses matinv for matrix inversion. Can you do me a favor by going thru the following stelps,
locate LM.pm in your PDL source code, add "use PDL::MatrixOps qw( inv );" at the top Change line 156 matinv($al) to inv($al). make clean and reinstall PDL. redo make test for PDL::Stats If the test passes, we should re-post this as a PDL::Slatec::matinv issue. Maggie On Wed, Sep 30, 2009 at 6:14 AM, philge philip <[email protected]> wrote: > hi > > i tried to install PDL::Stats in my CentOS 5. then in get following > error during "make test" > > [r...@penguin PDL-Stats-0.2.5]# make test > make[1]: Entering directory `/home/philge/.cpan/build/PDL- > Stats-0.2.5/Basic' > make[1]: Leaving directory `/home/philge/.cpan/build/PDL-Stats-0.2.5/Basic' > make[1]: Entering directory > `/home/philge/.cpan/build/PDL-Stats-0.2.5/Distr' > **** > no GSL lib, skip PDL::Stats::Distr > **** > make[1]: Leaving directory `/home/philge/.cpan/build/PDL-Stats-0.2.5/Distr' > make[1]: Entering directory `/home/philge/.cpan/build/PDL-Stats-0.2.5/GLM' > make[1]: Leaving directory `/home/philge/.cpan/build/PDL-Stats-0.2.5/GLM' > make[1]: Entering directory > `/home/philge/.cpan/build/PDL-Stats-0.2.5/Kmeans' > make[1]: Leaving directory > `/home/philge/.cpan/build/PDL-Stats-0.2.5/Kmeans' > make[1]: Entering directory `/home/philge/.cpan/build/PDL-Stats-0.2.5/GSL' > **** > no GSL lib, skip PDL::GSL::CDF > **** > make[1]: Leaving directory `/home/philge/.cpan/build/PDL-Stats-0.2.5/GSL' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/stats_basic.....ok > t/stats_glm.......ok 1/33PDL: Uninvertible matrix given to inv: > [ > [3.5077326e-32 -0.33333333] > [1.1692442e-32 0] > ] > > > Caught at file t/stats_glm.t, line 155, pkg main > # Looks like you planned 33 tests but only ran 19. > # Looks like your test died just after 19. > t/stats_glm.......dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 20-33 > Failed 14/33 tests, 57.58% okay > t/stats_kmeans....ok > Failed Test Stat Wstat Total Fail Failed List of Failed > > ------------------------------------------------------------------------------- > t/stats_glm.t 255 65280 33 28 84.85% 20-33 > Failed 1/3 test scripts, 66.67% okay. 14/95 subtests failed, 85.26% okay. > make: *** [test_dynamic] Error 255 > > please help me to figure out the issue. > > thanking you > philge > > Send free SMS to your Friends on Mobile from your Yahoo! Messenger. > Download Now! http://messenger.yahoo.com/download.php > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > >
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
