Re: [Discuss-gnuradio] ModuleNotFoundError

2019-07-22 Thread Ron Economos
The PYTHONPATH should be: /usr/local/lib/python3.7/dist-packages The LD_LIBRARY_PATH should be: /usr/local/lib A couple more notes. Make sure you do a sudo ldconfig after the build. Also, there was a bug in the 3.8.0.0-rc1 tag. Make sure you build the latest 3.8.0.0-rc2 tag (or anything

[Discuss-gnuradio] ModuleNotFoundError

2019-07-22 Thread Barry Duggan
Now that I have built and installed gnuradio on a Raspberry Pi, I am getting the following screen when I try to start gnuradio-companion: """ ModuleNotFoundError Cannot import gnuradio. Is the model path environment variable set correctly? Is the library path environment variable set

Re: [Discuss-gnuradio] Build GR 3.8 from source

2019-07-22 Thread Ron Economos
You need scipy for the polar code tests. Not sure about the qa_pmt failure. sudo apt-get install python3-scipy Ron On 7/22/19 13:51, Barry Duggan wrote: Hi Michael, Success! Based on Ron's suggestion, I was able to finish the last half of the make in 3 hours. Then I did a 'make test' and

Re: [Discuss-gnuradio] Build GR 3.8 from source

2019-07-22 Thread Ron Economos
Looks like dphys-swapfile is an alternative way to configure a swap file. I'll guess my "classic" way will still work though. You can test things with the following commands: swapon -s or free I would reboot and see if dphys-swapfile (or any swap space) is active with swapon -s or free.

Re: [Discuss-gnuradio] Build GR 3.8 from source

2019-07-22 Thread Michael Dickens
Hi Barry - That's great! You're very welcome! Good luck with your GR work! - MLD On Mon, Jul 22, 2019, at 4:51 PM, Barry Duggan wrote: > Hi Michael, > > Success! Based on Ron's suggestion, I was able to finish the last half > of the make in 3 hours. > > Then I did a 'make test' and got the

Re: [Discuss-gnuradio] Build GR 3.8 from source

2019-07-22 Thread Barry Duggan
Hi Michael, Success! Based on Ron's suggestion, I was able to finish the last half of the make in 3 hours. Then I did a 'make test' and got the following failures: """ 98% tests passed, 6 tests failed out of 362 Total Test time (real) = 1465.99 sec The following tests FAILED: 150 -

Re: [Discuss-gnuradio] Build GR 3.8 from source

2019-07-22 Thread Barry Duggan
Hi Ron, Thank you for your excellent suggestion! I was able finish the last half of the make in 3 hours with no problems :) In looking at your suggestion to make it permanent, I am concerned about the comments in fstab: """ proc/proc procdefaults 0

Re: [Discuss-gnuradio] pybombs gnuradio install and sudo

2019-07-22 Thread Marcus D Leech
Because your PYTHONPATH and other environment variables aren’t inherited by a sudo shell by default. Use the -E option to sudo. Sent from my iPhone > On Jul 22, 2019, at 11:54 AM, Müller, Marcus (CEL) wrote: > > Your sudo call resets the environment, and that includes things like >

Re: [Discuss-gnuradio] Can't create Out of Tree Tagged Stream Blocks?

2019-07-22 Thread Michael Dickens
Hi DL - One possible option that I think would handle both TDMA and FDMA and 2 streams of data: use a PFB with 2 channels (or 2 separate rotators / filters), to create 2 parallel paths each at baseband. Each path represents complex data that was modulated at some frequency and bandwidth & is

Re: [Discuss-gnuradio] Can't create Out of Tree Tagged Stream Blocks?

2019-07-22 Thread Lundberg, Daniel via Discuss-gnuradio
Hi, thanks. To elaborate a bit… I need to be able to absolutely align the start of two signals and add them in an FDMA sense (so I will construct the signals in different parts of the band and just add them together as complex numbers). The receiving system requires that I do the alignment

Re: [Discuss-gnuradio] Can't create Out of Tree Tagged Stream Blocks?

2019-07-22 Thread Michael Dickens
Hi DL - 2 primary thoughts: 1) To "create" a tagged stream block in your OOT using gr_modtool (if it doesn't do that as you desire), find an already existing tagged_stream block that you understand the programming of. Use gr_modtool to create a new "sync" block, then copy/paste from the

Re: [Discuss-gnuradio] pybombs gnuradio install and sudo

2019-07-22 Thread CEL
Your sudo call resets the environment, and that includes things like PYTHONPATH, PATH and LD_LIBRARY_PATH. You need to add the right options to sudo. I'll carefully point out that the code in tuntap_pdu isn't really safe by any means. You generally should probably avoid running GNU Radio as

[Discuss-gnuradio] Can't create Out of Tree Tagged Stream Blocks?

2019-07-22 Thread Lundberg, Daniel via Discuss-gnuradio
I am working within Gnuradio version 3.7.13.4. As far as I can tell, gr_modtool does not support tagged stream blocks for either python or C++. Trying to make a new tagged stream block in C++ will create QA code, but does not make files for the actual block. For python it will throw a hard

[Discuss-gnuradio] pybombs gnuradio install and sudo

2019-07-22 Thread sumit kumar
Hi, When I try to run any gnuradio program with sudo (inside pybombs environment), it simply throws the error *ImportError: No module named gnuradio* For example when I try to run tunnel based programs, which need ioctl calls and hence sudo or root. Without sudo it says operation not permitted

[Discuss-gnuradio] [GSoC19] Weekly report of Verilog simulation phase 2 week 3

2019-07-22 Thread Bowen Hu
Hi all, ​ You can find my weekly report here(https://b0wen-hu.github.io/2019/07/21/GSoC-weekly-report-P2W3/).​ ​ The following content is the abstract of report,

[Discuss-gnuradio] [job posting] Looking for Researchers for 5G SDR work @ANT/Uni Bremen

2019-07-22 Thread Johannes Demel
Hi all, I'd like to let you know that we have open positions for SDR-related work at our department [0]. The goal would be to eventually graduate as a PhD (Dr.-Ing.). The research focus will be on 5G baseband signal processing and SDR implementations. Applications should go directly to our