Hi Steve,

Your immediate problem seems to be that you don't have PDL::Slatec installed, probably because you didn't have the Slatec library installed when you installed PDL. Obtaining that, then rebuilding and installing PDL, will help get around that problem.

Before you get to far with this, though, you may want to read the bug report from earlier this year re: PDL::Gaussian at http://sourceforge.net/tracker/index.php?func=detail&aid=1661607&group_id=612&atid=100612

As far as I can tell, and since nobody has proven me wrong, PDL::Gaussian is at the moment a mostly dead module. It hasn't been substantially touched in 7 years, and has significant problems (I think) with explicit vs implicit threading. To my knowledge nobody has used it for a long time until Adam tried earlier this year. I looked at it for a little while, then realized fixing it was a larger problem than I had the time or inclination for, unfortunately.

It seems like it would be a nice module to have working properly, so if you have the desire to crank on it, go right ahead!

Derek

Steve Chapel wrote:
Hi,

When I run this program:

#!/usr/bin/perl
use strict;
use warnings;
use PDL;
use PDL::Gaussian;
my $x = new PDL::Gaussian([],[]);

using ActivePerl 5.8.8.820 and PDL 2.4.3 I get the following error:

Can't locate PDL/Slatec.pm in @INC (@INC contains: C:/Perl/site/lib
C:/Perl/lib .) at C:/Perl/site/lib/PDL/Gaussian.pm line 114, <DATA> line
206.
BEGIN failed--compilation aborted at C:/Perl/site/lib/PDL/Gaussian.pm line
114, <DATA> line 206.
Compilation failed in require at gaussian.pl line 5, <DATA> line 206.
BEGIN failed--compilation aborted at gaussian.pl line 5, <DATA> line 206.

I'm able to run other PDL code just fine. I'm not sure if this is a bug in
PDL or some kind of configuration problem on my computer. Are others able to
run the above code?

Thanks,
Steve


_______________________________________________
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

Reply via email to