-
Notifications
You must be signed in to change notification settings - Fork 82
Description
Migrated from: https://sourceforge.net/p/blitz/bugs/34/
As reported by @torquil on 2011-12-10:
It seems that the latest Mercurial source does no contain blitz/array-old.h. The example "cfd.cpp" depends on this file, so it doesn't work. In "cfd.cpp", there are also some negative comments, e.g.:
"There are serious bugs, this simulation doesn't work very well."
So perhaps this example should be removed or updated, if array-old.h is not expected to return?
This compilation error also causes the other examples to not be built, since "make" stops the build process at this point.
Due to this, I did the following in order to compile the other examples:
$ for i in *.cpp; do make $(basename $i .cpp); done
and found that the following cpp-files did not compile:
cfd.cpp
curldiv.cpp
diff.cpp
erf.cpp
indirect.cpp
pauli.cpp
pick.cpp
profile.cpp
qcd.cpp
rangexpr.cpp
stencil3.cpp
stencilet.cpp
tiny2.cpp
tiny3.cpp
tiny.cpp
transform.cppBest regards
Torquil M. Sørensen
Here's a relevant comment from a 2012 commi (8a56e2b):
Commented out several example programs which rely on the Vector classes and are therefore not currently functional. The Vector classes need to be updated to use the new style expression template machinery in blitz. The old style ET machinery has been removed to reduce the overall amount of blitz code.