Re: [Discuss-gnuradio] ERROR DURING GR-GFDM INSTALLATION BLOCKS IN GNURADIO.

2018-04-05 Thread Andrej Rode
Hi guys, 

thanks for the interest in gr-gfdm. 
I recently added the check for a volk version >= 1.3 due to otherwise
missing  `volk_32f_index_max_32u`. 
Thus you need volk 1.3 or higher to succesfully run gr-gfdm. 

As outlined the commpy python module is needed as well. Though it should
be easy to replace it with GNU Radio Python bindings if
necessary.

Feel free to file issues/contribute code at https://github.com/kit-cel/gr-gfdm/

Cheers
Andrej


On Wed, Apr 04, 2018 at 10:55:19PM -0400, Michael Dickens wrote:
> Hi Elkin - Reviewing the files "CMakeLists.txt" and
> "lib/CMakeLists.txt", it seems as though Volk is requested but not
> required, and then not used:{{{
> % find . -name CMakeLists.txt -exec grep -i volk {} +
> ./CMakeLists.txt:find_package(Volk "1.3")
> }}}
> Also, FFTW3f is used internally in the C++ code, but is not checked for
> or linked against. Those are pretty easy additions to those
> CMakeLists.txt files ... look at (for example, respectively of Volk and
> FFTW3f) gr-ieee802-15-4 and gr-iqbal. As already pointed out, you'll
> need to remove the "1.3" from the Volk check, since Volk API 1.3 isn't
> necessarily backward compatible with the 1.4 API; for the needs of gr-
> gfdm, either 1.3 or 1.4 seem to work. You also need the Python commpy
> package for testing. Hope this is useful. - MLD
> On Wed, Apr 4, 2018, at 5:24 PM, Elkin Ducuara wrote:
> > Hi everybody, I am trying to install "gr-gfdm" downloaded from GitHub,
> > I follow step by step installation process but when I execute the line
> > command "make test" got the next errors.> 
> > "user@USER:~/gr-gfdm/build$ make test
> > Running tests...
> > Test project /home/user/gr-gfdm/build
> >   Start  1: test_gfdm
> >  1/16 Test  #1: test_gfdm    Passed
> >0.05 sec>   Start  2: qa_modulator_cc
> >  2/16 Test  #2: qa_modulator_cc ..***Failed
> >0.33 sec>   Start  3: qa_sync_cc
> >  3/16 Test  #3: qa_sync_cc ...***Failed
> >0.21 sec>   Start  4: qa_cyclic_prefixer_cc
> >  4/16 Test  #4: qa_cyclic_prefixer_cc ***Failed
> >0.19 sec>   Start  5: qa_simple_modulator_cc
> >  5/16 Test  #5: qa_simple_modulator_cc ...***Failed
> >0.18 sec>   Start  6: qa_transmitter_chain_cc
> >  6/16 Test  #6: qa_transmitter_chain_cc ..***Failed
> >0.18 sec>   Start  7: qa_simple_receiver_cc
> >  7/16 Test  #7: qa_simple_receiver_cc ***Failed
> >0.18 sec>   Start  8: qa_advanced_receiver_sb_cc
> >  8/16 Test  #8: qa_advanced_receiver_sb_cc ...***Failed
> >0.32 sec>   Start  9: qa_resource_mapper_cc
> >  9/16 Test  #9: qa_resource_mapper_cc ***Failed
> >0.21 sec>   Start 10: qa_frame_energy_detector_cc
> > 10/16 Test #10: qa_frame_energy_detector_cc ..***Failed
> >0.18 sec>   Start 11: qa_simple_preamble_sync_cc
> > 11/16 Test #11: qa_simple_preamble_sync_cc ...***Failed
> >0.19 sec>   Start 12: qa_resource_demapper_cc
> > 12/16 Test #12: qa_resource_demapper_cc ..***Failed
> >0.18 sec>   Start 13: qa_remove_prefix_cc
> > 13/16 Test #13: qa_remove_prefix_cc ..***Failed
> >0.21 sec>   Start 14: qa_extract_burst_cc
> > 14/16 Test #14: qa_extract_burst_cc ..***Failed
> >0.20 sec>   Start 15: qa_py_channel_estimator_cc
> > 15/16 Test #15: qa_py_channel_estimator_cc ...   Passed
> >0.72 sec>   Start 16: qa_channel_estimator_cc
> > 16/16 Test #16: qa_channel_estimator_cc ..***Failed
> >0.18 sec> 
> > 13% tests passed, 14 tests failed out of 16
> > 
> > Total Test time (real) =   3.74 sec
> > 
> > The following tests FAILED:
> >   2 - qa_modulator_cc (Failed)
> >   3 - qa_sync_cc (Failed)
> >   4 - qa_cyclic_prefixer_cc (Failed)
> >   5 - qa_simple_modulator_cc (Failed)
> >   6 - qa_transmitter_chain_cc (Failed)
> >   7 - qa_simple_receiver_cc (Failed)
> >   8 - qa_advanced_receiver_sb_cc (Failed)
> >   9 - qa_resource_mapper_cc (Failed)
> >  10 - qa_frame_energy_detector_cc (Failed)
> >  11 - qa_simple_preamble_sync_cc (Failed)
> >  12 - qa_resource_demapper_cc (Failed)
> >  13 - qa_remove_prefix_cc (Failed)
> >  14 - qa_extract_burst_cc (Failed)
> >  16 - qa_channel_estimator_cc (Failed)
> > Errors while running CTest
> > Makefile:127: fallo en las instrucciones para el objetivo 'test'
> > make: *** [test] Error 8"
> > 
> > 
> > For show the cause of error of an specific item (for example "5 -
> > qa_simple_modulator_cc") I trying with the command line "ctest -V -R
> > qa_simple_modulator_cc" and the result is the next:> 
> > "user@USER:~/gr-gfdm/build$ ctest -V -R qa_simple_modulator_cc
> > UpdateCTestConfiguration  from :/home/user/gr-
> > gfdm/build/DartConfiguration.tcl> UpdateCTestConfiguration  from 
> > :/home/user/gr-
> > gfdm/build/DartConfiguration.tcl> Test project /home/user/gr-gfdm/build
> > Constructing 

Re: [Discuss-gnuradio] ERROR DURING GR-GFDM INSTALLATION BLOCKS IN GNURADIO.

2018-04-04 Thread Michael Dickens
Hi Elkin - Reviewing the files "CMakeLists.txt" and
"lib/CMakeLists.txt", it seems as though Volk is requested but not
required, and then not used:{{{
% find . -name CMakeLists.txt -exec grep -i volk {} +
./CMakeLists.txt:find_package(Volk "1.3")
}}}
Also, FFTW3f is used internally in the C++ code, but is not checked for
or linked against. Those are pretty easy additions to those
CMakeLists.txt files ... look at (for example, respectively of Volk and
FFTW3f) gr-ieee802-15-4 and gr-iqbal. As already pointed out, you'll
need to remove the "1.3" from the Volk check, since Volk API 1.3 isn't
necessarily backward compatible with the 1.4 API; for the needs of gr-
gfdm, either 1.3 or 1.4 seem to work. You also need the Python commpy
package for testing. Hope this is useful. - MLD
On Wed, Apr 4, 2018, at 5:24 PM, Elkin Ducuara wrote:
> Hi everybody, I am trying to install "gr-gfdm" downloaded from GitHub,
> I follow step by step installation process but when I execute the line
> command "make test" got the next errors.> 
> "user@USER:~/gr-gfdm/build$ make test
> Running tests...
> Test project /home/user/gr-gfdm/build
>   Start  1: test_gfdm
>  1/16 Test  #1: test_gfdm    Passed
>0.05 sec>   Start  2: qa_modulator_cc
>  2/16 Test  #2: qa_modulator_cc ..***Failed
>0.33 sec>   Start  3: qa_sync_cc
>  3/16 Test  #3: qa_sync_cc ...***Failed
>0.21 sec>   Start  4: qa_cyclic_prefixer_cc
>  4/16 Test  #4: qa_cyclic_prefixer_cc ***Failed
>0.19 sec>   Start  5: qa_simple_modulator_cc
>  5/16 Test  #5: qa_simple_modulator_cc ...***Failed
>0.18 sec>   Start  6: qa_transmitter_chain_cc
>  6/16 Test  #6: qa_transmitter_chain_cc ..***Failed
>0.18 sec>   Start  7: qa_simple_receiver_cc
>  7/16 Test  #7: qa_simple_receiver_cc ***Failed
>0.18 sec>   Start  8: qa_advanced_receiver_sb_cc
>  8/16 Test  #8: qa_advanced_receiver_sb_cc ...***Failed
>0.32 sec>   Start  9: qa_resource_mapper_cc
>  9/16 Test  #9: qa_resource_mapper_cc ***Failed
>0.21 sec>   Start 10: qa_frame_energy_detector_cc
> 10/16 Test #10: qa_frame_energy_detector_cc ..***Failed
>0.18 sec>   Start 11: qa_simple_preamble_sync_cc
> 11/16 Test #11: qa_simple_preamble_sync_cc ...***Failed
>0.19 sec>   Start 12: qa_resource_demapper_cc
> 12/16 Test #12: qa_resource_demapper_cc ..***Failed
>0.18 sec>   Start 13: qa_remove_prefix_cc
> 13/16 Test #13: qa_remove_prefix_cc ..***Failed
>0.21 sec>   Start 14: qa_extract_burst_cc
> 14/16 Test #14: qa_extract_burst_cc ..***Failed
>0.20 sec>   Start 15: qa_py_channel_estimator_cc
> 15/16 Test #15: qa_py_channel_estimator_cc ...   Passed
>0.72 sec>   Start 16: qa_channel_estimator_cc
> 16/16 Test #16: qa_channel_estimator_cc ..***Failed
>0.18 sec> 
> 13% tests passed, 14 tests failed out of 16
> 
> Total Test time (real) =   3.74 sec
> 
> The following tests FAILED:
>   2 - qa_modulator_cc (Failed)
>   3 - qa_sync_cc (Failed)
>   4 - qa_cyclic_prefixer_cc (Failed)
>   5 - qa_simple_modulator_cc (Failed)
>   6 - qa_transmitter_chain_cc (Failed)
>   7 - qa_simple_receiver_cc (Failed)
>   8 - qa_advanced_receiver_sb_cc (Failed)
>   9 - qa_resource_mapper_cc (Failed)
>  10 - qa_frame_energy_detector_cc (Failed)
>  11 - qa_simple_preamble_sync_cc (Failed)
>  12 - qa_resource_demapper_cc (Failed)
>  13 - qa_remove_prefix_cc (Failed)
>  14 - qa_extract_burst_cc (Failed)
>  16 - qa_channel_estimator_cc (Failed)
> Errors while running CTest
> Makefile:127: fallo en las instrucciones para el objetivo 'test'
> make: *** [test] Error 8"
> 
> 
> For show the cause of error of an specific item (for example "5 -
> qa_simple_modulator_cc") I trying with the command line "ctest -V -R
> qa_simple_modulator_cc" and the result is the next:> 
> "user@USER:~/gr-gfdm/build$ ctest -V -R qa_simple_modulator_cc
> UpdateCTestConfiguration  from :/home/user/gr-
> gfdm/build/DartConfiguration.tcl> UpdateCTestConfiguration  from 
> :/home/user/gr-
> gfdm/build/DartConfiguration.tcl> Test project /home/user/gr-gfdm/build
> Constructing a list of tests
> Done constructing a list of tests
> Checking test dependency graph...
> Checking test dependency graph end
> test 5
> Start 5: qa_simple_modulator_cc
> 
> 5: Test command: /bin/sh "/home/user/gr-
>gfdm/build/python/qa_simple_modulator_cc_test.sh"> 5: Test timeout 
> computed to be: 9.99988e+06
> 5: Traceback (most recent call last):
> 5:   File "/home/user/gr-gfdm/python/qa_simple_modulator_cc.py", line
>  24, in > 5: import gfdm_swig as gfdm
> 5:   File "/home/user/gr-gfdm/build/swig/gfdm_swig.py", line 28, in
>  > 5: _gfdm_swig = swig_import_helper()
> 5:   File "/home/user/gr-gfdm/build/swig/gfdm_swig.py", line 24, in
>  

Re: [Discuss-gnuradio] ERROR DURING GR-GFDM INSTALLATION BLOCKS IN GNURADIO.

2018-04-04 Thread Cinaed Simson
Hi - the tests work from me for version 3.7.12 using VOLK 1.4.

I did have to hack the CMakeLists.txt to change the hardwired versions
of gnuradio and VOLK so it would build.

I haven't tried to use it yet.

My guess is you're not picking up commpy - start up python and try

  import commpy

-- Cinaed


root@alfven:/opt/gnuradio/src/gr-oot/gr-gfdm/build# make test
Running tests...
Test project /opt/gnuradio/src/gr-oot/gr-gfdm/build
  Start  1: test_gfdm
 1/16 Test  #1: test_gfdm    Passed0.01 sec
  Start  2: qa_modulator_cc
 2/16 Test  #2: qa_modulator_cc ..   Passed0.29 sec
  Start  3: qa_sync_cc
 3/16 Test  #3: qa_sync_cc ...   Passed0.95 sec
  Start  4: qa_cyclic_prefixer_cc
 4/16 Test  #4: qa_cyclic_prefixer_cc    Passed0.38 sec
  Start  5: qa_simple_modulator_cc
 5/16 Test  #5: qa_simple_modulator_cc ...   Passed0.42 sec
  Start  6: qa_transmitter_chain_cc
 6/16 Test  #6: qa_transmitter_chain_cc ..   Passed0.40 sec
  Start  7: qa_simple_receiver_cc
 7/16 Test  #7: qa_simple_receiver_cc    Passed0.36 sec
  Start  8: qa_advanced_receiver_sb_cc
 8/16 Test  #8: qa_advanced_receiver_sb_cc ...   Passed0.80 sec
  Start  9: qa_resource_mapper_cc
 9/16 Test  #9: qa_resource_mapper_cc    Passed0.56 sec
  Start 10: qa_frame_energy_detector_cc
10/16 Test #10: qa_frame_energy_detector_cc ..   Passed0.20 sec
  Start 11: qa_simple_preamble_sync_cc
11/16 Test #11: qa_simple_preamble_sync_cc ...   Passed0.76 sec
  Start 12: qa_resource_demapper_cc
12/16 Test #12: qa_resource_demapper_cc ..   Passed0.22 sec
  Start 13: qa_remove_prefix_cc
13/16 Test #13: qa_remove_prefix_cc ..   Passed0.65 sec
  Start 14: qa_extract_burst_cc
14/16 Test #14: qa_extract_burst_cc ..   Passed0.69 sec
  Start 15: qa_py_channel_estimator_cc
15/16 Test #15: qa_py_channel_estimator_cc ...   Passed0.35 sec
  Start 16: qa_channel_estimator_cc
16/16 Test #16: qa_channel_estimator_cc ..   Passed0.19 sec

100% tests passed, 0 tests failed out of 16

Total Test time (real) =   7.25 sec
root@alfven:/opt/gnuradio/src/gr-oot/gr-gfdm/build#



On 04/04/2018 02:24 PM, Elkin Ducuara wrote:
> Hi everybody, I am trying to install "gr-gfdm" downloaded from GitHub, I
> follow step by step installation process but when I execute the line
> command "make test" got the next errors.
> 
> "user@USER:~/gr-gfdm/build$ make test
> Running tests...
> Test project /home/user/gr-gfdm/build
>   Start  1: test_gfdm
>  1/16 Test  #1: test_gfdm    Passed    0.05 sec
>   Start  2: qa_modulator_cc
>  2/16 Test  #2: qa_modulator_cc ..***Failed    0.33 sec
>   Start  3: qa_sync_cc
>  3/16 Test  #3: qa_sync_cc ...***Failed    0.21 sec
>   Start  4: qa_cyclic_prefixer_cc
>  4/16 Test  #4: qa_cyclic_prefixer_cc ***Failed    0.19 sec
>   Start  5: qa_simple_modulator_cc
>  5/16 Test  #5: qa_simple_modulator_cc ...***Failed    0.18 sec
>   Start  6: qa_transmitter_chain_cc
>  6/16 Test  #6: qa_transmitter_chain_cc ..***Failed    0.18 sec
>   Start  7: qa_simple_receiver_cc
>  7/16 Test  #7: qa_simple_receiver_cc ***Failed    0.18 sec
>   Start  8: qa_advanced_receiver_sb_cc
>  8/16 Test  #8: qa_advanced_receiver_sb_cc ...***Failed    0.32 sec
>   Start  9: qa_resource_mapper_cc
>  9/16 Test  #9: qa_resource_mapper_cc ***Failed    0.21 sec
>   Start 10: qa_frame_energy_detector_cc
> 10/16 Test #10: qa_frame_energy_detector_cc ..***Failed    0.18 sec
>   Start 11: qa_simple_preamble_sync_cc
> 11/16 Test #11: qa_simple_preamble_sync_cc ...***Failed    0.19 sec
>   Start 12: qa_resource_demapper_cc
> 12/16 Test #12: qa_resource_demapper_cc ..***Failed    0.18 sec
>   Start 13: qa_remove_prefix_cc
> 13/16 Test #13: qa_remove_prefix_cc ..***Failed    0.21 sec
>   Start 14: qa_extract_burst_cc
> 14/16 Test #14: qa_extract_burst_cc ..***Failed    0.20 sec
>   Start 15: qa_py_channel_estimator_cc
> 15/16 Test #15: qa_py_channel_estimator_cc ...   Passed    0.72 sec
>   Start 16: qa_channel_estimator_cc
> 16/16 Test #16: qa_channel_estimator_cc ..***Failed    0.18 sec
> 
> 13% tests passed, 14 tests failed out of 16
> 
> Total Test time (real) =   3.74 sec
> 
> The following tests FAILED:
>       2 - qa_modulator_cc (Failed)
>       3 - qa_sync_cc (Failed)
>       4 - qa_cyclic_prefixer_cc (Failed)
>       5 - qa_simple_modulator_cc (Failed)
>       6 - qa_transmitter_chain_cc (Failed)
>       7 - qa_simple_receiver_cc (Failed)
>       8 - qa_advanced_receiver_sb_cc (Failed)
>       9 - qa_resource_mapper_cc (Failed)
>      10 - qa_frame_energy_detector_cc (Failed)
>      

[Discuss-gnuradio] ERROR DURING GR-GFDM INSTALLATION BLOCKS IN GNURADIO.

2018-04-04 Thread Elkin Ducuara
Hi everybody, I am trying to install "gr-gfdm" downloaded from GitHub, I
follow step by step installation process but when I execute the line
command "make test" got the next errors.

"user@USER:~/gr-gfdm/build$ make test
Running tests...
Test project /home/user/gr-gfdm/build
  Start  1: test_gfdm
 1/16 Test  #1: test_gfdm    Passed0.05 sec
  Start  2: qa_modulator_cc
 2/16 Test  #2: qa_modulator_cc ..***Failed0.33 sec
  Start  3: qa_sync_cc
 3/16 Test  #3: qa_sync_cc ...***Failed0.21 sec
  Start  4: qa_cyclic_prefixer_cc
 4/16 Test  #4: qa_cyclic_prefixer_cc ***Failed0.19 sec
  Start  5: qa_simple_modulator_cc
 5/16 Test  #5: qa_simple_modulator_cc ...***Failed0.18 sec
  Start  6: qa_transmitter_chain_cc
 6/16 Test  #6: qa_transmitter_chain_cc ..***Failed0.18 sec
  Start  7: qa_simple_receiver_cc
 7/16 Test  #7: qa_simple_receiver_cc ***Failed0.18 sec
  Start  8: qa_advanced_receiver_sb_cc
 8/16 Test  #8: qa_advanced_receiver_sb_cc ...***Failed0.32 sec
  Start  9: qa_resource_mapper_cc
 9/16 Test  #9: qa_resource_mapper_cc ***Failed0.21 sec
  Start 10: qa_frame_energy_detector_cc
10/16 Test #10: qa_frame_energy_detector_cc ..***Failed0.18 sec
  Start 11: qa_simple_preamble_sync_cc
11/16 Test #11: qa_simple_preamble_sync_cc ...***Failed0.19 sec
  Start 12: qa_resource_demapper_cc
12/16 Test #12: qa_resource_demapper_cc ..***Failed0.18 sec
  Start 13: qa_remove_prefix_cc
13/16 Test #13: qa_remove_prefix_cc ..***Failed0.21 sec
  Start 14: qa_extract_burst_cc
14/16 Test #14: qa_extract_burst_cc ..***Failed0.20 sec
  Start 15: qa_py_channel_estimator_cc
15/16 Test #15: qa_py_channel_estimator_cc ...   Passed0.72 sec
  Start 16: qa_channel_estimator_cc
16/16 Test #16: qa_channel_estimator_cc ..***Failed0.18 sec

13% tests passed, 14 tests failed out of 16

Total Test time (real) =   3.74 sec

The following tests FAILED:
  2 - qa_modulator_cc (Failed)
  3 - qa_sync_cc (Failed)
  4 - qa_cyclic_prefixer_cc (Failed)
  5 - qa_simple_modulator_cc (Failed)
  6 - qa_transmitter_chain_cc (Failed)
  7 - qa_simple_receiver_cc (Failed)
  8 - qa_advanced_receiver_sb_cc (Failed)
  9 - qa_resource_mapper_cc (Failed)
 10 - qa_frame_energy_detector_cc (Failed)
 11 - qa_simple_preamble_sync_cc (Failed)
 12 - qa_resource_demapper_cc (Failed)
 13 - qa_remove_prefix_cc (Failed)
 14 - qa_extract_burst_cc (Failed)
 16 - qa_channel_estimator_cc (Failed)
Errors while running CTest
Makefile:127: fallo en las instrucciones para el objetivo 'test'
make: *** [test] Error 8"


For show the cause of error of an specific item (for example "5 -
qa_simple_modulator_cc") I trying with the command line "ctest -V -R
qa_simple_modulator_cc" and the result is the next:

"user@USER:~/gr-gfdm/build$ ctest -V -R qa_simple_modulator_cc
UpdateCTestConfiguration  from
:/home/user/gr-gfdm/build/DartConfiguration.tcl
UpdateCTestConfiguration  from
:/home/user/gr-gfdm/build/DartConfiguration.tcl
Test project /home/user/gr-gfdm/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 5
Start 5: qa_simple_modulator_cc

5: Test command: /bin/sh
"/home/user/gr-gfdm/build/python/qa_simple_modulator_cc_test.sh"
5: Test timeout computed to be: 9.99988e+06
5: Traceback (most recent call last):
5:   File "/home/user/gr-gfdm/python/qa_simple_modulator_cc.py", line 24,
in 
5: import gfdm_swig as gfdm
5:   File "/home/user/gr-gfdm/build/swig/gfdm_swig.py", line 28, in 
5: _gfdm_swig = swig_import_helper()
5:   File "/home/user/gr-gfdm/build/swig/gfdm_swig.py", line 24, in
swig_import_helper
5: _mod = imp.load_module('_gfdm_swig', fp, pathname, description)
5: ImportError: /home/user/gr-gfdm/build/lib/libgnuradio-gfdm.so: undefined
symbol: volk_32f_index_max_32u
1/1 Test #5: qa_simple_modulator_cc ...***Failed0.18 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.19 sec

The following tests FAILED:
  5 - qa_simple_modulator_cc (Failed)
Errors while running CTest"

Then, How do I for solve the errors during gr-gfdm installation?

PD: I have installed previously the requeriments for gr-gfdm (GNU Radio OOT
and PyGFDM items).

Thank you all.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio