[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Trouble with gnuradio and AMD32
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Trouble with gnuradio and AMD32 |
Date: |
Sat, 09 Jun 2012 16:40:04 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
FYI, in case you want to test this fix. But I think its pretty strait
forward:
http://gnuradio.org/cgit/jblum.git/commit/?h=fix_alignment_issue
-Josh
On 06/05/2012 07:18 AM, Frederick Stevens wrote:
> On 06/01/2012 02:12 PM, Igor Volodin 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
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
> I guess I haven't really checked on things here for a while. I compiled
> 3.5.3.2 (3.6.0 is having issues building, not sure why yet but I don't
> have time right now to dig any deeper.) and gqrx and get the same sort
> of error as Igor with gnuradio_companion and gqrx. Gqrx and grc run
> fine on my intel atom 32 bit system. On any of my AMD32 machines, I get
> this error.
>
> Below is the output of grc:
>
> Using Volk machine: generic
> Traceback (most recent call last):
> File "/home/fred/gnuradio/top_block.py", line 154, in <module>
> tb = top_block()
> File "/home/fred/gnuradio/top_block.py", line 95, in __init__
> self.gr_multiply_xx_1 = gr.multiply_vff(1)
> File
> "/usr/lib/python2.6/site-packages/gnuradio/gr/gnuradio_core_general.py",
> line 8642, in multiply_ff
> return _gnuradio_core_general.multiply_ff(vlen)
> RuntimeError: gr_block::set_alignment_multiple
>
> Here is the output from gqrx:
>
>>>> gr_fir_ccc: using 3DNow!Ext
> Using Volk machine: generic
> terminate called after throwing an instance of 'std::invalid_argument'
> what(): gr_block::set_alignment_multiple
> Aborted
>
> volk_profile gives the same error as previous.
>
> Cheers,
>
> Fred
>
>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Trouble with gnuradio and AMD32, Tom Rondeau, 2012/06/07