Closed gijzelaerr closed 10 years ago
Original comment thread migrated from bugzilla
Ubuntu 10.04 and up ships a retarded, slow, badly compiled blitz, which reduces performance by a factor of several (due to thread locks being enabled even for element-level accesses). This can literally bring MeqTrees to its knees.
The only workaround I can see is shipping our own version of blitz, built without the threads stuff.
Do you have a specific version in mind, and what options do you wish to be applied to get it built (I assume you are doing this already on your box)?
Yep, the build is documented on this wiki page:
http://www.astron.nl/meqwiki/BuildingTimba/RequiredSoftware/BlitzBuildNotes
Note also the small change required to build with newer g++s, also documented on that page.
The version is the "latest", i.e. 0.9. In fact, I suspect development of blitz
has ceased, since it's been stuck on 0.9 for donkey's years. Do you think we
should we just fork off 0.9, apply the #include
Still seems to be some activity in CVS, they just don't seem to be making releases anymore. I already have patches to build it though, the problem is where to put it. Replacing the underlying distro's version is not a good idea - maybe some package somewhere relies on this thread locking stuff, so should go in /opt
Can we give it a different name? libblitz-meqtrees?
OK, we need to sort out one final wrinkle here. With the new blitz-mpp package installed (and the standard Ubuntu one wiped out), I struggled to build Timba because cmake could not find blitz. I finally persuaded it by passing - DBLITZ_INCLUDE_DIR=/opt/mpp/blitz/0.9/include/ and - DBLITZ_LIBRARY_DIR=/opt/mpp/blitz/0.9/lib/ to bootstrap_cmake, but this was by no means easy to figure out since our current cmake scripts do not give any feedback if the manual setting of BLITZ_INCLUDE_DIR and BLITZ_LIBRARY_DIR is incorrect.
Since our recommended path for building MeqTrees from source is to install the oxford dependency packages first, this error is going to hurt our advanced users. Could you please:
I've added the mpp packages default location in the Blitz search path (8376).
This is actually documented in the README_build.txt. I've added an example to help drive the point home to the uninitiated.
at 2011-06-30 16:08:00 Oleg Smirnov reported:
need to ship our own blitz on Ubuntu 10.04+