Re: Coexistence of Gnuradio 3.7 and 3.8 on one PC

2019-12-25 Thread Barry Duggan

Harald,

Did you use the Python3 instructions? Did you do the
"Note: If you are building UHD-3.14 or previous, run the following 
commands:


sudo apt install python
sudo apt install python-pip
sudo pip install mako requests numpy
"?

Also, if you are starting over, you need to delete the folder "~/gr38" 
(or whatever you used) and start fresh. It gets confused if you try to 
re-use the same folder. Also, I suspect that to have both versions in 
your computer, *both* will need to be built with PyBOMBS rather than 
having one in the system files.


Keep us posted. 73,
---
Barry Duggan KV4FV


On 2019-12-24 22:08, Harald Fritzsche (DD0VS) wrote:

Hello Barry, all,

many thanks for the answer.

I followed your recommendation with the source build link (swap file
and some extra install).
Second i stepped in the pybombs build.
I decided to start with build of ~/gr38.

It stops here: (i assumed that it would be better to keep the runing
binary)
--snip---
Install uhd from source despite binary install available Y/[N]? n
[ERROR] Error installing package uhd. Aborting.
--end--

Second run was with Y, unfortunately with this result:
--snip--
[  2%] Built target uhd_rpclib
[  3%] Building CXX object
lib/CMakeFiles/uhd.dir/convert/convert_with_neon.cpp.o In file included
from /home/pi/gr38/src/uhd/host/lib/convert/convert_with_neon.cpp:10:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:
In member function 'virtual void
__convert_fc32_1_sc16_item32_le_1_PRIORITY_SIMD::operator()(const
input_type&, const output_type&,
size_t)': /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:6740:1:
error: inlining failed in call to always_inline 'float32x4_t
vdupq_n_f32(float32_t)': target specific option mismatch vdupq_n_f32
(float32_t __a)
... much more
--end--
BTW: ~/gr38 is almost empty, only src/uhd (i fear many of the build is
installed in a place where it interferes with the existing
installation?)

I am lacking knowledge to proceed, sorry.

Regards and vy73
Harald
DD0VS




Am Tue, 24 Dec 2019 12:37:11 -0500
schrieb Barry Duggan :


Hi Harald,

One possibility is to use PyBOMBS to build two separate folders which
are independent of the system files so there is no confusion.

See https://github.com/gnuradio/pybombs#pybombs You could build 3.7
in a folder named ~/GR37 and 3.8 in a folder ~/GR38 and each folder
would have all of the libraries contained within those folders. It
would take a while to build, but should work OK once you are done.

To speed up compile time you might set up a swap file. See
https://wiki.gnuradio.org/index.php/InstallingGRFromSource_on_Raspberry_Pi
for reference.

I worked on the documentation of both, so please let me know if you
run into any problems.

Happy holidays and 73,




Re: Coexistence of Gnuradio 3.7 and 3.8 on one PC

2019-12-25 Thread Harald Fritzsche (DD0VS)
Hello Barry,

i confirm, that i performed this 3 lines of instructions shown below.

I will run again:
pybombs prefix init ~/gr38 -R gnuradio-default

BUt i think UHD on RPI need special compiler swithc for neon?

THanks for help
vy73
Harald
DD0VS


Am Wed, 25 Dec 2019 12:48:40 -0500
schrieb Barry Duggan :

> Harald,
> 
> Did you use the Python3 instructions? Did you do the
> "Note: If you are building UHD-3.14 or previous, run the following 
> commands:
> 
> sudo apt install python
> sudo apt install python-pip
> sudo pip install mako requests numpy
> "?
> 
> Also, if you are starting over, you need to delete the folder
> "~/gr38" (or whatever you used) and start fresh. It gets confused if
> you try to re-use the same folder. Also, I suspect that to have both
> versions in your computer, *both* will need to be built with PyBOMBS
> rather than having one in the system files.
> 
> Keep us posted. 73,
> ---
> Barry Duggan KV4FV





Re: Coexistence of Gnuradio 3.7 and 3.8 on one PC

2019-12-25 Thread Harald Fritzsche (DD0VS)
Hello Barry and all Readers,

unfortunately the compiler stops again with:

[  3%] Building CXX object
lib/CMakeFiles/uhd.dir/convert/convert_with_neon.cpp.o In file included
from /home/pi/gr38/src/uhd/host/lib/convert/convert_with_neon.cpp:10: 
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:
In member function 'virtual void
__convert_fc32_1_sc16_item32_le_1_PRIORITY_SIMD::operator()(const
input_type&, const output_type&,
size_t)': /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:6740:1:
error: inlining failed in call to always_inline 'float32x4_t
vdupq_n_f32(float32_t)': target specific option mismatch vdupq_n_f32
(float32_t __a)
^~~ /home/pi/gr38/src/uhd/host/lib/convert/convert_with_neon.cpp:26:33:
note: called from here float32x4_t Q0 =
vdupq_n_f32(float(scale_factor));

I will not be able to remove gnuradio 3.7 from the system. If a fresh
one is needed, i may use a fresh sd-card (but requires some extra time
for configuration)

Regards and vy73
Harald 
DD0VS
going qrt for some family activities :-)

Am Wed, 25 Dec 2019 20:08:33 +0100
schrieb "Harald Fritzsche (DD0VS)" :

> Hello Barry,
> 
> i confirm, that i performed this 3 lines of instructions shown below.
> 
> I will run again:
> pybombs prefix init ~/gr38 -R gnuradio-default
> 
> BUt i think UHD on RPI need special compiler swithc for neon?
> 
> THanks for help
> vy73
> Harald
> DD0VS
> 
> 
> Am Wed, 25 Dec 2019 12:48:40 -0500
> schrieb Barry Duggan :
> 
> > Harald,
> > 
> > Did you use the Python3 instructions? Did you do the
> > "Note: If you are building UHD-3.14 or previous, run the following 
> > commands:
> > 
> > sudo apt install python
> > sudo apt install python-pip
> > sudo pip install mako requests numpy
> > "?
> > 
> > Also, if you are starting over, you need to delete the folder
> > "~/gr38" (or whatever you used) and start fresh. It gets confused if
> > you try to re-use the same folder. Also, I suspect that to have both
> > versions in your computer, *both* will need to be built with PyBOMBS
> > rather than having one in the system files.
> > 
> > Keep us posted. 73,
> > ---
> > Barry Duggan KV4FV  
> 
> 
> 




Re: Coexistence of Gnuradio 3.7 and 3.8 on one PC

2019-12-25 Thread Barry Duggan

Hi Harald,

I did not include UHD when I used my rPI 3B+. It did work with a laptop 
and Ubuntu 18.04.


Maybe some of the others will know more more.

---
Barry Duggan KV4FV


On 2019-12-25 14:08, Harald Fritzsche (DD0VS) wrote:

Hello Barry,

i confirm, that i performed this 3 lines of instructions shown below.

I will run again:
pybombs prefix init ~/gr38 -R gnuradio-default

BUt i think UHD on RPI need special compiler swithc for neon?

THanks for help
vy73
Harald
DD0VS


Am Wed, 25 Dec 2019 12:48:40 -0500
schrieb Barry Duggan :


Harald,

Did you use the Python3 instructions? Did you do the
"Note: If you are building UHD-3.14 or previous, run the following
commands:

sudo apt install python
sudo apt install python-pip
sudo pip install mako requests numpy
"?

Also, if you are starting over, you need to delete the folder
"~/gr38" (or whatever you used) and start fresh. It gets confused if
you try to re-use the same folder. Also, I suspect that to have both
versions in your computer, *both* will need to be built with PyBOMBS
rather than having one in the system files.

Keep us posted. 73,
---
Barry Duggan KV4FV