Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block.
hey marcus, For that block, now i get the following error whenever i execute the flowgraph in GRC. File "/home/abhishek/top_block.py", line 53, in __init__ self.howto_detect_ff_0 = howto.detect_ff(100, 16, 1500) AttributeError: 'module' object has no attribute 'detect_ff' >>> Done Any help will be appreciated, Thanks in advance, Abhishek On Mon, Apr 6, 2015 at 9:40 PM, Marcus Müller wrote: > Hi Abishek, > > ah, in that case you'll need to tell your build system to link against > GSL. > To do that, you will have to add GSL finding ability to your OOT's > /CMakeLists.txt and use the found library in lib/CMakeLists.txt. > Luckily, gr-wavelet already does this, so you'll basically just have to > copy over the things that have to do with GSL from > gnuradio/gr-wavelet/CMakeLists.txt to your /CMakeLists.txt and add the > libraries to you lib/CMakeLists.txt, just like > gnuradio/gr-wavelet/lib/CMakeLists.txt does. > > I'm not completely sure, but maybe you'll also have to copy over GNU > Radio's FindGSL.cmake from gnuradio/cmake/Modules/ to (you get the idea) to > your OOT's cmake/Modules/. > > Greetings, > Marcus > > > On 04/05/2015 10:26 PM, Abhishek Shukla wrote: > > hey happy easter:) > I generated module using gr-modtool as shown in " > https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules"; > latter, as gsl_matrix , gsl_vector and gsl_linalg were required for my > code I installed libgsl0-dev and all its related file through sudo apt-get > install:) > Thanks in advance, > Abhishek > > > > On Mon, Apr 6, 2015 at 12:35 AM, Abhishek Shukla < > shuklaabhishe...@gmail.com> wrote: > >> hey happy easter:) >> I generated module using gr-modtool as shown in " >> https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules"; >> latter, as gsl_matrix , gsl_vector and gsl_linalg were required for my >> code I installed libgsl0-dev and all its related file through sudo apt-get >> install:) >> Thanks in advance, >> Abhishek >> >> On Sun, Apr 5, 2015 at 10:46 PM, Marcus Müller >> wrote: >> >>> Hey Abishek, >>> happy easter. How did you you generate your module? gr_modtool? Does it >>> use any matrix methods from GSL? >>> >>> Greetings, >>> Marcus >>> >>> >>> On 04/05/2015 05:25 PM, Abhishek Shukla wrote: >>> >>>hey Marcus, >>> Now, I am able to import detect_ff block. But while running an example >>> using that block, i am stuck with a runtime error >>> >>> File "/usr/local/lib/python2.7/dist-packages/howto/howto_swig.py", >>> line 24, in swig_import_helper >>> _mod = imp.load_module('_howto_swig', fp, pathname, description) >>> ImportError: /usr/local/lib/libgnuradio-howto.so: undefined symbol: >>> gsl_matrix_alloc >>> >>> >>> Done >>> >>> Hence not able to generate flow graph. Screen shot of given example is >>> attached. >>> Also i have attached .cc file of detect_ff block. >>> Would you please help me out with this error. >>> Thanks in advance, >>> Abhishek >>> >>> On Wed, Apr 1, 2015 at 1:44 PM, Marcus Müller >>> wrote: >>> >>>> Hi Abhishek, >>>> >>>> that guide refers to a somewhat outdated API, so it doesn't apply to >>>> your case (that guide refers to an architecture where there was no >>>> separate _impl class). >>>> >>>> Have you read the guided tutorials and their chapter on C++ blocks? It's >>>> explaining how you can add functions to blocks. >>>> I'd personally recommend just starting anew, sticking to the guided >>>> tutorials; wherever you got your guidance from, it mixes things that >>>> apply to different versions of GNU Radio, and debugging this is really >>>> not worth it when you could as well just start with a clean slate and >>>> learn things *right*. >>>> >>>> Best regards, >>>> Marcus >>>> On 04/01/2015 06:28 AM, abhishek wrote: >>>> > hey marcus, >>>> > here error given is, could not insert function, but we can according >>>> > to >>>> > " >>>> http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide#Public-Header-Files >>>> ". >>>> > Even i am not able to get last and secon
[Discuss-gnuradio] Attribute error
hey, I have been working with Eigen value detection in GNU Radio..I am new to this and i get the following error whenever i execute the flowgraph in GRC. File "/home/abhishek/top_block.py", line 53, in __init__ self.howto_detect_ff_0 = howto.detect_ff(100, 16, 1500) AttributeError: 'module' object has no attribute 'detect_ff' >>> Done Any help will be appreciated, Thanks in advance, Abhishek ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block.
hey happy easter:) I generated module using gr-modtool as shown in " https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules"; latter, as gsl_matrix , gsl_vector and gsl_linalg were required for my code I installed libgsl0-dev and all its related file through sudo apt-get install:) Thanks in advance, Abhishek On Mon, Apr 6, 2015 at 12:35 AM, Abhishek Shukla wrote: > hey happy easter:) > I generated module using gr-modtool as shown in " > https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules"; > latter, as gsl_matrix , gsl_vector and gsl_linalg were required for my > code I installed libgsl0-dev and all its related file through sudo apt-get > install:) > Thanks in advance, > Abhishek > > On Sun, Apr 5, 2015 at 10:46 PM, Marcus Müller > wrote: > >> Hey Abishek, >> happy easter. How did you you generate your module? gr_modtool? Does it >> use any matrix methods from GSL? >> >> Greetings, >> Marcus >> >> >> On 04/05/2015 05:25 PM, Abhishek Shukla wrote: >> >>hey Marcus, >> Now, I am able to import detect_ff block. But while running an example >> using that block, i am stuck with a runtime error >> >> File "/usr/local/lib/python2.7/dist-packages/howto/howto_swig.py", line >> 24, in swig_import_helper >> _mod = imp.load_module('_howto_swig', fp, pathname, description) >> ImportError: /usr/local/lib/libgnuradio-howto.so: undefined symbol: >> gsl_matrix_alloc >> >> >>> Done >> >> Hence not able to generate flow graph. Screen shot of given example is >> attached. >> Also i have attached .cc file of detect_ff block. >> Would you please help me out with this error. >> Thanks in advance, >> Abhishek >> >> On Wed, Apr 1, 2015 at 1:44 PM, Marcus Müller >> wrote: >> >>> Hi Abhishek, >>> >>> that guide refers to a somewhat outdated API, so it doesn't apply to >>> your case (that guide refers to an architecture where there was no >>> separate _impl class). >>> >>> Have you read the guided tutorials and their chapter on C++ blocks? It's >>> explaining how you can add functions to blocks. >>> I'd personally recommend just starting anew, sticking to the guided >>> tutorials; wherever you got your guidance from, it mixes things that >>> apply to different versions of GNU Radio, and debugging this is really >>> not worth it when you could as well just start with a clean slate and >>> learn things *right*. >>> >>> Best regards, >>> Marcus >>> On 04/01/2015 06:28 AM, abhishek wrote: >>> > hey marcus, >>> > here error given is, could not insert function, but we can according >>> > to >>> > " >>> http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide#Public-Header-Files >>> ". >>> > Even i am not able to get last and second last error of expected "(" >>> > and "{", but in the code all brackets are up to the mark and used >>> > properly. >>> > >>> > abhishek@abhishek-Inspiron-N5110:~/gr-howto/build$ make >>> > Scanning dependencies of target gnuradio-howto >>> > [ 5%] Building CXX object >>> > lib/CMakeFiles/gnuradio-howto.dir/howto_detect_ff_impl.cc.o >>> > In file included from >>> > /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:27:0: >>> > /home/abhishek/gr-howto/lib/howto_detect_ff_impl.h:40:7: error: >>> > ‘gr::howto::howto_detect_ff_impl::howto_detect_ff_impl(float, int, >>> > int)’ cannot be overloaded >>> >howto_detect_ff_impl(float pfa, int L, int samples); >>> >^ >>> > /home/abhishek/gr-howto/lib/howto_detect_ff_impl.h:37:6: error: with >>> > ‘gr::howto::howto_detect_ff_impl::howto_detect_ff_impl(float, int, >>> int)’ >>> > howto_detect_ff_impl (float pfa, int L, int samples); >>> > ^ >>> > /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:37:27: error: >>> > prototype for ‘gr::howto::howto_detect_ff::sptr >>> > gr::howto::howto_detect_ff::make(float, int, int)’ does not match any >>> > in class ‘gr::howto::howto_detect_ff’ >>> > howto_detect_ff::sptr howto_detect_ff::make(float pfa, int L, int >>> > samples) >>> >^ >>> > In file included from >>> > /home/abhishek/gr-howto/lib/howto_
Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block.
hey marcus, here error given is, could not insert function, but we can according to "http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide#Public-Header-Files";. Even i am not able to get last and second last error of expected "(" and "{", but in the code all brackets are up to the mark and used properly. abhishek@abhishek-Inspiron-N5110:~/gr-howto/build$ make Scanning dependencies of target gnuradio-howto [ 5%] Building CXX object lib/CMakeFiles/gnuradio-howto.dir/howto_detect_ff_impl.cc.o In file included from /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:27:0: /home/abhishek/gr-howto/lib/howto_detect_ff_impl.h:40:7: error: ‘gr::howto::howto_detect_ff_impl::howto_detect_ff_impl(float, int, int)’ cannot be overloaded howto_detect_ff_impl(float pfa, int L, int samples); ^ /home/abhishek/gr-howto/lib/howto_detect_ff_impl.h:37:6: error: with ‘gr::howto::howto_detect_ff_impl::howto_detect_ff_impl(float, int, int)’ howto_detect_ff_impl (float pfa, int L, int samples); ^ /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:37:27: error: prototype for ‘gr::howto::howto_detect_ff::sptr gr::howto::howto_detect_ff::make(float, int, int)’ does not match any in class ‘gr::howto::howto_detect_ff’ howto_detect_ff::sptr howto_detect_ff::make(float pfa, int L, int samples) ^ In file included from /home/abhishek/gr-howto/lib/howto_detect_ff_impl.h:24:0, from /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:27: /home/abhishek/gr-howto/include/howto/howto_detect_ff.h:49:19: error: candidate is: static gr::howto::howto_detect_ff::sptr gr::howto::howto_detect_ff::make() static sptr make(); ^ /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc: In constructor ‘gr::howto::howto_detect_ff_impl::howto_detect_ff_impl(float, int, int)’: /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:57:71: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default] gr::io_signature::make (MIN_OUT, MAX_OUT, sizeof(float)), ^ /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:66:5: error: expected ‘)’ before ‘(’ token (howto_detect_ff_impl()::~howto_detect_ff_impl()) ^ /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:187:1: error: expected ‘{’ before ‘}’ token } /* namespace howto */ ^ make[2]: *** [lib/CMakeFiles/gnuradio-howto.dir/howto_detect_ff_impl.cc.o] Error 1 make[1]: *** [lib/CMakeFiles/gnuradio-howto.dir/all] Error 2 make: *** [all] Error 2 Could you please help me out with all individual errors. Attachment of al the 3 files are provided. Thanks in advance, Abhishek. /* -*- c++ -*- */ /* * Copyright 2015 <+YOU OR YOUR COMPANY+>. * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this software; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, * Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include "howto_detect_ff_impl.h" #include #include #include #include #include namespace gr { namespace howto { howto_detect_ff::sptr howto_detect_ff::make(float pfa, int L, int samples) { return gnuradio::get_initial_sptr (new howto_detect_ff_impl(pfa, L, samples)); } static const int MIN_IN = 1; // mininum number of input streams static const int MAX_IN = 1; // maximum number of input streams static const int MIN_OUT = 1; // minimum number of output streams static const int MAX_OUT = 1; // maximum number of output streams float mem = 0; //Global Variable /* * The private constructor */ howto_detect_ff_impl::howto_detect_ff_impl (float pfa, int L, int samples) : gr::block("howto_detect_ff", gr::io_signature::make (MIN_IN, MAX_IN, sizeof (float)), gr::io_signature::make (MIN_OUT, MAX_OUT, sizeof(float)), { set_pfa(pfa), set_L(L), set_samples(samples) } /* * Our virtual destructor. */ howto_detect_ff_impl::~howto_detect_ff_impl() { } //functions--- /*This function gives the CDF value for the pfa in input*/ float TracyWidom (float p){ float pd, tw; tw = 0.45; pd = 1 - p; if (pd >= 0.01 && pd <= 0.05){ tw = 18*(pd - (17/75)); printf("a
[Discuss-gnuradio] "make" error while making detector (howto_detect_ff) block.
hey, I am working to make a detector block in gnuradio 3.7.1 using gr-how "out-of-tree module". I am stuck with an error during make command abhishek@abhishek-Inspiron-N5110:~/gr-howto/build$ make Scanning dependencies of target gnuradio-howto [ 5%] Building CXX object lib/CMakeFiles/gnuradio-howto.dir/howto_detect_ff_impl.cc.o /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:37:5: error: ‘howto_detect_ff_sptr’ does not name a type howto_detect_ff_sptr ^ /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc: In constructor ‘gr::howto::howto_detect_ff_impl::howto_detect_ff_impl(float, int, int)’: /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:59:17: error: expression cannot be used as a function d_pfa(pfa), d_L(L), d_samples(samples) ^ /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:59:25: error: expression cannot be used as a function d_pfa(pfa), d_L(L), d_samples(samples) ^ /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:59:45: error: expression cannot be used as a function d_pfa(pfa), d_L(L), d_samples(samples) ^ /home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:185:1: error: expected ‘{’ before ‘}’ token } /* namespace howto */ ^ make[2]: *** [lib/CMakeFiles/gnuradio-howto.dir/howto_detect_ff_impl.cc.o] Error 1 make[1]: *** [lib/CMakeFiles/gnuradio-howto.dir/all] Error 2 make: *** [all] Error 2 Os is ubuntu 14.04. Even i have attached howto_detect_ff_impl.h, howto_detect_ff_impl.cc and howto_swig.i file. It seems that some mistake is there in howto_detect_ff.h file whose path is gr-howto/include/howto. But i am not getting what exactly it is Any solution to sort an error will be appreciated. Thanks in advance, Abhishek. /* -*- c++ -*- */ /* * Copyright 2015 <+YOU OR YOUR COMPANY+>. * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this software; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, * Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include "howto_detect_ff_impl.h" #include #include #include #include #include namespace gr { namespace howto { howto_detect_ff_sptr howto_make_detect_ff(float pfa, int L, int samples) { return gnuradio::get_initial_sptr (new howto_detect_ff_impl(pfa, L, samples)); } static const int MIN_IN = 1; // mininum number of input streams static const int MAX_IN = 1; // maximum number of input streams static const int MIN_OUT = 1; // minimum number of output streams static const int MAX_OUT = 1; // maximum number of output streams float mem = 0; //Global Variable /* * The private constructor */ howto_detect_ff_impl::howto_detect_ff_impl (float pfa, int L, int samples) : gr::block("howto_detect_ff", gr::io_signature::make (MIN_IN, MAX_IN, sizeof (float)), gr::io_signature::make (MIN_OUT, MAX_OUT, sizeof(float)), d_pfa(pfa), d_L(L), d_samples(samples) { } /* * Our virtual destructor. */ howto_detect_ff_impl::~howto_detect_ff_impl() { } //functions--- /*This function gives the CDF value for the pfa in input*/ float TracyWidom (float p){ float pd, tw; tw = 0.45; pd = 1 - p; if (pd >= 0.01 && pd <= 0.05){ tw = 18*(pd - (17/75)); printf("a - %f\n", tw); }else if (pd >= 0.05 && pd <= 0.1){ tw = 8*(pd - (179/400)); printf("b - %f\n", tw); }else if (pd >= 0.1 && pd <= 0.3){ tw = (87/20)*(pd - (643/870)); printf("c - %f\n", tw); }else if (pd >= 0.3 && pd <= 0.5){ tw = (16/5)*(pd - (287/320)); printf("d - %f\n", tw); }else if (pd >= 0.5 && pd <= 0.7){ tw = (17/5)*(pd - (297/340)); printf("e - %f\n", tw); }else if (pd >= 0.7 && pd <= 0.9){ tw = (5.2)*(pd - (0.813)); printf("f - %f\n", tw); }else if (pd >= 0.9 && pd <= 0.95){ tw = (53/5)*(pd - (909/1060)); printf("g - %f\n", tw); }else if (pd >= 0.95 && pd <= 1){ tw = 26*(pd - (593/650)); printf("h - %f\n", tw); }else{ printf ("wrong pfa value: it must be between 0 and 1\n"); printf ("the pfa value standard is 0.1\n"); tw = (53/5)*(0
Re: [Discuss-gnuradio] cmake error: cant find gnuradio_runtime_libraries
3.7.7 libraries might be installed due building of gnuradio script " http://www.sbrac.org/files/build-gnuradio"; or installing gnuradio through pybombs. can you explain me how to remove these libraries..? Please help me out..This might be my last querry, thanks for all your helps and suggestion:) Abhishek On Mon, Mar 16, 2015 at 3:09 AM, Marcus Müller wrote: > my grc is 3.7.2.1.. can i uninstall 3.7.7 version and then work > on it...? > > abhishek, this thread is starting to get overly long. Please just do as I > recommend. Uninstall *all* GNU Radios, install the version you want (3.7.7 > probably), and build your module again. > > > > On 03/15/2015 10:11 PM, Abhishek Shukla wrote: > > my grc is 3.7.2.1.. can i uninstall 3.7.7 version and then work > on it...? > Thanks in advance, > Abhishek > > On Mon, Mar 16, 2015 at 2:36 AM, Marcus Müller > wrote: > >> Compare: >> >> My after this command "gnuradio-config-info --version" >> i got 3.7.2.1 >> >> and >> >> ImportError: libgnuradio-runtime-3.7.7git.so.0.0.0: cannot open shared >> object file: No such file or directory >> >> You're mixing 3.7.2.1 and 3.7.7; this can't work. You will need to >> uninstall both GNU Radio versions (wherever they came from), and build your >> module again. >> >> Greetings, >> Marcus >> >> >> >> On 03/15/2015 09:53 PM, Abhishek Shukla wrote: >> >> yaa I have done make and make install both, even my xml block is created >> inside the grc folder which I had shown through attachment. Later i copied >> that howto_square_ff.xml file to path "/usr/share/gnuradio/grc/blocks" >> where all my blocks are stored. This helped me to get square_ff block in >> grc, but while running an example using that block i am stuck with an error >> >> ImportError: libgnuradio-runtime-3.7.7git.so.0.0.0: cannot open shared >> object file: No such file or directory >> >> >> >> On Mon, Mar 16, 2015 at 2:05 AM, Marcus Müller >> wrote: >> >>> Did you make and make install your out-of-tree module already? Does GRC >>> look into the place where you install into when looking for block >>> definitions? >>> >>> Generally, I'd like to point you to the guided Tutorials, which are a >>> bit easier to follow and currently better maintained: >>> >>> https://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials >>> >>> >>> Best regards, >>> Marcus >>> >>> >>> On 03/15/2015 09:09 PM, Abhishek Shukla wrote: >>> >>> hey marcus, >>> Thanks for all your help, now have completed everything properly, but I >>> am not able to find "square_ff" block in grc, >>> would you please help me out. >>> Thanks in advance, >>> Abhishek >>> >>> On Mon, Mar 16, 2015 at 12:44 AM, Marcus Müller < >>> marcus.muel...@ettus.com> wrote: >>> >>>> Hi Abhishek, >>>> >>>> On 03/15/2015 08:11 PM, Abhishek Shukla wrote: >>>> > Would you tell me how to add gnuradio-runtime.pc to the >>>> > PKG_CONFIG_PATH environment variable? >>>> You want to add the directory containing it to that environment >>>> variable. How one can do that depends on your operating system. I'm >>>> pretty sure google will help you. >>>> >>>> Greetings, >>>> Marcus >>>> >>>> >>> >>> >> >> > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] cmake error: cant find gnuradio_runtime_libraries
my grc is 3.7.2.1.. can i uninstall 3.7.7 version and then work on it...? and also 3.7.7 libraries might be installed due building of gnuradio script "http://www.sbrac.org/files/build-gnuradio"; or installing gnuradio through pybombs. can you explain me how to remove these libraries..? Please help me out..This might be my last querry, thanks for all your helps and suggestion:) Abhishek On Mon, Mar 16, 2015 at 2:41 AM, Abhishek Shukla wrote: > my grc is 3.7.2.1.. can i uninstall 3.7.7 version and then work on > it...? > Thanks in advance, > Abhishek > > On Mon, Mar 16, 2015 at 2:36 AM, Marcus Müller > wrote: > >> Compare: >> >> My after this command "gnuradio-config-info --version" >> i got 3.7.2.1 >> >> and >> >> ImportError: libgnuradio-runtime-3.7.7git.so.0.0.0: cannot open shared >> object file: No such file or directory >> >> You're mixing 3.7.2.1 and 3.7.7; this can't work. You will need to >> uninstall both GNU Radio versions (wherever they came from), and build your >> module again. >> >> Greetings, >> Marcus >> >> >> >> On 03/15/2015 09:53 PM, Abhishek Shukla wrote: >> >> yaa I have done make and make install both, even my xml block is created >> inside the grc folder which I had shown through attachment. Later i copied >> that howto_square_ff.xml file to path "/usr/share/gnuradio/grc/blocks" >> where all my blocks are stored. This helped me to get square_ff block in >> grc, but while running an example using that block i am stuck with an error >> >> ImportError: libgnuradio-runtime-3.7.7git.so.0.0.0: cannot open shared >> object file: No such file or directory >> >> >> >> On Mon, Mar 16, 2015 at 2:05 AM, Marcus Müller >> wrote: >> >>> Did you make and make install your out-of-tree module already? Does GRC >>> look into the place where you install into when looking for block >>> definitions? >>> >>> Generally, I'd like to point you to the guided Tutorials, which are a >>> bit easier to follow and currently better maintained: >>> >>> https://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials >>> >>> >>> Best regards, >>> Marcus >>> >>> >>> On 03/15/2015 09:09 PM, Abhishek Shukla wrote: >>> >>> hey marcus, >>> Thanks for all your help, now have completed everything properly, but I >>> am not able to find "square_ff" block in grc, >>> would you please help me out. >>> Thanks in advance, >>> Abhishek >>> >>> On Mon, Mar 16, 2015 at 12:44 AM, Marcus Müller < >>> marcus.muel...@ettus.com> wrote: >>> >>>> Hi Abhishek, >>>> >>>> On 03/15/2015 08:11 PM, Abhishek Shukla wrote: >>>> > Would you tell me how to add gnuradio-runtime.pc to the >>>> > PKG_CONFIG_PATH environment variable? >>>> You want to add the directory containing it to that environment >>>> variable. How one can do that depends on your operating system. I'm >>>> pretty sure google will help you. >>>> >>>> Greetings, >>>> Marcus >>>> >>>> >>> >>> >> >> > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] cmake error: cant find gnuradio_runtime_libraries
hey marcus, Thanks for all your help, now have completed everything properly, but I am not able to find "square_ff" block in grc, would you please help me out. Thanks in advance, Abhishek On Mon, Mar 16, 2015 at 12:44 AM, Marcus Müller wrote: > Hi Abhishek, > > On 03/15/2015 08:11 PM, Abhishek Shukla wrote: > > Would you tell me how to add gnuradio-runtime.pc to the > > PKG_CONFIG_PATH environment variable? > You want to add the directory containing it to that environment > variable. How one can do that depends on your operating system. I'm > pretty sure google will help you. > > Greetings, > Marcus > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] cmake error: cant find gnuradio_runtime_libraries
Would you tell me how to add gnuradio-runtime.pc to the PKG_CONFIG_PATH environment variable? Thanks in advance, Abhishek On Mon, Mar 16, 2015 at 12:12 AM, Marcus Müller wrote: > Perhaps you should add the directory containing `gnuradio-runtime.pc' > to the PKG_CONFIG_PATH environment variable > > Yes, that sounds good! > > No package 'gnuradio-runtime' found > what does this exactly mean? > > pkgconfig couldn't find a .pc containing gnuradio-runtime. > > Greetings, > Marcus > > > > On 03/15/2015 07:34 PM, abhishek wrote: > > Hey Marcus, > My after this command "gnuradio-config-info --version" > i got 3.7.2.1 > later i type "pkg-config --modversion gnuradio-runtime" > i got > abhishek@abhishek-Inspiron-N5110:~$ pkg-config --modversion > gnuradio-runtime > Package gnuradio-runtime was not found in the pkg-config search path. > Perhaps you should add the directory containing `gnuradio-runtime.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gnuradio-runtime' found > what does this exactly mean? > Thanks in advance, > Abhishek > > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] cmake error: cant find gnuradio_runtime_libraries
Hey Marcus, My after this command "gnuradio-config-info --version" i got 3.7.2.1 later i type "pkg-config --modversion gnuradio-runtime" i got abhishek@abhishek-Inspiron-N5110:~$ pkg-config --modversion gnuradio-runtime Package gnuradio-runtime was not found in the pkg-config search path. Perhaps you should add the directory containing `gnuradio-runtime.pc' to the PKG_CONFIG_PATH environment variable No package 'gnuradio-runtime' found what does this exactly mean? Thanks in advance, Abhishek ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] cmake error: cant find gnuradio_runtime_libraries
Hey Marcus, I am trying to build my own custom block in gnuradio, with the help of following link "http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules and https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig https://www.youtube.com/watch?v=BW8o9ZgFJ5I"; But i am stuck with an error while cmake abhishek@abhishek-Inspiron-N5110:~/gr-howto/build$ cmake ../ -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.55.0 -- Found the following Boost libraries: -- filesystem -- system -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'gnuradio-runtime' -- package 'gnuradio-runtime' not found -- Could NOT find GNURADIO_RUNTIME (missing: GNURADIO_RUNTIME_LIBRARIES) -- checking for module 'cppunit' -- found cppunit, version 1.13.1 -- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl CMake Error at CMakeLists.txt:98 (message): GnuRadio Runtime required to compile howto -- Configuring incomplete, errors occurred! In order to trouble shoot. I reinstall gnuradio from apt-get install, later i install all the dependencies from the source. Even I build the gnuradio script from " http://www.sbrac.org/files/build-gnuradio"; Will you help me out with this.. my gnuradio version is: abhishek@abhishek-Inspiron-N5110:~$ gnuradio-config-info --version 3.7.2.1. abhishek@abhishek-Inspiron-N5110:~$ which gr_modtool /usr/bin/gr_modtool and Os Ubuntu 14.04 I am just in the learning phase of gnuradio and usrp so, please help me with this, Thanks in advance, Abhishek ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] GRC application tool is not opening
Hey Marcus, You told me to remove previous installation and then install it from the source, but after installation my GRC application tool was not opening. Even i tried pybombs for installing Gnuradio but again same problem. Again after removing all the installation, i am able to find GRC application tool but when i click on it, it does not launch. Here attached is previous link, https://www.mail-archive.com/discuss-gnuradio@gnu.org/msg52693.html My project is Security for cognitive radio, and now I have only 1 month to complete this. For this project i had done rigorous research, i have my plan of action ready, but the thing is unexpected errors in gnuradio. Any help will be appreciated, Thanks in advance, Abhishek. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] error: make test failed
Hey, while building source file of GNU radio following error occurred during "make test" 97% tests passed, 3 tests failed out of 87 Total Test time (real) = 45.81 sec The following tests FAILED: 80 - qa_fecapi_repetition (Failed) 81 - qa_fecapi_cc (Failed) 84 - qa_fecapi_dummy (Failed) Errors while running CTest Makefile:133: recipe for target 'test' failed make: *** [test] Error 8 will this error create any problem in future while using gnuradio, henceforth should i continue or should i look to rectify this error Any suggestion will be appreciated, Thanks in advance, Abhishek. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] rror: GNURADIO filter not found, while making own custom block in gnuradio and Getting error: No module named howto_swig
hey Marcus, Sorry,actually that was my first message, and there is some problem, hence i am not able reply through mail archive These are the 2 previous links : http://permalink.gmane.org/gmane.comp.gnu.radio.general/55815 http://permalink.gmane.org/gmane.comp.gnu.radio.general/55819 So, I am working on Ubuntu 14.10, initially i installed GNU radio directly through "apt-get" command, at that time i was getting Gnu radio_runtime package error. In order to rectify the error, i downloaded zip file from Github website "https://github.com/gnuradio/gnuradio"; and build all the dependencies using cmake and make command i am not getting how to rectify this, i know you may had read this message, but once again i am sending this for rectification also i want to ask 2 questions. 1) installing from source means that zip file downloaded from Github website mentioned earlier.? 2) and whether this problem will solve my previous problem of "No module named howto_swig"..>? any help will be appreciated, Thanks in advance, Abhishek. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Getting error: No module named howto_swig
while building own custom block "square_ff" for Gnuradio 3.7.3, my make test command was not successful. After checking in detail for the error with command "ctest -V -R square", i got an error of "No module named howto_swig". also while doing cmake there was one of the statement "Disabling SWIG because version check failed". I tried to troubleshoot be installing or upgrading SWIG, but it did not solve my error. ERROR: /home/abhishek/gnuradio-master/gr-howto/build/DartConfiguration.tcl Test project /home/abhishek/gnuradio-master/gr-howto/build Constructing a list of tests Done constructing a list of tests Checking test dependency graph... Checking test dependency graph end test 2 Start 2: qa_square_ff 2: Test command: /bin/sh "/home/abhishek/gnuradio-master/gr-howto/build/python/qa_square_ff_test.sh" 2: Test timeout computed to be: 9.99988e+06 2: Traceback (most recent call last): 2: File "/home/abhishek/gnuradio-master/gr-howto/python/qa_square_ff.py", line 24, in 2: import howto_swig as howto 2: ImportError: No module named howto_swig 1/1 Test #2: qa_square_ff .***Failed0.29 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 0.30 sec The following tests FAILED: 2 - qa_square_ff (Failed) Errors while running CTest Any suggestion will be appreciated Thanks in advance ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Discuss-gnuradio Digest, Vol 148, Issue 8
hey Marcus, I am working on Ubuntu 14.10, initially i installed GNU radio directly through "apt-get" command, at that time i was getting Gnu radio_runtime package error. In order to rectify the error, i downloaded zip file from Github website "https://github.com/gnuradio/gnuradio"; and build all the dependencies using cmake and make command i am not getting how to rectify this, any help will be appreciated, Thanks in advance, Abhishek. On Sat, Mar 7, 2015 at 10:30 PM, wrote: > Send Discuss-gnuradio mailing list submissions to > discuss-gnuradio@gnu.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > or, via email, send a message with subject or body 'help' to > discuss-gnuradio-requ...@gnu.org > > You can reach the person managing the list at > discuss-gnuradio-ow...@gnu.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Discuss-gnuradio digest..." > > > Today's Topics: > >1. Decoding Morse code (Mike Markowski) >2. Re: Decoding Morse code (Martin Braun) >3. Re: Decoding Morse code (Iain Young, G7III) >4. Decimation of multiple streams (Ali Riaz) >5. Re: Decoding Morse code (Mike Markowski) >6. error: GNURADIO filter not found, while making own custom > block in gnuradio (Abhishek Shukla) >7. Re: Decimation of multiple streams (Marcus M?ller) >8. Re: error: GNURADIO filter not found, while making own custom > block in gnuradio (Marcus M?ller) > > > -- > > Message: 1 > Date: Fri, 06 Mar 2015 14:19:42 -0500 > From: Mike Markowski > To: discuss-gnuradio@gnu.org > Subject: [Discuss-gnuradio] Decoding Morse code > Message-ID: <54f9fdce.5080...@gmail.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > A few weeks ago I started learning my way around gnuradio and am making > progress, but could use advice from experienced users. > > I've been making something of an online lab notebook recording my > efforts in gnuradio at: > >http://udel.edu/~mm/gr/ > > At the very bottom of that page is a section named "Morse Code Decoder" > where I show a flowgraph I've come up with. I can't figure out how to > take it farther than that, however. I believe I need to learn how to > write an out of tree demodulator. If I'm wrong, maybe someone can give > me a push in the right direction regarding how to use existing blocks. > If I'm correct, what would be the best modulator to study - BPSK? > ("Best," meaning easiest for someone new to gnuradio to understand.) > > Thanks very much, > Mike Markowski > > > > -- > > Message: 2 > Date: Fri, 06 Mar 2015 12:30:04 -0800 > From: Martin Braun > To: discuss-gnuradio@gnu.org > Subject: Re: [Discuss-gnuradio] Decoding Morse code > Message-ID: <54fa0e4c.2080...@ettus.com> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Mike, > > have you gone through our beginner's tutorials? > > http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials > > M > > On 06.03.2015 11:19, Mike Markowski wrote: > > A few weeks ago I started learning my way around gnuradio and am making > > progress, but could use advice from experienced users. > > > > I've been making something of an online lab notebook recording my > > efforts in gnuradio at: > > > >http://udel.edu/~mm/gr/ > > > > At the very bottom of that page is a section named "Morse Code Decoder" > > where I show a flowgraph I've come up with. I can't figure out how to > > take it farther than that, however. I believe I need to learn how to > > write an out of tree demodulator. If I'm wrong, maybe someone can give > > me a push in the right direction regarding how to use existing blocks. > > If I'm correct, what would be the best modulator to study - BPSK? > > ("Best," meaning easiest for someone new to gnuradio to understand.) > > > > Thanks very much, > > Mike Markowski > > > > ___ > > Discuss-gnuradio mailing list > > Discuss-gnuradio@gnu.org > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > > -- > > Message: 3 > Date: Fri, 06 Mar 2015 21:08:40 + > From: "Iain Young, G7III" > To: discuss-gnuradio@gnu.org > Subject: Re: [Discuss-gnuradio] Deco
[Discuss-gnuradio] error: GNURADIO filter not found, while making own custom block in gnuradio
While making own custom block "derivative_ff" using method specified in " https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig"; on Gnuradio 3.7.3 and for OS ubuntu 4.10, following error struck me while compiling the file using "cmake ../". abhishek@abhishek-Inspiron-N5110:~/gnuradio-master/gr-howto/build$ cmake ../ -- Build type not specified: defaulting to release. -- Boost version: 1.55.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME * INCLUDES=/usr/local/include * LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: FILTER -- checking for module 'gnuradio-filter' -- package 'gnuradio-filter' not found * INCLUDES=GNURADIO_FILTER_INCLUDE_DIRS-NOTFOUND * LIBS=GNURADIO_FILTER_LIBRARIES_gnuradio-filter-NOTFOUND -- Could NOT find GNURADIO_FILTER (missing: GNURADIO_FILTER_LIBRARIES GNURADIO_FILTER_INCLUDE_DIRS) GNURADIO_FILTER_FOUND = FALSE CMake Error at /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:110 (message): Required GNU Radio Component: FILTER missing! Call Stack (most recent call first): /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:127 (GR_MODULE) CMakeLists.txt:93 (find_package) -- Configuring incomplete, errors occurred! See also "/home/abhishek/gnuradio-master/gr-howto/build/CMakeFiles/CMakeOutput.log". Any suggestions will be appreciated, Thanks in advance, Abhishek. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Using VOLK in a new gr-block
Hi, I am trying to use VOLK in a new module that will have some new fast blocks (hopefully). Being new to the cmake system, I have some difficulty in including the volk headers and linking it. Specifically, I am trying to figure out what changes to make to the CMakeLists.txt in the directory. I tried adding the following lines : include(GrComponent) GR_REGISTER_COMPONENT("gr-fastblocks" ENABLE_VOLK) but still, the build process complains about volk functions being undeclared. I am trying to understand the cmake system to figure out a way, but any help in the meantime would be greatly appreciated. Abhishek Bhowmick. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] GSoC participant ; Introduction, progress, plan etc
Hello, Been quite some time since my last update. So far, I have been able to put together some new VOLK kernels for operations like exp, pow, log and trigonometric functions. These performed really well compared to glibc implementations. I also added AVX proto-kernels for heavily used volk kernels, though that didn't offer significant performance gains. A commonly held view is that the way to get more performance out of volk is to implement more complex operations (combining many separate volk functions that are used to achieve the same), at the same time maintaining a level of generality. An example is the calculation of timing utility metric for the detection of OFDM frame signal. So far, I have put together a volk kernel with the desired functionality (though not optimized), that will be used by a frame detection gr-block, which I am currently working on. More details on this to come in the next blog post, which I aim to put out by early next week. Going ahead, one of the tasks is to incorporate channel coding blocks such as Viterbi/Turbo from OpenAirInterfaces. This will be followed by another new volk kernel targeting ofdm equalization, but the exact nature of the operation to be volk'ified is yet to be finalized. Through the latter part of the program, I want to spend more time identifying the different aspects of gr applications that can benefit from vectorization, this will be the focus of my work post Gsoc. Of course, suggestions from the community on potential new operations desirable in volk and other feedback, is greatly appreciated. One such suggestion that came during the proposal submission phase was acceleration of the out-of-tree gr-dvbt block by Bogdan Diaconescu, so that is a good candidate for post gsoc work. Abhishek On Sat, Jun 14, 2014 at 11:07 PM, Abhishek Bhowmick wrote: > More updates, new kernels, more code. > http://abhishekbhowmick.blogspot.in/2014/06/fast-numerical-kernels-fresh-from-oven.html > > On Sat, May 24, 2014 at 5:25 PM, Abhishek Bhowmick > wrote: >> New blog posts up related to VOLK kernels. Seeking comments and feedback. >> http://abhishekbhowmick.blogspot.in/ >> >> On Sun, Apr 27, 2014 at 9:24 PM, Abhishek Bhowmick >> wrote: >>> Hi everyone, >>> I have been selected for GSoC 2014 under GNU Radio. I will be working >>> on VOLK over the summer - my project proposal and GSoC page are as >>> follows : >>> 1. >>> https://github.com/abhowmick22/GSoc14-Proposal/blob/master/gsoc-proposal.pdf >>> 2. >>> https://www.google-melange.com/gsoc/project/details/google/gsoc2014/abhowmick22/5700735861784576 >>> >>> Here are my essential details : >>> Name : Abhishek Bhowmick >>> Google ID : AbhishekBhowmick22 >>> IRC nick : abhowmick22 >>> University (will be joining) : Carnegie Mellon University, USA >>> Field of Study :Computer Science >>> >>> For documenting my progress, I will use a blog hosted at Blogger. Here >>> is the link to my first post. >>> http://abhishekbhowmick.blogspot.in/2014/04/gsoc-2014-performance-optimization-with.html >>> I will keep updating the thread periodically with links to further posts. >>> >>> I will be using my Github to push the code I write. >>> https://github.com/abhowmick22/gnuradio >>> >>> >>> Looking forward to working with the community and eager to get started soon. >>> >>> Cheers, >>> Abhishek > > > > -- > Regards; > Abhishek Bhowmick. -- Regards; Abhishek Bhowmick. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] GSoC participant ; Introduction, progress, plan etc
More updates, new kernels, more code. http://abhishekbhowmick.blogspot.in/2014/06/fast-numerical-kernels-fresh-from-oven.html On Sat, May 24, 2014 at 5:25 PM, Abhishek Bhowmick wrote: > New blog posts up related to VOLK kernels. Seeking comments and feedback. > http://abhishekbhowmick.blogspot.in/ > > On Sun, Apr 27, 2014 at 9:24 PM, Abhishek Bhowmick > wrote: >> Hi everyone, >> I have been selected for GSoC 2014 under GNU Radio. I will be working >> on VOLK over the summer - my project proposal and GSoC page are as >> follows : >> 1. >> https://github.com/abhowmick22/GSoc14-Proposal/blob/master/gsoc-proposal.pdf >> 2. >> https://www.google-melange.com/gsoc/project/details/google/gsoc2014/abhowmick22/5700735861784576 >> >> Here are my essential details : >> Name : Abhishek Bhowmick >> Google ID : AbhishekBhowmick22 >> IRC nick : abhowmick22 >> University (will be joining) : Carnegie Mellon University, USA >> Field of Study :Computer Science >> >> For documenting my progress, I will use a blog hosted at Blogger. Here >> is the link to my first post. >> http://abhishekbhowmick.blogspot.in/2014/04/gsoc-2014-performance-optimization-with.html >> I will keep updating the thread periodically with links to further posts. >> >> I will be using my Github to push the code I write. >> https://github.com/abhowmick22/gnuradio >> >> >> Looking forward to working with the community and eager to get started soon. >> >> Cheers, >> Abhishek -- Regards; Abhishek Bhowmick. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] GSoC participant ; Introduction, progress, plan etc
New blog posts up related to VOLK kernels. Seeking comments and feedback. http://abhishekbhowmick.blogspot.in/ On Sun, Apr 27, 2014 at 9:24 PM, Abhishek Bhowmick wrote: > Hi everyone, > I have been selected for GSoC 2014 under GNU Radio. I will be working > on VOLK over the summer - my project proposal and GSoC page are as > follows : > 1. > https://github.com/abhowmick22/GSoc14-Proposal/blob/master/gsoc-proposal.pdf > 2. > https://www.google-melange.com/gsoc/project/details/google/gsoc2014/abhowmick22/5700735861784576 > > Here are my essential details : > Name : Abhishek Bhowmick > Google ID : AbhishekBhowmick22 > IRC nick : abhowmick22 > University (will be joining) : Carnegie Mellon University, USA > Field of Study :Computer Science > > For documenting my progress, I will use a blog hosted at Blogger. Here > is the link to my first post. > http://abhishekbhowmick.blogspot.in/2014/04/gsoc-2014-performance-optimization-with.html > I will keep updating the thread periodically with links to further posts. > > I will be using my Github to push the code I write. > https://github.com/abhowmick22/gnuradio > > > Looking forward to working with the community and eager to get started soon. > > Cheers, > Abhishek ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] GSoC participant ; Introduction, progress, plan etc
Hi everyone, I have been selected for GSoC 2014 under GNU Radio. I will be working on VOLK over the summer - my project proposal and GSoC page are as follows : 1. https://github.com/abhowmick22/GSoc14-Proposal/blob/master/gsoc-proposal.pdf 2. https://www.google-melange.com/gsoc/project/details/google/gsoc2014/abhowmick22/5700735861784576 Here are my essential details : Name : Abhishek Bhowmick Google ID : AbhishekBhowmick22 IRC nick : abhowmick22 University (will be joining) : Carnegie Mellon University, USA Field of Study :Computer Science For documenting my progress, I will use a blog hosted at Blogger. Here is the link to my first post. http://abhishekbhowmick.blogspot.in/2014/04/gsoc-2014-performance-optimization-with.html I will keep updating the thread periodically with links to further posts. I will be using my Github to push the code I write. https://github.com/abhowmick22/gnuradio Looking forward to working with the community and eager to get started soon. Cheers, Abhishek ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Google Summer of Code 2014 applicant : Optimization with VOLK
My current hardware doesn't support AVX2. How practical is it to develop software for AVX2 intrinsics using Intel's SW Development Emulator (and possible performance testing on a remote machine) ? Abhishek On Wed, Mar 19, 2014 at 5:39 AM, West, Nathan wrote: > Can you enter this through Melange? It should be sufficient to link to > your PDF/repo on Melange. > > It's good to see you were able to get control port and oprofile results. > > On Sat, Mar 15, 2014 at 4:37 AM, Abhishek Bhowmick > wrote: > > Here is the link for my first proposal draft : > > https://github.com/abhowmick22/GSoc14-Proposal > > > > I will keep revising it. Seeking feedback in meantime. Thanks all. > > > > Abhishek > > > > > > On Sat, Mar 15, 2014 at 3:37 AM, Martin Braun > > wrote: > >> > >> On 14.03.2014 19:27, Abhishek Bhowmick wrote: > >>> > >>> Hi, > >>> So, according to some suggestions, I looked into how I can potentially > >>> use better signal processing for the OFDM receiver. I was thinking of a > >>> LS estimator with higher order interpolation or an MMSE estimator for > >>> the channel estimator part. Also, a MMSE-DFE or Viterbi equalizer. > These > >>> will need matrix operations and other computations, which can > >>> potentially be developed into new volk kernels. > >>> 1. Are the computational complexities involved feasible in the current > >>> framework ? > >>> 2. Though they can give better BER in adverse channel conditions, can > >>> they do deliver more in terms of throughput/performance? > >>> 3. Is it a good idea to include such implementations alongside doing > new > >>> volk kernels in the same proposal ? > >> > >> > >> Abishek, > >> > >> at this point, please just put together a proposal and upload it so we > can > >> make sure it gets into Melange in time. > >> > >> M > >> > >>> > >>> Abhishek > >>> > >>> > >>> On Wed, Mar 12, 2014 at 3:38 AM, Florian Kaltenberger > >>> >>> <mailto:florian.kaltenber...@eurecom.fr>> wrote: > >>> > >>> Hi Nathan and Abhishek, > >>> > >>> > >>> On 10/03/2014 23:22, West, Nathan wrote: > >>>> > >>>> Ah! So there was a slight miscommunication. Yes, porting the > >>>> OpenAirInterfaces > >>>> SIMD code to VOLK is a good option as well. The turbo channel > >>>> coder/decoder > >>>> is part of that. I've**briefly** looked at the code to see what > is > >>>> > >>>> currently there, and > >>>> it's my understanding that the work involved will be to write > >>>> generic > >>>> C implementations > >>>> of vectorized code where the generic version does not exist. > Beyond > >>>> that porting to > >>>> newer/different ISAs (AVX or NEON depending on your preference and > >>>> hardware > >>>> availability). I think Florian is on the gr-discuss mailing list, > >>>> but > >>>> I've CCed him to > >>>> hopefully provide more details as he's more familiar with the > >>>> original > >>>> code base. > >>> > >>> I only joined this mailing list recently, so I probably missed a > >>> part of the discussion. Let me summarize briefly what > >>> OpenAirInterface can provide. We have optimized SIMD (SSE4) > >>> implementations of the LTE turbo encoder and decoder as well as the > >>> LTE tail-biting Viterbi encoder and decoder. We also have the > 802.11 > >>> Viterbi encoder and decoder. The only functions for which we have > >>> generic non-vectorized functional equivalents is the LTE turbo > >>> decoder. > >>> I am not sure I understand why it is necessary to write generic > >>> versions for the already optimized SIMD code. My idea was to port > >>> the optimized SIMD code from OpenAirInterface to VOLK, such that is > >>> can be used by GR applications. I am not familiar with VOLK (yet) > >>> but this might just be as easy as writing a wrapper function. > >>> As Nathan suggested, the more interesting part is probably to > >>> upgrade the code to AVX2 or similar. > >>> > >>> Cheers, > >>> Florian. > >>> > >>> > >>> > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Google Summer of Code 2014 applicant : Optimization with VOLK
Thanks. Will address these points. Project proposal is already on Melange, actual proposal is uploaded at : https://github.com/abhowmick22/GSoc14-Proposal Abhishek On Wed, Mar 19, 2014 at 11:49 PM, Michael Dickens wrote: > Hi Abhishek - Your proposal is coming along nicely! I'll 2nd (or, maybe > 3rd by now) encouraging you to get your proposal into Melange so that we > can comment on it there more. My up-front comment is that you probably > want to state that OpenAirInterface is wholly licensed under the GPLv2 ( > and hence the relevant portions can be ported to GNU Radio (assuming this > statement is true; licensing is important with discussion porting > programming) ... I think it would be useful for you to include a link to > the specific files in their repo: https://svn.eurecom.fr/openair4G/trunk/ > ... I can't find those files just by perusing. Looking forward to more > discussion on Melange. - MLD > > On Mar 15, 2014, at 5:37 AM, Abhishek Bhowmick > wrote: > > Here is the link for my first proposal draft : > > https://github.com/abhowmick22/GSoc14-Proposal > > I will keep revising it. Seeking feedback in meantime. Thanks all. > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Google Summer of Code 2014 applicant : Optimization with VOLK
Here is the link for my first proposal draft : https://github.com/abhowmick22/GSoc14-Proposal I will keep revising it. Seeking feedback in meantime. Thanks all. Abhishek On Sat, Mar 15, 2014 at 3:37 AM, Martin Braun wrote: > On 14.03.2014 19:27, Abhishek Bhowmick wrote: > >> Hi, >> So, according to some suggestions, I looked into how I can potentially >> use better signal processing for the OFDM receiver. I was thinking of a >> LS estimator with higher order interpolation or an MMSE estimator for >> the channel estimator part. Also, a MMSE-DFE or Viterbi equalizer. These >> will need matrix operations and other computations, which can >> potentially be developed into new volk kernels. >> 1. Are the computational complexities involved feasible in the current >> framework ? >> 2. Though they can give better BER in adverse channel conditions, can >> they do deliver more in terms of throughput/performance? >> 3. Is it a good idea to include such implementations alongside doing new >> volk kernels in the same proposal ? >> > > Abishek, > > at this point, please just put together a proposal and upload it so we can > make sure it gets into Melange in time. > > M > > >> Abhishek >> >> >> On Wed, Mar 12, 2014 at 3:38 AM, Florian Kaltenberger >> > <mailto:florian.kaltenber...@eurecom.fr>> wrote: >> >> Hi Nathan and Abhishek, >> >> >> On 10/03/2014 23:22, West, Nathan wrote: >> >>> Ah! So there was a slight miscommunication. Yes, porting the >>> OpenAirInterfaces >>> SIMD code to VOLK is a good option as well. The turbo channel >>> coder/decoder >>> is part of that. I've**briefly** looked at the code to see what is >>> >>> currently there, and >>> it's my understanding that the work involved will be to write generic >>> C implementations >>> of vectorized code where the generic version does not exist. Beyond >>> that porting to >>> newer/different ISAs (AVX or NEON depending on your preference and >>> hardware >>> availability). I think Florian is on the gr-discuss mailing list, but >>> I've CCed him to >>> hopefully provide more details as he's more familiar with the >>> original >>> code base. >>> >> I only joined this mailing list recently, so I probably missed a >> part of the discussion. Let me summarize briefly what >> OpenAirInterface can provide. We have optimized SIMD (SSE4) >> implementations of the LTE turbo encoder and decoder as well as the >> LTE tail-biting Viterbi encoder and decoder. We also have the 802.11 >> Viterbi encoder and decoder. The only functions for which we have >> generic non-vectorized functional equivalents is the LTE turbo >> decoder. >> I am not sure I understand why it is necessary to write generic >> versions for the already optimized SIMD code. My idea was to port >> the optimized SIMD code from OpenAirInterface to VOLK, such that is >> can be used by GR applications. I am not familiar with VOLK (yet) >> but this might just be as easy as writing a wrapper function. >> As Nathan suggested, the more interesting part is probably to >> upgrade the code to AVX2 or similar. >> >> Cheers, >> Florian. >> >> >> >> >> -- >> Regards; >> Abhishek Bhowmick, >> Senior Undergraduate, >> Department of Electrical Engineering, >> IIT Bombay. >> >> >> ___ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> > -- Regards; Abhishek Bhowmick, Senior Undergraduate, Department of Electrical Engineering, IIT Bombay. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Google Summer of Code 2014 applicant : Optimization with VOLK
Hi, So, according to some suggestions, I looked into how I can potentially use better signal processing for the OFDM receiver. I was thinking of a LS estimator with higher order interpolation or an MMSE estimator for the channel estimator part. Also, a MMSE-DFE or Viterbi equalizer. These will need matrix operations and other computations, which can potentially be developed into new volk kernels. 1. Are the computational complexities involved feasible in the current framework ? 2. Though they can give better BER in adverse channel conditions, can they do deliver more in terms of throughput/performance? 3. Is it a good idea to include such implementations alongside doing new volk kernels in the same proposal ? Abhishek On Wed, Mar 12, 2014 at 3:38 AM, Florian Kaltenberger < florian.kaltenber...@eurecom.fr> wrote: > Hi Nathan and Abhishek, > > > On 10/03/2014 23:22, West, Nathan wrote: > > Ah! So there was a slight miscommunication. Yes, porting the OpenAirInterfaces > SIMD code to VOLK is a good option as well. The turbo channel coder/decoder > is part of that. I've **briefly** looked at the code to see what is > currently there, and > it's my understanding that the work involved will be to write generic > C implementations > of vectorized code where the generic version does not exist. Beyond > that porting to > newer/different ISAs (AVX or NEON depending on your preference and hardware > availability). I think Florian is on the gr-discuss mailing list, but > I've CCed him to > hopefully provide more details as he's more familiar with the original > code base. > > I only joined this mailing list recently, so I probably missed a part of > the discussion. Let me summarize briefly what OpenAirInterface can provide. > We have optimized SIMD (SSE4) implementations of the LTE turbo encoder and > decoder as well as the LTE tail-biting Viterbi encoder and decoder. We also > have the 802.11 Viterbi encoder and decoder. The only functions for which > we have generic non-vectorized functional equivalents is the LTE turbo > decoder. > I am not sure I understand why it is necessary to write generic versions > for the already optimized SIMD code. My idea was to port the optimized SIMD > code from OpenAirInterface to VOLK, such that is can be used by GR > applications. I am not familiar with VOLK (yet) but this might just be as > easy as writing a wrapper function. > As Nathan suggested, the more interesting part is probably to upgrade the > code to AVX2 or similar. > > Cheers, > Florian. > > -- Regards; Abhishek Bhowmick, Senior Undergraduate, Department of Electrical Engineering, IIT Bombay. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gr-ctrlport
Paths were already updated. So that's not the issue I feel. I will retry using the build-gnuradio script to ensure nothing was wrong with downloaded tarball. On Wed, Mar 12, 2014 at 3:14 PM, Tom Rondeau wrote: > On Wed, Mar 12, 2014 at 7:12 AM, Abhishek Bhowmick > wrote: > > I am building GNU Radio 3.7.3 from source and wish to > > enable the CTRLPORT module. I have already installed > > Ice-3.5.1 for C++ in the location /opt/Ice-3.5.1 > > (satisfying required dependencies) > > My current gcc version is 4.8.1 > > But, cmake is not able to locate ice 3.5.1 and hence disables support > > for gr-ctrlport. > > I tried by passing the flags, -DICE_MANUALL_INSTALL_PATH=/opt/Ice-2.5.1/ > > and -DENABLE_GR_CTRLPORT=ON, but to no avail. Any suggestions ? > > > > Here is the relevant cmake output : > > > > > -- > > -- Python checking for Ice >= 3.5 > > -- Python checking for Ice >= 3.5 - not found > > -- ICE 3.5 not found. Looking for 3.4 > > -- package 'Ice-3.4' not found > > -- > > -- Configuring gr-ctrlport support... > > -- Dependency Boost_FOUND = TRUE > > -- Dependency SWIG_FOUND = TRUE > > -- Dependency SWIG_VERSION_CHECK = TRUE > > -- Dependency ICE_FOUND = > > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > > -- Disabling gr-ctrlport support. > > -- Override with -DENABLE_GR_CTRLPORT=ON/OFF > > > > > > > I couldn't build python extensions for ice 3.5.1 on ubuntu 12.04 > (something > > wrong with the tarball available for download). Has anyone got this to > work > > correctly ? > > Else, do I have to revert to ice 3.4.x with something less than gcc-4.6 ? > > > > Abhishek > > > Python needs to know where the Ice module is and be able to run it, > which means your system needs to know where libIce.so is. In other > words, you need to set your PYTHONPATH to include > /opt/Ice-3.5.1/python and LD_LIBRARY_PATH to include > /opt/Ice-3.5.1/lib. > > Tom > -- Regards; Abhishek Bhowmick, Senior Undergraduate, Department of Electrical Engineering, IIT Bombay. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] gr-ctrlport
I am building GNU Radio 3.7.3 from source and wish to enable the CTRLPORT module. I have already installed Ice-3.5.1 for C++ in the location /opt/Ice-3.5.1 (satisfying required dependencies) My current gcc version is 4.8.1 But, cmake is not able to locate ice 3.5.1 and hence disables support for gr-ctrlport. I tried by passing the flags, -DICE_MANUALL_INSTALL_PATH=/opt/Ice-2.5.1/ and -DENABLE_GR_CTRLPORT=ON, but to no avail. Any suggestions ? Here is the relevant cmake output : -- -- Python checking for Ice >= 3.5 -- Python checking for Ice >= 3.5 - not found -- ICE 3.5 not found. Looking for 3.4 -- package 'Ice-3.4' not found -- -- Configuring gr-ctrlport support... -- Dependency Boost_FOUND = TRUE -- Dependency SWIG_FOUND = TRUE -- Dependency SWIG_VERSION_CHECK = TRUE -- Dependency ICE_FOUND = -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Disabling gr-ctrlport support. -- Override with -DENABLE_GR_CTRLPORT=ON/OFF I couldn't build python extensions for ice 3.5.1 on ubuntu 12.04 (something wrong with the tarball available for download). Has anyone got this to work correctly ? Else, do I have to revert to ice 3.4.x with something less than gcc-4.6 ? Abhishek ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Google Summer of Code 2014 applicant : Optimization with VOLK
Hello, I would like to clarify some things : 1. I feel it is tough to beat spiral implementations through manual vectorization, performance wise. If so, is readability the prime and only reason for using intrinsics manually, and hence of value to the community ? 2. What is currently the state of adding support for sse4, neon in stock volk kernels (project ideas page mentions some work is under way) ? Would be great if someone who is working on this already shares his branch, so that I may know how much/if any work is needed in this before moving on to avx. Of course, new kernels will need support for all. 3. How feasible/useful does it sound to incorporate the newly added idea of 'turbo equalizer' within the ofdm system ? Are the requirements of the proposed equalizer overkill for the ofdm blocks? Abhishek On Wed, Feb 26, 2014 at 1:49 AM, Abhishek Bhowmick wrote: > Thanks everyone. These are quite a few pointers, I will spend some time > digesting it all. > > So there are really two approaches, large complex kernels on > one hand and AVX2/AVX/FMA on the other, or a combination of the two. > > I guess I should propose identifying and implementing larger complex kernels > and then further accelerating using AVX2/FMA etc. Doing both will of > course limit the > number of applications/algorithms I can feasibly target. What's your take on > this ? > > Abhishek > > On Wed, Feb 26, 2014 at 5:03 AM, West, Nathan > wrote: >> On Tue, Feb 25, 2014 at 4:37 PM, West, Nathan >> wrote: >>>> > On Sun, 2/23/14, Abhishek Bhowmick >>>> wrote: >>>> > >>>> > Subject: [Discuss-gnuradio] Google Summer of Code >>>> 2014 applicant : Optimization with VOLK >>>> > To: discuss-gnuradio@gnu.org >>>> > Date: Sunday, February 23, 2014, 8:52 AM >>>> > >>>> > Hello, >>>> > I have completed a Bachelor's degree in >>>> > Electrical Engineering from IIT Bombay, India and >>>> will be >>>> > joining a masters program in Computer Science in >>>> August. For >>>> > the summer, I am interested in participating GSoC >>>> 2014 and >>>> > GNU Radio is an organization wheAbhishekre my background >>>> fits >>>> > nicely. >>>> > >>>> >> > >>> >>>> > I went through the ideas page and was >>>> > particularly interested in doing performance >>>> optimization >>>> > with VOLK. After going through some online >>>> documentation >>>> > about the library and the SDR'12 paper, I >>>> realised that >>>> > following areas need work : >>>> > >>>> > 1. Profiling GNU radio code to identify new >>>> > kernels and implement them for existing Intel >>>> SIMD >>>> > extensions, also porting kernels to other ISA >>>> extensions. >>>> > 2. Better testing of the effects of more complex >>>> > scheduler logic on larger environments (beyond >>>> simple >>>> > kernels) >>>> > >>>> > 3. Exploring extension of Volk to GPU ISAs, to >>>> > leverage chips such as AMD Fusion (However, this >>>> seems to >>>> > more research than software development) >>>> > >>>> > According to the GSoC proposal, point (1) seems >>>> > to be the expectation. Given this, I would like >>>> some advice >>>> > on how to go ahead looking for potential ideas >>>> (and some >>>> > feedback on feasibility of the other ideas as >>>> well) >>>> > >>>> > >>>> > My background : C++, Python, Signal Processing, >>>> > Computer Architecture >>>> > >>>> > Thanks, >>>> > Abhishek Bhowmick >>>> > >>> >>> >>> This is a great conversation, and I'll take the opportunity to plug >>> the up coming VOLK working group call >>> (https://plus.google.com/u/1/events/ch3jrjcvp7mdiqelpismfieg3n0). >>> Bogdan, your results aren't particula> > >>> >>> rly surprising, but the feedback is really good to hear. >>> >>> Back to GSoC: >>> >>> Abhishek, >>> >>>>Thanks
Re: [Discuss-gnuradio] Google Summer of Code 2014 applicant : Optimization with VOLK
Thanks everyone. These are quite a few pointers, I will spend some time digesting it all. So there are really two approaches, large complex kernels on one hand and AVX2/AVX/FMA on the other, or a combination of the two. I guess I should propose identifying and implementing larger complex kernels and then further accelerating using AVX2/FMA etc. Doing both will of course limit the number of applications/algorithms I can feasibly target. What's your take on this ? Abhishek On Wed, Feb 26, 2014 at 5:03 AM, West, Nathan wrote: > On Tue, Feb 25, 2014 at 4:37 PM, West, Nathan > wrote: >>> > On Sun, 2/23/14, Abhishek Bhowmick >>> wrote: >>> > >>> > Subject: [Discuss-gnuradio] Google Summer of Code >>> 2014 applicant : Optimization with VOLK >>> > To: discuss-gnuradio@gnu.org >>> > Date: Sunday, February 23, 2014, 8:52 AM >>> > >>> > Hello, >>> > I have completed a Bachelor's degree in >>> > Electrical Engineering from IIT Bombay, India and >>> will be >>> > joining a masters program in Computer Science in >>> August. For >>> > the summer, I am interested in participating GSoC >>> 2014 and >>> > GNU Radio is an organization wheAbhishekre my background >>> fits >>> > nicely. >>> > >>> >> > >> >>> > I went through the ideas page and was >>> > particularly interested in doing performance >>> optimization >>> > with VOLK. After going through some online >>> documentation >>> > about the library and the SDR'12 paper, I >>> realised that >>> > following areas need work : >>> > >>> > 1. Profiling GNU radio code to identify new >>> > kernels and implement them for existing Intel >>> SIMD >>> > extensions, also porting kernels to other ISA >>> extensions. >>> > 2. Better testing of the effects of more complex >>> > scheduler logic on larger environments (beyond >>> simple >>> > kernels) >>> > >>> > 3. Exploring extension of Volk to GPU ISAs, to >>> > leverage chips such as AMD Fusion (However, this >>> seems to >>> > more research than software development) >>> > >>> > According to the GSoC proposal, point (1) seems >>> > to be the expectation. Given this, I would like >>> some advice >>> > on how to go ahead looking for potential ideas >>> (and some >>> > feedback on feasibility of the other ideas as >>> well) >>> > >>> > >>> > My background : C++, Python, Signal Processing, >>> > Computer Architecture >>> > >>> > Thanks, >>> > Abhishek Bhowmick >>> > >> >> >> This is a great conversation, and I'll take the opportunity to plug >> the up coming VOLK working group call >> (https://plus.google.com/u/1/events/ch3jrjcvp7mdiqelpismfieg3n0). >> Bogdan, your results aren't particula> > >> >> rly surprising, but the feedback is really good to hear. >> >> Back to GSoC: >> >> Abhishek, >> >>>Thanks for the pointers to gr-atsc and gr-80211. I have started >>>looking there as a >>>starting point. Are there similar modules which are undergoing volk >>>speedup fixes? >>>I am also trying to meet up with other people who have been using GNU radio >>>to identify potential modules for acceleration. As you are now a >>>mentor organization, I feel it's a good time for us to get into >>>detailed discussions. >> >> From the previous discussion it should be apparent that how algorithms >> are implemented will make the biggest difference, and that the new >> acceleration is primarily going to come from larger more complex >> kernels. At the end of the day it's going to be your proposal. So far >> on the list of places to look we have >> >> * in-tree OFDM (contact Martin) >> * gr-atsc (use Andrew Davis' fork) >> * gr-dvbt >> * gr-fecapi >> >> For your proposal I would recommend looking at their code, then >> getting in contact with the author(s) of those modules to ask about >> their thoughts on accelerating blocks they have written. The reality >> of this project is that we are accelerating som
Re: [Discuss-gnuradio] Google Summer of Code 2014 applicant : Optimization with VOLK
On Mon, Feb 24, 2014 at 9:00 PM, Tom Rondeau wrote: > On Mon, Feb 24, 2014 at 12:15 AM, West, Nathan > wrote: >> On Sun, Feb 23, 2014 at 12:52 AM, Abhishek Bhowmick >> wrote: >>> Hello, >>> I have completed a Bachelor's degree in Electrical Engineering from IIT >>> Bombay, India and will be joining a masters program in Computer Science in >>> August. For the summer, I am interested in participating GSoC 2014 and GNU >>> Radio is an organization where my background fits nicely. >>> >>> I went through the ideas page and was particularly interested in doing >>> performance optimization with VOLK. >> >> Great to hear. Just keep in mind we have another ~13 hours before we >> as an organization >> know whether we were accepted or not. >> >>> After going through some online >>> documentation about the library and the SDR'12 paper, I realised that >>> following areas need work : >>> 1. Profiling GNU radio code to identify new kernels and implement them for >>> existing Intel SIMD extensions, also porting kernels to other ISA >>> extensions. >>> 2. Better testing of the effects of more complex scheduler logic on larger >>> environments (beyond simple kernels) >>> 3. Exploring extension of Volk to GPU ISAs, to leverage chips such as AMD >>> Fusion (However, this seems to more research than software development) >>> >>> According to the GSoC proposal, point (1) seems to be the expectation. Given >>> this, I would like some advice on how to go ahead looking for potential >>> ideas (and some feedback on feasibility of the other ideas as well) >>> >>> My background : C++, Python, Signal Processing, Computer Architecture >>> >>> Thanks, >>> Abhishek Bhowmick >>> >> >> Abhishek, >> >> Right, so points 1 and 2 are what I had in mind when I wrote the idea >> on our list. Point 3 >> is technically possible to do in VOLK, but probably not really worth >> using GPUs in this way >> since the transport costs would dwarf any acceleration from the >> current VOLK kernel. That said, >> there's nothing really wrong with a proposal that is on a research >> area, but I do think we would want >> code and something contributed back to the community at the end of the >> project. Also, don't let that >> prevent you from submitting a proposal about GPU programming if that's >> what you're interested in, it's >> probably just not best targeted for VOLK. My understanding of GSoC >> proposals is that you can submit >> any number,so you can submit one for doing some GPU acceleration and >> another for something more >> related to VOLK. > > > I agree with Nathan that VOLK is probably not the right abstraction > for GPUs. The Fusion concept with the GPU and GPP on the same die is > compelling, but maybe too specific. There is another project called > gr-gpu that's focusing on the GPU problem more generally. > >> So for points 1 and 2 it would be good to see a specific algorithm or >> module that you think would >> benefit from moving to VOLK, which would take some research on your >> part. I think gr-atsc is a >> good place to look for some acceleration gains, and it would be good >> to see that application run >> real time. One of the things I had in mind is accelerating OFDM frame >> sync. Martin's ofdm_{rx,tx} >> and gr-80211 are good examples where they use blocks that have VOLK >> kernels in them to do the >> sync, but that's somewhat inefficient because we move data in and out >> of SIMD registers. Of course >> there's the old trade-off of modularization and code re-use vs. speed. >> I'd be glad to discuss this and >> similar ideas more once we know we are accepted as an org. There's one >> more possibility that recently >> came up, but I'd like to wait until things are official before >> recommending it (and I'll need to talk with >> other interested parties). > > We're working with Andrew Davis on updating gr-atsc > (https://github.com/glneo/gnuradio/tree/atscfixup). If you decide to > focus on ATSC speedups with VOLK, look into that project instead of > the one inside gnuradio (which will be deprecated). > > Tom > Firstly, congratulations on being accepted as a mentor organization. Thanks for the pointers to gr-atsc and gr-80211. I have started looking there as a starting point. Are there similar modules which are undergoing volk speedup fixes? I am also trying to meet up with other p
[Discuss-gnuradio] Google Summer of Code 2014 applicant : Optimization with VOLK
Hello, I have completed a Bachelor's degree in Electrical Engineering from IIT Bombay, India and will be joining a masters program in Computer Science in August. For the summer, I am interested in participating GSoC 2014 and GNU Radio is an organization where my background fits nicely. I went through the ideas page and was particularly interested in doing performance optimization with VOLK. After going through some online documentation about the library and the SDR'12 paper, I realised that following areas need work : 1. Profiling GNU radio code to identify new kernels and implement them for existing Intel SIMD extensions, also porting kernels to other ISA extensions. 2. Better testing of the effects of more complex scheduler logic on larger environments (beyond simple kernels) 3. Exploring extension of Volk to GPU ISAs, to leverage chips such as AMD Fusion (However, this seems to more research than software development) According to the GSoC proposal, point (1) seems to be the expectation. Given this, I would like some advice on how to go ahead looking for potential ideas (and some feedback on feasibility of the other ideas as well) My background : C++, Python, Signal Processing, Computer Architecture Thanks, Abhishek Bhowmick ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] compile/install one component
Hi, We want to modify the source of a single component, compile it and then reinstall it. Is it possible to do so or I have to install the whole gnuradio? If code breaks, is it easy to revert back just by reinstalling the original component again? Thanks, Abhi. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] uhd installer(build-gnuradio) got stuck
Hi Josh, I am not sure if that component was enabled or not. Since while installing gnuradio I didn't see that they specified enabling this component. So last night I tried running the build-gnuradio script( http://www.sbrac.org/files/build-gnuradio ) without prereqs and let it build/install uhd and gnuradio. Since that script suppose to install both the components, I assumed that it will take care of enabling gr-uhd. After installation was done, I was still getting the same message: ImportError: cannot import name uhd If gr-uhd need to enable manually, can anyone tell me how to do it? Is there anything else I could try? Thanks, Abhi. Josh Blum wrote: After installation, when we tried importing uhd in python, we get this message: from gnuradio import uhd Traceback (most recent call last): File "", line 1, in ImportError: cannot import name uhd So I thought I may have missed something while installing uhd and so I tried installing it with the script. Do I need to install any other module Did you install gnuradio with the gr-uhd component enabled? -Josh ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] uhd installer(build-gnuradio) got stuck
Hi Nemanja, I already have gnuradio installed on my machine. I was actually trying to install uhd with that script. Since that script didn't work for me, I followed these steps to install uhd written in the script: *git clone git://code.ettus.com/ettus/uhd.git >/dev/null 2>&1 cd uhd/host mkdir build cd build cmake ../ >cmake.log 2>&1 make clean >/dev/null 2>&1 make >make.log 2>&1 make install >UHD_install.log 2>&1 ldconfig* After installation, when we tried importing uhd in python, we get this message: *>>> from gnuradio import uhd Traceback (most recent call last): File "", line 1, in ImportError: cannot import name uhd* So I thought I may have missed something while installing uhd and so I tried installing it with the script. Do I need to install any other module? Thanks, Abhi. Nemanja Trecakov wrote: >Hi, > >I am trying to install uhd on one of my ubuntu lucid using the script build-gnuradio I downloaded from website http://code.ettus.com/redmine/ettus/projects/uhd/wiki >It started fine but got stuck at: *>Continuing with script >Installing pre-prequisites... * Hi, I had the same problem last week. I assume you used the script from http://www.sbrac.org/files/build-gnuradio. If you open the script and study a little bit, you can find that your installation is stuck at this particular point: - # # It's a Ubuntu system # elif [ -f /etc/lsb-release ] then SYSTYPE=Ubuntu sudo apt-get purge 'gnuradio-*' >/dev/null 2>&1 sudo apt-get purge 'libgruel-*' >/dev/null 2>&1 sudo apt-get purge 'libgruel*' >/dev/null 2>&1 sudo apt-get purge 'libgruel0*' >/dev/null 2>&1 sudo apt-get purge 'libgnuradio*' >/dev/null 2>&1 sudo apt-get purge 'python-gnuradio*' >/dev/null 2>&1 This is around line 160. You can see that the outputs and errors from the processes of "purging" these components is directed towards >/dev/null. This means that even if you get any error or you get promted by installer about anything, you do not see it. It is quite nice property when everything goes as expected. My solution - Install these components separately without >/dev/null 2>&1. You write in the terminal: $ sudo apt-get purge 'gnuradio-*' Now you get all the results printed on the screen, and you can understand what went wrong. Do this for each component of these six written above. After it is done successfully, try again with the script from the beginning, and everything should function and install properly. >I left it like this for about an hour assuming that it is doing something at the background but nothing happened. >Is there anything I need to do before using this script? Please suggest. >Thanks, >Abhi. I also left mine over night, but the bash is stuck and it does not help. P.S. I also got a message " make of UHD failed", so I went into the script and tried to run some steps before the message alone in the terminal, and I found out that I had to reinstall cmake. After I did this, I started the script again, and it worked! If you get any more problems, just try to study the script and you will find it out. Cheers Nemanja ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Accessing commedi drivers through gnuradio
Hi all, I want to access comedi drivers using gnuradio. comedi provides drivers for 600+ DAQ cards. Is there any documentation available for same. Thanks, Abhishek. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] USRP2 hitch
Setting up the Static IP worked.. thanks for all the help.. Abhi On Wed, Jun 23, 2010 at 1:36 PM, Josh Blum wrote: > find_usrps wont do you any good, its for raw ethernet gr-libusrp2 > > You probably have a network setup issue: > http://www.ettus.com/uhd_docs/manual/html/usrp2.html#setup-networking > > I recommend disabling firewall, setting your static IP. If you still have > issues use wireshark and/or a serial adapter on the usrp2. > > -Josh > > > On 06/23/2010 09:35 AM, Abhishek B wrote: > >> hi all >> I have access to a USRP2 board. I recently loaded the new firmware and >> fpga >> images onto it, which have UHD support i.e. To be precise, the firmware >> image was the one released on 21st june and the fpga image was the one >> released on the 15th of june, found on the Ettus website. >> I have been trying to detect the usrp boards with the commands >> "find_usrps". >> It still says "No USRP2 found". >> Apart from this, I also tried to build the uhd according to the >> documentation given on the ettus site. After the build, I also ran the >> "uhd_find_devices" . It says "no UHD devices found" >> Is there something wrong with the images or am I doing something wrong? >> please help >> Thanks a lot >> >> >> >> ___ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > -- Abhi ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] USRP2 hitch
hi all I have access to a USRP2 board. I recently loaded the new firmware and fpga images onto it, which have UHD support i.e. To be precise, the firmware image was the one released on 21st june and the fpga image was the one released on the 15th of june, found on the Ettus website. I have been trying to detect the usrp boards with the commands "find_usrps". It still says "No USRP2 found". Apart from this, I also tried to build the uhd according to the documentation given on the ettus site. After the build, I also ran the "uhd_find_devices" . It says "no UHD devices found" Is there something wrong with the images or am I doing something wrong? please help Thanks a lot -- Abhi ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] 80211b problem
Hello Everyone, I am using bbn_80211b_rx.py code and I am getting error No module named bbn_80211b_pkt I think, I don't have the above mention module. can some one tell me where I can find this module. Thanks - Never miss a thing. Make Yahoo your homepage.___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Modulation Technique
Hello Everyone, Can any one tell me, the default modulation technique used by USRP board. And also where I find the complete description of USRP board in detail. - Get easy, one-click access to your favorites. Make Yahoo! your homepage.___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio