<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/blitz/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/blitz/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 10 May 2020 12:25:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/blitz/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>#4 printing blitz arrays via GDB</title><link>https://sourceforge.net/p/blitz/support-requests/4/?limit=25#2d59</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sylwester Arabas</dc:creator><pubDate>Sun, 10 May 2020 12:25:08 -0000</pubDate><guid>https://sourceforge.net77409c009831b5648c0729cc7fe5ec8f3b8f8906</guid></item><item><title>#4 printing blitz arrays via GDB</title><link>https://sourceforge.net/p/blitz/support-requests/4/?limit=25#2e4a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;Note that for two years now, maintanance of Blitz++ has been carried out on Github:&lt;br/&gt;
&lt;a href="https://github.com/blitzpp/blitz/" rel="nofollow"&gt;https://github.com/blitzpp/blitz/&lt;/a&gt;&lt;br/&gt;
Please, could you repost the questions at the Blitz issue tracker there:&lt;br/&gt;
&lt;a href="https://github.com/blitzpp/blitz/issues/new" rel="nofollow"&gt;https://github.com/blitzpp/blitz/issues/new&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br/&gt;
Sylwester&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sylwester Arabas</dc:creator><pubDate>Sun, 10 May 2020 07:06:29 -0000</pubDate><guid>https://sourceforge.net16b440bf5d35bd870a5f3d23099d83a7ec024fec</guid></item><item><title>printing blitz arrays via GDB</title><link>https://sourceforge.net/p/blitz/support-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Dear team BLITZ,&lt;br/&gt;
We are a team from Qualcomm and have been using Blitz arrays for some of the modeling problems.&lt;br/&gt;
We would like your inputs on a couple of queries related to blitz usage.&lt;/p&gt;
&lt;p&gt;It is very useful that Blitz supports printing any multidimensional arrays with a very simple statement as below&lt;br/&gt;
std::cout&amp;lt;&amp;lt;blitz_array_name&amp;lt;&amp;lt;std::endl&lt;/p&gt;
&lt;p&gt;We are working on a large codebase, and we would like to print the array contents during the debug sessions as well.&lt;br/&gt;
We use GDB for debugging. We tried an option as below&lt;/p&gt;
&lt;p&gt;a) overloaded functions for different type of arrays which we like to print, as below&lt;br/&gt;
void printBlitz(blitz::Array&amp;lt;bool, 1=""&amp;gt; &amp;amp;in)&lt;br/&gt;
{&lt;br/&gt;
std::cout&amp;lt;&amp;lt;in&amp;lt;&amp;lt;std::endl;&lt;br/&gt;
}&amp;lt;/bool,&amp;gt;&lt;/p&gt;
&lt;p&gt;void printBlitz(blitz::Array&amp;lt;int, 1=""&amp;gt; &amp;amp;in)&lt;br/&gt;
{&lt;br/&gt;
std::cout&amp;lt;&amp;lt;in&amp;lt;&amp;lt;std::endl;&lt;br/&gt;
}&amp;lt;/int,&amp;gt;&lt;/p&gt;
&lt;p&gt;... and so on&lt;br/&gt;
on the gdb debugger, we can simply call this function as below&lt;/p&gt;
&lt;p&gt;(gdb) call printBlitz(blitz_array_name)&lt;/p&gt;
&lt;p&gt;The issue now is we use many types of multi-dimensional arrays (including complex), we have to make overloads for every possible array&lt;br/&gt;
Could you help suggest how we can overcome this by using templates in c++ for blitz types, something like below&lt;/p&gt;
&lt;p&gt;template &amp;lt;typename t=""&amp;gt;&lt;br/&gt;
void printBlitz(blitz::Array&amp;lt;&amp;lt;t&amp;gt;, 1&amp;gt; &amp;amp;in)&amp;lt;/t&amp;gt;&amp;lt;/typename&amp;gt;&lt;/p&gt;
&lt;p&gt;template &amp;lt;typename t=""&amp;gt;&lt;br/&gt;
void printBlitz(blitz::Array&amp;lt;&amp;lt;t&amp;gt;, 2&amp;gt; &amp;amp;in)&amp;lt;/t&amp;gt;&amp;lt;/typename&amp;gt;&lt;/p&gt;
&lt;p&gt;or if we can template both type and array size, it is only required from a print perspective.&lt;br/&gt;
In parallel, we are finding out how to call c++ template functions via GDB.&lt;/p&gt;
&lt;p&gt;Alternately, if you have any suggestions to directly print the blitz contents via GDB, please let us know.&lt;/p&gt;
&lt;p&gt;This will simplify our debug to a large extent.&lt;br/&gt;
Any suggestion is highly appreciated&lt;/p&gt;
&lt;p&gt;Thank you so much in advance !!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CutePoison</dc:creator><pubDate>Sat, 09 May 2020 07:01:41 -0000</pubDate><guid>https://sourceforge.netfb85c2ad5cdfab9c484c7e993bd2fc9ea1f669d8</guid></item><item><title>printing blitz arrays via GDB</title><link>https://sourceforge.net/p/blitz/support-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 4 has been modified: printing blitz arrays via GDB&lt;br/&gt;
Edited By: Sylwester Arabas (slayoo)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CutePoison</dc:creator><pubDate>Sat, 09 May 2020 07:01:41 -0000</pubDate><guid>https://sourceforge.net3f4cde6c7b24ebaa39e1d26389a9bb8f012d0411</guid></item><item><title>segmentation fault while creating an array</title><link>https://sourceforge.net/p/blitz/support-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I get a segmentation error in this line:&lt;/p&gt;
&lt;p&gt;Array&amp;lt;double,2&amp;gt; arr_diff(m_iPixels, 3);&lt;/p&gt;
&lt;p&gt;while m_iPixels being a member variable of the class in&lt;br /&gt;
which this line is used. its value is in the range of&lt;br /&gt;
1000 to 100000.&lt;/p&gt;
&lt;p&gt;It crashes in line 62 of Storage.h:&lt;/p&gt;
&lt;p&gt;GeneralArrayStorage()&lt;br /&gt;
{&lt;br /&gt;
for (int i=0; i &amp;lt; N_rank; ++i)&lt;br /&gt;
ordering_(i) = N_rank - 1 - i;&lt;br /&gt;
ascendingFlag_ = true;&lt;br /&gt;
base_ = 0;                 &amp;lt;-------&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;The debugger shows: data_= 3, 3&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 10 May 2006 10:04:53 -0000</pubDate><guid>https://sourceforge.net965e0ea31bd00b32c9e024ffd7878b00435946d6</guid></item><item><title>Problem linking VS2005 Express Edition</title><link>https://sourceforge.net/p/blitz/support-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br /&gt;
I'm trying to build the Blitz++ library in VS2005, &lt;br /&gt;
using Jan Kuiken's Visual C++ 2005 Express &lt;br /&gt;
Edition .sln. I compile the solution without errors &lt;br /&gt;
but in the linking process I get:&lt;/p&gt;
&lt;p&gt;LINK : fatal error LNK1104: cannot open &lt;br /&gt;
file '../release/blitz.lib'&lt;/p&gt;
&lt;p&gt;How can I solve the problem?&lt;/p&gt;
&lt;p&gt;Thanks!!&lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rafa_callejas</dc:creator><pubDate>Wed, 12 Apr 2006 05:11:56 -0000</pubDate><guid>https://sourceforge.net2485c911dc8b37f50e82e2aead98f94100d10dc9</guid></item><item><title>Install for Mac OS X</title><link>https://sourceforge.net/p/blitz/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Does anyone have an install script or tips to build Blitz++ &lt;br /&gt;
on Mac OS X?&lt;/p&gt;
&lt;p&gt;configure went fine, as did make check-testsuite but make &lt;br /&gt;
failed here:&lt;br /&gt;
=============================&lt;br /&gt;
texi2dvi `test -f 'blitz.texi' || echo './'`blitz.texi&lt;br /&gt;
stdin:50: warning: @menu seen before first @node, &lt;br /&gt;
creating `Top' node.&lt;br /&gt;
stdin:50: warning: perhaps your @top node should be &lt;br /&gt;
wrapped in @ifnottex rather than @ifinfo?.&lt;br /&gt;
./arrays-stencils.texi:299: Unknown command `nabla'.&lt;br /&gt;
./arrays-stencils.texi:321: Unknown command `nabla'.&lt;br /&gt;
./arrays-stencils.texi:393: Unknown command `nabla'.&lt;br /&gt;
./arrays-stencils.texi:393: Unknown command `times'.&lt;br /&gt;
./arrays-stencils.texi:441: Unknown command `nabla'.&lt;br /&gt;
./arrays-stencils.texi:441: Unknown command `cdot'.&lt;br /&gt;
stdin:50: Next field of node `Top' not pointed to.&lt;br /&gt;
./about.texi:2: This node (about) has the bad Prev.&lt;br /&gt;
/usr/bin/texi2dvi: tex: command not found&lt;br /&gt;
/usr/bin/texi2dvi: tex exited with bad status, quitting.&lt;br /&gt;
/usr/bin/texi2dvi: see blitz.log for errors.&lt;br /&gt;
make[2]: *** [blitz.dvi] Error 1&lt;br /&gt;
make[1]: *** [all-recursive] Error 1&lt;br /&gt;
make: *** [all-recursive] Error 1&lt;/p&gt;
&lt;h1 id="make-check-examples-failed-here"&gt;make check-examples failed here:&lt;/h1&gt;
&lt;p&gt;/bin/sh ../libtool --mode=link g++     -o array  array.o -L../&lt;br /&gt;
lib -lblitz -lm &lt;br /&gt;
libtool: link: cannot find the library `'&lt;br /&gt;
make[1]: *** [array] Error 1&lt;br /&gt;
make: *** [check-examples] Error 1&lt;/p&gt;
&lt;h1 id="make-check-benchmarks-failed-here"&gt;make check-benchmarks failed here:&lt;/h1&gt;
&lt;p&gt;c -o fdaxpy.o `test -f 'fdaxpy.f' || echo './'`fdaxpy.f&lt;br /&gt;
/bin/sh: c: command not found&lt;br /&gt;
make[1]: [fdaxpy.o] Error 127 (ignored)&lt;br /&gt;
c -o fidaxpy.o `test -f 'fidaxpy.f' || echo './'`fidaxpy.f&lt;br /&gt;
/bin/sh: c: command not found&lt;br /&gt;
make[1]: [fidaxpy.o] Error 127 (ignored)&lt;br /&gt;
/bin/sh ../libtool --mode=link g++ -I..   -O2 -funroll-loops   &lt;br /&gt;
-o daxpy  daxpy.o fdaxpy.o fidaxpy.o  -L../lib -lblitz -lm &lt;br /&gt;
mkdir .libs&lt;br /&gt;
libtool: link: cannot find the library `'&lt;br /&gt;
make[1]: *** [daxpy] Error 1&lt;br /&gt;
make: *** [check-benchmarks] Error 1&lt;/p&gt;
&lt;p&gt;I'm not a UNIX/binutils Guru so if anyone has any ideas &lt;br /&gt;
then please let me know.&lt;/p&gt;
&lt;p&gt;Michael (mwh_acs@hotmail.com)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 06 Apr 2004 15:22:15 -0000</pubDate><guid>https://sourceforge.net1116a5325448afd96eebc14aab8f5d8135e18713</guid></item></channel></rss>