Re: [Discuss-gnuradio] installing gr_modtool

2013-01-25 Thread Martin Braun (CEL)
On Thu, Jan 24, 2013 at 08:59:06PM -0800, Ghulam Rasool Begh wrote: Hi all, In my system when i use command gr_modtool it shows command not found. How can I install it. Installation instructions: https://github.com/mbant/gr-modtool MB -- Karlsruhe Institute of Technology (KIT)

Re: [Discuss-gnuradio] installing gr_modtool

2013-01-25 Thread Serhat BOYNUKALIN
i think it is not working... or i couldn't 2013/1/25 Martin Braun (CEL) martin.br...@kit.edu On Thu, Jan 24, 2013 at 08:59:06PM -0800, Ghulam Rasool Begh wrote: Hi all, In my system when i use command gr_modtool it shows command not found. How can I install it. Installation

Re: [Discuss-gnuradio] installing gr_modtool

2013-01-25 Thread Ghulam Rasool Begh
Thanks for your advice. However when I used the command gr_modtool.py create howto, it showed command not found.Then I used chmod +x gr_modtool.py and then  ./gr_modtool.py create howtoit created a new block gr_howto with other subdirectories. But while following the tutorial given at

Re: [Discuss-gnuradio] installing gr_modtool

2013-01-25 Thread Nathan West
It sounds like you didn't add gr_modtool.py to your PATH. Check the README that comes with gr_modtool again. The installation instructions are To install, simply copy gr_modtool.py from this directory somwhere into your $PATH. A good place might be /usr/local/bin. -nwest On Fri, Jan 25, 2013 at

Re: [Discuss-gnuradio] Volk build error using MacPorts GCC 4.7

2013-01-25 Thread Michael Dickens
On Jan 25, 2013, at 1:19 AM, Albert Chun-Chieh Huang alberthuang...@gmail.com wrote: After digging into this issue, I found an answer on MacPorts list, and it's related to Apple's ancient assembler(version 1.38). In this post, they try to replace Apple /usr/bin/as by clang's assembler.

[Discuss-gnuradio] Problem loading Python block

2013-01-25 Thread Nemanja Savic
Hi all, today i was trying to make hierarchical signal processing block in Python. I started with gr_modtool script, and configured it for hierpython block type. My idea was to design block similar to packet framer, so inside of the new block, I connected binary slicer and Framer sink. I have

Re: [Discuss-gnuradio] Tests fail building with boost1.52

2013-01-25 Thread Barry Jackson
On 24/01/13 14:28, Tom Rondeau wrote: Could you run 'ctest -V -R test name' for these tests to see what they are? I wouldn't worry too much about the ctcss and qtgui failures. My OSX box has a problem with ctcss, too, though I've not gone to track it down since it's not a heavily used blocks.

Re: [Discuss-gnuradio] Tests fail building with boost1.52

2013-01-25 Thread Tom Rondeau
On Fri, Jan 25, 2013 at 11:11 AM, Barry Jackson zen25...@zen.co.uk wrote: On 24/01/13 14:28, Tom Rondeau wrote: Could you run 'ctest -V -R test name' for these tests to see what they are? I wouldn't worry too much about the ctcss and qtgui failures. My OSX box has a problem with ctcss, too,

Re: [Discuss-gnuradio] Volk build error using MacPorts GCC 4.7

2013-01-25 Thread Michael Dickens
BTW See also Intel's documentation on how to go about detecting AVX: http://software.intel.com/sites/default/files/m/0/5/7/7/f/19151-AVX_319433_005.pdf , page 2-2 specifically. Maybe this could be made a runtime check, paired with a configure-time preliminary check? - MLD

Re: [Discuss-gnuradio] Volk build error using MacPorts GCC 4.7

2013-01-25 Thread Michael Dickens
On Jan 25, 2013, at 10:06 AM, Michael Dickens m...@alum.mit.edu wrote: 1) Does the target compiler's assembler support the xgetbv instruction? 2) Does the target CPU support the xgetbv instruction? My CMake hack wasn't quite right: only execute the binary if not cross-compiling. I'm not

Re: [Discuss-gnuradio] Problem loading Python block

2013-01-25 Thread Martin Braun (CEL)
For a hier block in Python, do $ gr_modtool.py add -t hier -l python You need 3.6.3 to do that. Also, you'll need a new version of modtool (it usually lags a bit behind changes in GNU Radio). MB On Fri, Jan 25, 2013 at 05:05:56PM +0100, Nemanja Savic wrote: Hi all, today i was trying

[Discuss-gnuradio] Adding new block using grmodtool

2013-01-25 Thread Ghulam Rasool Begh
Hi all,While adding block to the empty module using gr_modtool, the added files don exactly match with those given in the tutorial at   http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules.The result of the command is given below.Should I ignore this mismatch or there is some

[Discuss-gnuradio] build-gnuradio script error

2013-01-25 Thread Brooke Hayden
Trying to get another laptop up and running. When running the build-gnuradio script I get this error: ls: cannot access *.gz: No such file or directory Failed to download any usable images file from: http://files.ettus.com/uhd_releases/master_images After looking at the files.ettus.com site, the

Re: [Discuss-gnuradio] Adding new block using grmodtool

2013-01-25 Thread Martin Braun (CEL)
On Fri, Jan 25, 2013 at 08:45:28AM -0800, Ghulam Rasool Begh wrote: Hi all, While adding block to the empty module using gr_modtool, the added files don exactly match with those given in the tutorial at http://gnuradio.org/redmine/ projects/gnuradio/wiki/OutOfTreeModules. The result of

Re: [Discuss-gnuradio] Tests fail building with boost1.52

2013-01-25 Thread Barry Jackson
On 25/01/13 16:29, Tom Rondeau wrote: ldd test_all [root@jackodesktop build]# cd volk/lib [root@jackodesktop lib]# ldd test_all linux-vdso.so.1 (0x7fff67096000) libvolk.so.0.0.0 = not found libboost_unit_test_framework.so.1.53.0 =

Re: [Discuss-gnuradio] Tests fail building with boost1.52

2013-01-25 Thread Tom Rondeau
On Fri, Jan 25, 2013 at 11:57 AM, Barry Jackson zen25...@zen.co.uk wrote: On 25/01/13 16:29, Tom Rondeau wrote: ldd test_all [root@jackodesktop build]# cd volk/lib [root@jackodesktop lib]# ldd test_all linux-vdso.so.1 (0x7fff67096000) libvolk.so.0.0.0 = not found

Re: [Discuss-gnuradio] Volk build error using MacPorts GCC 4.7

2013-01-25 Thread Tom Rondeau
On Fri, Jan 25, 2013 at 11:28 AM, Michael Dickens m...@alum.mit.edu wrote: On Jan 25, 2013, at 10:06 AM, Michael Dickens m...@alum.mit.edu wrote: 1) Does the target compiler's assembler support the xgetbv instruction? 2) Does the target CPU support the xgetbv instruction? My CMake hack

Re: [Discuss-gnuradio] build-gnuradio script error

2013-01-25 Thread Mike Jameson
Hi Brooke, I've uploaded my 'gr' folder to http://scanoo.com/downloads It should contain everything that you need as it isn't that old. Cheers, Mike M0MIK On 25 January 2013 16:48, Brooke Hayden sdrat...@gmail.com wrote: Trying to get another laptop up and running. When running the

[Discuss-gnuradio] Uninstalling Gnu Radio (Build script installed)

2013-01-25 Thread Sajjad Safdar
Hi,  Wen i try to uninstall gnu radio by command i get this error hw@E-Lab:~/gnuradio$ sudo make uninstall gnuradio make: *** No rule to make target `uninstall'.  Stop. hw@E-Lab:~/gnuradio$ Also when i try it in usr/local the error is same. root@E-Lab:~/gnuradio# make uninstall gnuradio make:

Re: [Discuss-gnuradio] Uninstalling Gnu Radio (Build script installed)

2013-01-25 Thread Mike Jameson
Go into each folder which build-gnuradio downloaded and type the following: mkdir build cd build cmake ../ sudo make uninstall Then run the build script line again in an empty folder : wget http://www.sbrac.org/files/build-gnuradio chmod a+x ./build-gnuradio ./build-gnuradio Mike M0MIK

Re: [Discuss-gnuradio] Volk build error using MacPorts GCC 4.7

2013-01-25 Thread Nick Foster
On 01/25/2013 08:30 AM, Michael Dickens wrote: BTW See also Intel's documentation on how to go about detecting AVX: http://software.intel.com/sites/default/files/m/0/5/7/7/f/19151-AVX_319433_005.pdf , page 2-2 specifically. Maybe this could be made a runtime check, paired with a

Re: [Discuss-gnuradio] Volk build error using MacPorts GCC 4.7

2013-01-25 Thread Michael Dickens
On Jan 25, 2013, at 12:20 PM, Tom Rondeau t...@trondeau.com wrote: By the way, if you grep for xgetbv in the 'next' branch, we did some work for this problem there but apparently not on 'master.' Not sure if it's for this exact problem or just a related one, but might be something to look at.

Re: [Discuss-gnuradio] Volk build error using MacPorts GCC 4.7

2013-01-25 Thread Michael Dickens
On Jan 25, 2013, at 1:10 PM, Nick Foster n...@ettus.com wrote: There's already a runtime check for AVX in Volk, same as for the rest of the SIMD instruction sets. Compile-time support and runtime support are completely decoupled from each other. Ah; good! Always best to do it that way :) -

Re: [Discuss-gnuradio] Problem loading Python block

2013-01-25 Thread Nemanja Savic
Thank you Martin, I will try that on Monday. I suppose that I have older version of gr_modtool, cause there is no option -l for selecting language. My weekend would be maybe perfect If you or anybody else can explain to me why my code won't work, cause I have more or less copied block structure

Re: [Discuss-gnuradio] GNU Radio release 3.6.3 available for download

2013-01-25 Thread Ed Criscuolo
Mike, I've been avidly following this thread, since I recently had to upgrade (company policy) to OSX 10.8, and I wanted to get my gnuradio install running again at the 3.6.3 release. It looked like things had mostly settled down, so I made sure any old files were uninstalled, and tried the

[Discuss-gnuradio] Linking Boost Libraries

2013-01-25 Thread Jeffrey Grasty
Hi, I am trying to measure the execution time of a for loop in a block and am trying to use boost::chrono class to do it. However, when I build the block I get: Scanning dependencies of target gnuradio-modtest [ 5%] Building CXX object lib/CMakeFiles/gnuradio-modtest.dir/passthrough_impl.cc.o

Re: [Discuss-gnuradio] Linking Boost Libraries

2013-01-25 Thread Josh Blum
On 01/25/2013 05:12 PM, Jeffrey Grasty wrote: Hi, I am trying to measure the execution time of a for loop in a block and am trying to use boost::chrono class to do it. However, when I build the block I get: Scanning dependencies of target gnuradio-modtest [ 5%] Building CXX object

Re: [Discuss-gnuradio] GNU Radio release 3.6.3 available for download

2013-01-25 Thread Michael Dickens
Hi Ed - It sounds like the gnuradio port was installed, but for some reason GRC didn't pass configuration. The PATH and PYTHONPATH look fine to me. Do the following (watch wrap): {{{ sudo port -d configure gnuradio +full configure.compiler=llvm-gcc-4.2 ~/Desktop/gnuradio_conf.txt 21 }}}