discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Trouble with gnuradio and AMD32


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Trouble with gnuradio and AMD32
Date: Sun, 3 Jun 2012 10:55:30 -0400

On Fri, Jun 1, 2012 at 3:12 PM, Igor Volodin <address@hidden> wrote:
> Hello, all
>
> My configuration:
> Linux Xubuntu 12.04
> AMD Athlon XP 2400
> Linux ghost32 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:51:22 UTC 2012
> i686 athlon i386 GNU/Linux
>
>
>
> I am compiled latest version of gnuradio, and tried to run simple grc file:
> http://superkuh.com/simplest.grc , and got following error:
>
>
> (python:3350): GLib-GObject-CRITICAL **: g_param_spec_double: assertion
> `default_value >= minimum && default_value <= maximum' failed
>
> (python:3350): GLib-GObject-CRITICAL **: g_object_class_install_property:
> assertion `G_IS_PARAM_SPEC (pspec)' failed
>
> (python:3350): GLib-GObject-WARNING **: g_object_notify: object class
> `GdkScreenX11' has no property named `resolution'
> Using Volk machine: generic
> Traceback (most recent call last):
>  File "./top_block.py", line 131, in <module>
>    tb = top_block()
>  File "./top_block.py", line 79, in __init__
>    peak_hold=False,
>  File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/fftsink_gl.py",
> line 89, in __init__
>    win=win,
>  File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/blks2impl/logpwrfft.py",
> line 57, in __init__
>    c2magsq = gr.complex_to_mag_squared(fft_size)
>  File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_general.py",
> line 3838, in complex_to_mag_squared
>    return _gnuradio_core_general.complex_to_mag_squared(vlen)
> RuntimeError: gr_block::set_alignment_multiple
> [Inferior 1 (process 3350) exited with code 01]
>
> Then I compiled the program with debugging symbols, and started in the
> debugger:
>
> (gdb) s
> Single stepping until exit from function Py_Main,
> which has no line number information.
> 0x0805e78b in main ()
> (gdb) bt
> #0  0x0805e78b in main ()
> (gdb) l
> 11    //  detail/sp_counted_base_gcc_x86.hpp - g++ on 486+ or AMD64
> 12    //
> 13    //  Copyright (c) 2001, 2002, 2003 Peter Dimov and Multi Media Ltd.
> 14    //  Copyright 2004-2005 Peter Dimov
> 15    //
> 16    //  Distributed under the Boost Software License, Version 1.0. (See
> 17    //  accompanying file LICENSE_1_0.txt or copy at
> 18    //  http://www.boost.org/LICENSE_1_0.txt)
> 19    //
> 20    //
> (gdb) n
> Single stepping until exit from function main,
> which has no line number information.
> 0x006b94d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
> (gdb) l
> 21    //  Lock-free algorithm by Alexander Terekhov
> 22    //
> 23    //  Thanks to Ben Hitchings for the #weak + (#shared != 0)
> 24    //  formulation
> 25    //
> 26
> 27    #include <boost/detail/sp_typeinfo.hpp>
> 28
> 29    namespace boost
> 30    {
> (gdb) n
> Single stepping until exit from function __libc_start_main,
> which has no line number information.
> [Inferior 1 (process 3367) exited with code 01]
>
> My problem is like this:
> http://lists.gnu.org/archive/html/discuss-gnuradio/2012-03/msg00294.html
> Then i run volk_profile, and got this errors:
>
> Using Volk machine: generic
> RUN_VOLK_TESTS: volk_32fc_s32fc_rotatorpuppet_32fc_a
> no architectures to test
> RUN_VOLK_TESTS: volk_16ic_s32f_deinterleave_real_32f_a
> no architectures to test
> RUN_VOLK_TESTS: volk_16ic_deinterleave_real_8i_a
> no architectures to test
> RUN_VOLK_TESTS: volk_16ic_deinterleave_16i_x2_a
> no architectures to test
> RUN_VOLK_TESTS: volk_16ic_s32f_deinterleave_32f_x2_a
> no architectures to test
> RUN_VOLK_TESTS: volk_16ic_deinterleave_real_16i_a
> no architectures to test
> RUN_VOLK_TESTS: volk_16ic_magnitude_16i_a
> no architectures to test
> RUN_VOLK_TESTS: volk_16ic_s32f_magnitude_32f_a
> no architectures to test
> RUN_VOLK_TESTS: volk_16i_s32f_convert_32f_a
> no architectures to test
> RUN_VOLK_TESTS: volk_16i_s32f_convert_32f_u
> no architectures to test
> RUN_VOLK_TESTS: volk_16i_convert_8i_a
> no architectures to test
> RUN_VOLK_TESTS: volk_16i_convert_8i_u
>
>
> Best regards, Igor

Igor,
After running volk_profile, can you retry your GRC program? It looks
like what's happening is that because your processor is so old, there
are no Volk kernels available for it, so it only has the 'generic'
version to run at any time. If you open up $(HOME)/.volk/volk_config,
it should be filled with "<kernel> generic' to tell the volk library
to only every run a generic kernel.

If that's still not working for you after volk_profile has run, then
something with that processor is confusing Volk. Otherwise, the bug in
the post you pointed towards with the volk_32fc_x2_multiply_32fc_a has
been fixed and the output of your GDB here isn't really telling me
anything. We'll have to look deeper.

Thanks,
Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]