[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] build-gnuradio did not install gnuradio-runtime
From: |
Dincer Beken |
Subject: |
Re: [Discuss-gnuradio] build-gnuradio did not install gnuradio-runtime |
Date: |
Tue, 17 Sep 2013 07:43:30 +0000 |
Hi all,
so I have installed Bastian's Gnu Radio and could build the files. I have not
changed the FindGnuradioRuntime.cmake, because when I ran the cmake with
Bastian's Project there were no errors, and to be honest, I don't know if I
need to overwrite it still (although Make for gr-ieee802-15-14 crashed).
Right now, I don't have anything to do with Bastian's Projekt but still having
trouble with the Gnuradio Code.
When I run a make test I got a %2 error rate with
- qa_fir_filter_test
- qa_freq_xlating_fir_filter_test
- qa_ctcss_squelch
- qa_codec2_covocoder
Tests failing.
I am running a 32 Bit Ubuntu 10.04
For the first 3 tests I got a similar error (only the values change), so I
think that they are a related issue of the data structures:
84: Test command: /bin/sh
/home/openwns/GnuRadioBastian/gnuradio/build/gr-filter/python/filter/qa_fir_filter_test.sh
84: Test timeout computed to be: 9.99988e+06
84: .........FF
84: ======================================================================
84: FAIL: test_fir_filter_scc_001 (__main__.test_filter)
84: ----------------------------------------------------------------------
84: Traceback (most recent call last):
84: File
"/home/openwns/GnuRadioBastian/gnuradio/gr-filter/python/filter/qa_fir_filter.py",
line 260, in test_fir_filter_scc_001
84: self.assertComplexTuplesAlmostEqual(expected_data, result_data, 5)
84: File
"/home/openwns/GnuRadioBastian/gnuradio/gnuradio-runtime/python/gnuradio/gr_unittest.py",
line 74, in assertComplexTuplesAlmostEqual
84: self.assertComplexAlmostEqual (a[i], b[i], places, msg)
84: File
"/home/openwns/GnuRadioBastian/gnuradio/gnuradio-runtime/python/gnuradio/gr_unittest.py",
line 47, in assertComplexAlmostEqual
84: (msg or '%s != %s within %s places' % (`first`, `second`, `places` ))
84: AssertionError: (0.5+1j) != (nan+nan*j) within 5 places
84:
84: ======================================================================
84: FAIL: test_fir_filter_scc_002 (__main__.test_filter)
84: ----------------------------------------------------------------------
84: Traceback (most recent call last):
84: File
"/home/openwns/GnuRadioBastian/gnuradio/gr-filter/python/filter/qa_fir_filter.py",
line 279, in test_fir_filter_scc_002
84: self.assertComplexTuplesAlmostEqual(expected_data, result_data, 5)
84: File
"/home/openwns/GnuRadioBastian/gnuradio/gnuradio-runtime/python/gnuradio/gr_unittest.py",
line 74, in assertComplexTuplesAlmostEqual
84: self.assertComplexAlmostEqual (a[i], b[i], places, msg)
84: File
"/home/openwns/GnuRadioBastian/gnuradio/gnuradio-runtime/python/gnuradio/gr_unittest.py",
line 47, in assertComplexAlmostEqual
84: (msg or '%s != %s within %s places' % (`first`, `second`, `places` ))
84: AssertionError: (0.5+1j) != (nan+nan*j) within 5 places
84:
84: ----------------------------------------------------------------------
84: Ran 11 tests in 0.040s
84:
84: FAILED (failures=2)
84: Using Volk machine: sse4_a_32
1/1 Test #84: qa_fir_filter ....................***Failed 1.06 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 1.14 sec
The following tests FAILED:
84 - qa_fir_filter (Failed)
Errors while running CTest
For the last test qa_codec2_vocoder I got the following error message:
address@hidden:/home/openwns/GnuRadioBastian/gnuradio/build# ctest -V -R
qa_codec2_vocoder
UpdateCTestConfiguration from
:/home/openwns/GnuRadioBastian/gnuradio/build/DartConfiguration.tcl
UpdateCTestConfiguration from
:/home/openwns/GnuRadioBastian/gnuradio/build/DartConfiguration.tcl
Test project /home/openwns/GnuRadioBastian/gnuradio/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
test 166
Start 166: qa_codec2_vocoder
166: Test command: /bin/sh
/home/openwns/GnuRadioBastian/gnuradio/build/gr-vocoder/python/vocoder/qa_codec2_vocoder_test.sh
166: Test timeout computed to be: 9.99988e+06
166: F
166: ======================================================================
166: FAIL: test001_module_load (__main__.test_codec2_vocoder)
166: ----------------------------------------------------------------------
166: Traceback (most recent call last):
166: File
"/home/openwns/GnuRadioBastian/gnuradio/gr-vocoder/python/vocoder/qa_codec2_vocoder.py",
line 54, in test001_module_load
166: self.assertEqual(expected_data, actual_result)
166: AssertionError: (0, 0, 0, 3, 2, 0, 1, 5, 6, 7, 1, -1, 0, -5, -11, -10,
-20, -22, -20, -20, -27, -26, -36, -48, -59, -24, 5, -7, -12, -27, -22, -22,
-16, 13, 20, 39, 23, 25, 8, -6, 15, 44, 97, 135, 145, 125, 94, 102, 126, 129,
165, 192, 180, 132, 99, 79, 73, 83, 72, 47, 40, 0, -32, -46, -67, -99, -123,
-114, -87, -108, -131, -152, -181, -245, -348, -294, -101, -71, -85, -26, 99,
123, 15, 2, 77, 13, -117, -145, -105, -39, -50, -89, -59, -77, -134, -95, -51,
-22, 17, -19, -59, -74, -103, -78, 4, 77, 113, 60, 18, 13, -67, -49, 24, 88,
179, 190, 89, 18, -90, -102, -50, -5, 123, 135, 57, 31, -82, -98, -51, 6, 93,
104, 44, -5, -84, -107, -44, 45, 102, 104, 15, -47, -107, -126, -87, -11, 89,
93, 13, -95, -136, -187, -70, -167, 216, -70, -103, 175, -284, -486) != (0, 0,
0, 3, 2, 0, 1, 5, 6, 7, 1, -1, 0, -5, -11, -10, -20, -22, -20, -20, -27, -26,
-36, -48, -59, -24, 5, -7, -12, -27, -22, -22, -16, 13, 20, 39, 23, 25, 8, -6,
15, 44, 97, 135, 145, 125, 94, 102, 126, 129, 165, 192, 180, 132, 99, 79, 73,
83, 72, 47, 40, 0, -32, -46, -67, -99, -123, -114, -87, -108, -131, -152, -181,
-245, -348, -294, -101, -71, -85, -26, 99, 123, 15, 2, 77, 13, -117, -145,
-105, -39, -50, -89, -59, -77, -134, -95, -51, -22, 17, -19, -59, -74, -103,
-78, 4, 77, 113, 60, 18, 13, -67, -49, 25, 88, 179, 190, 89, 18, -90, -102,
-50, -5, 123, 135, 57, 31, -82, -98, -51, 6, 93, 104, 44, -5, -84, -107, -44,
45, 102, 104, 15, -47, -107, -126, -87, -11, 89, 93, 13, -96, -136, -187, -70,
-167, 216, -70, -103, 175, -284, -486)
166:
166: ----------------------------------------------------------------------
166: Ran 1 test in 0.004s
166:
166: FAILED (failures=1)
1/1 Test #166: qa_codec2_vocoder ................***Failed 0.82 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.88 sec
The following tests FAILED:
166 - qa_codec2_vocoder (Failed)
Unfortunately, I couldn't look in it in detail because I have the feeling it is
a kind of a generic floating point issue.
Could anyone help me fixing this?
And to Nick and Bastian: do I still need to change FindGnuradioRuntime.cmake??
Every help appreciated,
Dincer
-----Ursprüngliche Nachricht-----
Von: Bastian Bloessl [mailto:address@hidden
Gesendet: Montag, 16. September 2013 19:47
An: Nick Foster
Cc: Dincer Beken; address@hidden
Betreff: Re: [Discuss-gnuradio] build-gnuradio did not install gnuradio-runtime
Hi,
On 09/16/2013 06:09 PM, Nick Foster wrote:
> This has been coming up in many other out-of-tree projects. Tom has
> fixed it in master. To fix it for gr-ieee802-15-4, take the latest
> gnuradio/gr-utils/python/modtool/gr-newmod/cmake/Modules/FindGnuradioR
> untime.cmake, and copy it into the cmake/Modules directory of the
> out-of-tree module you're trying to compile. I don't think Bastian's
> custom gnuradio repo has this patch yet, so use the latest master
> branch of the official git repo, or apply the attached patch.
>
> --n
thanks for pointing to that commit.
I am not able to reproduce the error, but I installed current next branch,
created an OOT module with gr_modtool, and copied FindGnuradioRuntime.cmake.
I can just say that it still works for me :)
Hopefully this fixes your problem.
Best,
Bastian
Re: [Discuss-gnuradio] build-gnuradio did not install gnuradio-runtime, Dincer Beken, 2013/09/17