Blitz logo

Blitz Support :

From: Fernando Perez (fperez_at_[hidden])
Date: 2003-08-28 13:14:23


Hi all,

I've been using blitz in the past, from a version included by Eric Jones in
Sicpy's weave package (python support). He used a snapshot from 2000/12/13
for that. I decided to update to current CVS because I'm having some strange
problems with that, and would rather not report a bug which has been fixed for
2 years :)

Here come a few initial comments:

1. First, it might be a good idea to update the webpage
http://www.oonumerics.org/blitz/download/ at the end, where it describes using
cvs. Instead of

*********
NOTE: The CVS repository is mainly intended for developers. It does not
contain the configure script referred to in the Installation section in the
User's Guide. You will need additional tools to generate it: be sure to have
autoconf and automake installed and issue
aclocal; autoheader; automake -a; autoconf

in your favourite shell.
*********

It should say:

*********
NOTE:...

be sure to have at least version 2.57 of autoconf and 1.7.6 of automake
installed and issue

autoreconf -vif

in your favourite shell. You can then proceed with the usual
./configure;make;make install steps.
*********

This would save those willing to use CVS a good deal of frustration and
mailing list hunting (though truth be told, all the info _was_ in the
archives, which is good).

2. The problem reported in
http://www.oonumerics.org/MailArchives/blitz-support/msg00768.php

is still present. It can, as was pointed in followups, be handled by adding
the --disable-shared flag to ./configure. But it would be worth at least
adding a note about it to the CVS instructions, if it is not reasonable to
expect a fix soon.

3. After a successful build with the above caveats, I tried running the test
suite, and it fails with:

planck[blitz_cvs]> make check-testsuite

[snip]

Running test suite...
Adnene-Ben-Abdallah-1
Adnene-Ben-Abdallah-2
arrayresize
chris-jeffery-1
chris-jeffery-2
chris-jeffery-3
complex-test
constarray
contiguous
copy
ctors
derrick-bass-1
derrick-bass-3
exprctor
make[1]: *** [check-testsuite] Error 1
make[1]: Leaving directory `/home/fperez/usr/local/blitz_cvs/testsuite'
make: *** [check-testsuite] Error 1

This is running on a stock RedHat 9.0 box, Pentium 4, 1 GB of RAM:

planck[blitz_cvs]> gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

planck[blitz_cvs]> uname -a
Linux planck 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux

With a make -n I got what it wanted to do and ran the same commands as a
separate script. The problem is:

...
exprctor
./test: line 6: 7823 Segmentation fault ( ./$prog >/dev/null 2>&1 )

exprctor is indeed segfaulting. If I remove it from the list of tests to run,
the suite passes. Someone who knows the code might want to look into why
exprctor is crashing.

I'll be glad to provide more details if it's useful.

Now I'm off to test the problems I was seeing, to find out if they are still
there or not :)

Best regards,

Fernando.