![]() |
Blitz Support : |
From: Todd Veldhuizen (tveldhui_at_[hidden])
Date: 2003-09-02 19:39:49
I've updated the 'download' web page as suggested; thanks, Fernando!
Cheers,
Todd
-- Todd Veldhuizen / tveldhui_at_[hidden] / Indiana University Computer Science On Tue, 2 Sep 2003, Julian Cummings wrote: > Hello Fernando, > > Fernando Perez wrote: > > > 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). > > OK. Todd V. is still in charge of the oonumerics.org/blitz website, so > perhaps he could make these changes at some point, just so the > information is consistent. > > > > > 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. > > Using --disable-shared is just a hack to avoid worrying about run-time > ld library paths. This problem goes away if you set your > LD_LIBRARY_PATH to include the directory where libblitz.so can be found. > Alternately, we could add a --rpath option to indicate the proper path > at link time when building the little stencil programs for the > documentation. I'm not a big fan of using the --rpath option, since it > removes flexibility in locating shared libraries. > > > > > 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 have done just that and I believe I spotted the problem. I have > checked into the cvs repository a patch for the file > blitz/array/methods.cc that makes exprctor work properly > again, at least on my Linux box. Thanks for the bug reports. > > Regards, Julian C. > > -- > Dr. Julian C. Cummings E-mail: cummings_at_[hidden] > California Institute of Technology Phone: 626-395-2543 > 1200 E. California Blvd., Mail Code 158-79 Fax: 626-584-5917 > Pasadena, CA 91125 > > > > _______________________________________________ > Blitz-support mailing list > Blitz-support_at_[hidden] > http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support >