Blitz logo

Blitz Bugs :

From: Julian Cummings (cummings_at_[hidden])
Date: 2004-04-16 13:27:37


Hi Andreas,

Andreas Reifschneider wrote:

> > make check-examples
> Running examples...
> array
> cartesian
> cast
> cfd
> seems not to terminate (terminates however surprisingly after 'make
> install' into the same directory, is 'make install' prerequisite for
> 'make check-benchmarks'? If so would have been nice if this was stated
> in configure).

No, I think the cfd example just takes a fair bit longer than most of
the other example codes to run. Perhaps the parameters should be
adjusted so that it doesn't run for so long.

>
> > make check-benchmarks
> [....]
> valarray<T>: N = 562341
> rm -f ctime1 ctime2 ctime3 ctime4 ctime5 ctime1v ctime2v ctime3v
> ctime4v ctime5v
> Flags:
> Compile time for ctime1.cpp:
> ctime1.cpp:1:25: blitz/array.h: Datei oder Verzeichnis nicht gefunden
> ctime1.cpp:3: error: `blitz' was not declared in this scope
> ctime1.cpp:5: error: ISO C++ forbids declaration of
> `BZ_USING_NAMESPACE' with
> no type
> ctime1.cpp:5: error: Syntaxfehler before `int'
> [...]
> It seems not to find blitz/array.h;
> replacing
> for benchmark in $(COMPILE_TIME_BENCHMARKS) ; do \
> echo Compile time for $$benchmark.cpp: ; \
> time $(CXX) $(CXXFLAGS) -c $$benchmark.cpp; \
> done
> in benchmarks/Makefile(.am) in target "ctime:" with:
> for benchmark in $(COMPILE_TIME_BENCHMARKS) ; do \
> echo Compile time for $$benchmark.cpp: ; \
> time $(CXX) $(DEFAULT_INCLUDES) $(INCLUDES) \
> $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c
> $$benchmark.cpp; \
> done
> solves the problem.

This correction has already been made in the blitz cvs repository on
sourceforge.net.

>
> Documentation bug on:
> http://www.oonumerics.org/blitz/manual/blitz02.html#l27
> 2.1.1: Template parameters
> [...]
> y = 1, 0, 0, 0
> 0, 1, 0, 0
> 0, 0, 1, 0
> 0, 0, 0, 1;
> didn't work:
> myprogram1.cpp: In function `int main(int, char**)':
> myprogram1.cpp:13: error: parse error before numeric constant
> Adding commas:
> y = 1, 0, 0, 0,
> 0, 1, 0, 0,
> 0, 0, 1, 0,
> 0, 0, 0, 1;
> solves the problem.

This error also has already been corrected within the blitz cvs repository.

>
> And it would be nice if the e-mail addresses in Mailing List Archives
> were hidden (to avoid harvesting through SpamBots), see e.g. the
> 'From:' field on
> http://www.oonumerics.org/MailArchives/blitz-bugs/msg00469.php

Is there a straightforward way to do this using the GNU mailman tool? I
don't really know much about this issue. Todd V. is still administering
this mailing list and archive.

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