# Issues moving gr-modtool blocks between OSs

**URL:** <https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487>\
**Category:** GNU Radio\
**Created:** [January 10, 2013, 5:24pm UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487 "2013-01-10T17:24:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [January 10, 2013, 5:24pm UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/1 "2013-01-10T17:24:59Z")

</div>

Dear Gnuradio Mailing List,

I created a gr-modtool block on my Ubuntu machine; it works well, but  
I want to run it on my Gentoo machine. At first, I thought I could just  
copy over the module in dist-packages, but that doesn’t seem to work:

I copied my custom module from:  
/usr/local/lib/python2.7/dist-packages/tom  
to (on my gentoo machine): /usr/lib/python2.7/site-packages/

I then tried an import and got the following error:

> > > import tom  
> > > Traceback (most recent call last):  
> > > File “”, line 1, in   
> > > File “/usr/lib/python2.7/site-packages/tom/ **init**.py”, line 45, in  
> > >   
> > > from tom\_swig import \*  
> > > File “/usr/lib/python2.7/site-packages/tom/tom\_swig.py”, line 26, in  
> > >   
> > > \_tom\_swig = swig\_import\_helper()  
> > > File “/usr/lib/python2.7/site-packages/tom/tom\_swig.py”, line 22, in  
> > > swig\_import\_helper  
> > > \_mod = imp.load\_module(’\_tom\_swig’, fp, pathname, description)  
> > > ImportError: /usr/lib/python2.7/site-packages/tom/\_tom\_swig.so: wrong  
> > > ELF class: ELFCLASS64

This indicates that I need to rebuild my module. Is there a way to build  
a 32-bit version of the module on a 64 bit machine?

```
               Sincerely,
      Tommy James Tracy II
        PhD Student

```

High Performance Low Power Lab  
University of Virginia

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [January 10, 2013, 6:52pm UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/2 "2013-01-10T18:52:36Z")

</div>

Tommy

You need to re-compile the source of the module in the gentoo computer  
because the libs and so many things is diferent in Gentoo vs Ubuntu  
copy all project created by gr-modtool from ubuntu to gentoo and run in  
gentoo:

cd /path/your\_blocks  
rm build/ -rf  
mkdir build  
cd build  
cmake ../  
make  
sudo make install

2013/1/10 Tommy T. II [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> > > > import tom  
> > > > \_mod = imp.load\_module(‘\_tom\_swig’, fp, pathname, description)  
> > > > University of Virginia
> 
> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

–  
Cumprimentos,

José Quaresma

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [January 11, 2013, 1:59am UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/3 "2013-01-11T01:59:46Z")

</div>

Dear tzopik,

Thank you for your help! Unfortunately, I didn’t build gnuradio from  
source, so I am trying to do that now. I am installing it on gentoo and  
following the gentoo instructions:  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/GentooInstall](http://gnuradio.org/redmine/projects/gnuradio/wiki/GentooInstall)

1. emerge swig fftw cppunit boost alsa-lib sdcc guile wxpython xmlto  
numpy gsl
2. git clone git://github.com/gnuradio/gnuradio.git
3. cd ./gnuradio; mkdir build; cd build
4. cmake -DCMAKE\_INSTALL\_PREFIX=/usr  
-DQWT\_INCLUDE\_DIRS=/usr/include/qwt5 ../

At this point it looks like a bunch of errors occurred. I don’t need  
anything gui-related, because this computer is headless.

## XPedite7170 build # cmake -DCMAKE\_INSTALL\_PREFIX=/usr -DQWT\_INCLUDE\_DIRS=/usr/include/qwt5 ../ – The CXX compiler identification is GNU – The C compiler identification is GNU – 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/gcc – Check for working C compiler: /usr/bin/gcc – works – Detecting C compiler ABI info – Detecting C compiler ABI info - done – Build type not specified: defaulting to release. – Found Git: /usr/bin/git – Extracting version information from git describe… – Performing Test HAVE\_VISIBILITY\_HIDDEN – Performing Test HAVE\_VISIBILITY\_HIDDEN - Success – Performing Test HAVE\_WARN\_SIGN\_COMPARE – Performing Test HAVE\_WARN\_SIGN\_COMPARE - Success – Performing Test HAVE\_WARN\_ALL – Performing Test HAVE\_WARN\_ALL - Success – Performing Test HAVE\_WARN\_NO\_UNINITIALIZED – Performing Test HAVE\_WARN\_NO\_UNINITIALIZED - Success – Found PythonLibs: /usr/lib/libpython2.7.so – Found SWIG: /usr/bin/swig (found version “2.0.4”) – Minimum SWIG version required is 1.3.31

## – The build system will automatically enable all components. – Use -DENABLE\_DEFAULT=OFF to disable components by default.

## – Configuring python-support support… – Dependency PYTHONLIBS\_FOUND = TRUE – Dependency SWIG\_FOUND = TRUE – Dependency SWIG\_VERSION\_CHECK = TRUE – Enabling python-support support. – Override with -DENABLE\_PYTHON=ON/OFF – checking for module ‘cppunit’ – found cppunit, version 1.12.1 – Found CPPUNIT: /usr/lib/libcppunit.so;dl

## – Configuring testing-support support… – Dependency CPPUNIT\_FOUND = TRUE – Enabling testing-support support. – Override with -DENABLE\_TESTING=ON/OFF

– Configuring volk support…  
– Enabling volk support.  
– Override with -DENABLE\_VOLK=ON/OFF  
CMake Error at CMakeLists.txt:218 (add\_subdirectory):  
add\_subdirectory given source “volk” which is not an existing  
directory.

## – Could NOT find Doxygen (missing: DOXYGEN\_EXECUTABLE) – Could NOT find Sphinx (missing: SPHINX\_EXECUTABLE)

## – Configuring doxygen support… – Dependency DOXYGEN\_FOUND = NO – Disabling doxygen support. – Override with -DENABLE\_DOXYGEN=ON/OFF

– Configuring sphinx support…  
– Dependency SPHINX\_FOUND = FALSE  
– Disabling sphinx support.  
– Override with -DENABLE\_SPHINX=ON/OFF  
CMake Error at CMakeLists.txt:245 (add\_subdirectory):  
add\_subdirectory given source “gruel” which is not an existing  
directory.

## – Boost version: 1.46.1 – Found the following Boost libraries: – date\_time – program\_options – filesystem – system – thread – checking for module ‘fftw3f \>= 3.0’ – found fftw3f , version 3.2.2 – Found FFTW3F: /usr/lib/libfftw3f.so – Found PythonInterp: /usr/bin/python (found version “2.7.3”)

– Configuring gnuradio-core support…  
– Dependency ENABLE\_GRUEL =  
– Dependency ENABLE\_VOLK = ON  
– Dependency Boost\_FOUND = TRUE  
– Dependency FFTW3F\_FOUND = TRUE  
– Dependency PYTHONINTERP\_FOUND = TRUE  
– Disabling gnuradio-core support.  
– Override with -DENABLE\_GR\_CORE=ON/OFF  
CMake Error at CMakeLists.txt:247 (add\_subdirectory):  
add\_subdirectory given source “grc” which is not an existing  
directory.

CMake Error at CMakeLists.txt:249 (add\_subdirectory):  
add\_subdirectory given source “gr-fft” which is not an existing  
directory.

CMake Error at CMakeLists.txt:250 (add\_subdirectory):  
add\_subdirectory given source “gr-filter” which is not an existing  
directory.

CMake Error at CMakeLists.txt:251 (add\_subdirectory):  
add\_subdirectory given source “gr-atsc” which is not an existing  
directory.

CMake Error at CMakeLists.txt:252 (add\_subdirectory):  
add\_subdirectory given source “gr-audio” which is not an existing  
directory.

CMake Error at CMakeLists.txt:253 (add\_subdirectory):  
add\_subdirectory given source “gr-comedi” which is not an existing  
directory.

CMake Error at CMakeLists.txt:254 (add\_subdirectory):  
add\_subdirectory given source “gr-analog” which is not an existing  
directory.

CMake Error at CMakeLists.txt:255 (add\_subdirectory):  
add\_subdirectory given source “gr-digital” which is not an existing  
directory.

CMake Error at CMakeLists.txt:256 (add\_subdirectory):  
add\_subdirectory given source “gr-noaa” which is not an existing  
directory.

CMake Error at CMakeLists.txt:257 (add\_subdirectory):  
add\_subdirectory given source “gr-pager” which is not an existing  
directory.

CMake Error at CMakeLists.txt:258 (add\_subdirectory):  
add\_subdirectory given source “gr-qtgui” which is not an existing  
directory.

CMake Error at CMakeLists.txt:259 (add\_subdirectory):  
add\_subdirectory given source “gr-trellis” which is not an existing  
directory.

CMake Error at CMakeLists.txt:260 (add\_subdirectory):  
add\_subdirectory given source “gr-uhd” which is not an existing  
directory.

CMake Error at CMakeLists.txt:261 (add\_subdirectory):  
add\_subdirectory given source “gr-shd” which is not an existing  
directory.

CMake Error at CMakeLists.txt:262 (add\_subdirectory):  
add\_subdirectory given source “gr-utils” which is not an existing  
directory.

CMake Error at CMakeLists.txt:263 (add\_subdirectory):  
add\_subdirectory given source “gr-video-sdl” which is not an existing  
directory.

CMake Error at CMakeLists.txt:264 (add\_subdirectory):  
add\_subdirectory given source “gr-vocoder” which is not an existing  
directory.

CMake Error at CMakeLists.txt:265 (add\_subdirectory):  
add\_subdirectory given source “gr-fcd” which is not an existing  
directory.

CMake Error at CMakeLists.txt:266 (add\_subdirectory):  
add\_subdirectory given source “gr-wavelet” which is not an existing  
directory.

CMake Error at CMakeLists.txt:267 (add\_subdirectory):  
add\_subdirectory given source “gr-wxgui” which is not an existing  
directory.

CMake Error at CMakeLists.txt:268 (add\_subdirectory):  
add\_subdirectory given source “gr-blocks” which is not an existing  
directory.

## – – ###################################################### – # Gnuradio enabled components – ###################################################### – \* python-support – \* testing-support – \* volk

## – ###################################################### – # Gnuradio disabled components – ###################################################### – \* doxygen – \* sphinx – \* gnuradio-core

– Using install prefix: /usr  
– Building for version: 3.6.1git-576-g3abf4a11 / 3.6.4git  
– Configuring incomplete, errors occurred!

I do want the gnuradio-core enabled though. Does the current installer  
work with Gentoo?

```
               Sincerely,
      Tommy James Tracy II
        PhD Student

```

High Performance Low Power Lab  
University of Virginia

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [January 11, 2013, 4:57am UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/4 "2013-01-11T04:57:56Z")

</div>

I tried installing using  
[http://gnuradio.org/releases/gnuradio/gnuradio-3.6.3.tar.gz](http://gnuradio.org/releases/gnuradio/gnuradio-3.6.3.tar.gz)

There were a few packages missing that I needed to download: cheetah  
PyQt4

I then ran cmake: cmake -DCMAKE\_INSTALL\_PREFIX=/usr  
-DQWT\_INCLUDE\_DIRS=/usr/include/qwt5 …/  
The build completed, but several of the build tests fail.

The following tests FAILED:  
1 - qa\_volk\_test\_all (Failed)  
5 - gr-core-test-all (Failed)  
81 - test\_gr\_filter (Failed)  
84 - qa\_fft\_filter (Failed)  
88 - qa\_adaptive\_fir\_filter (Failed)  
90 - qa\_hilbert (Failed)  
96 - qa\_rational\_resampler (Failed)  
97 - qa\_filter\_delay\_fc (Failed)  
98 - qa\_pfb\_arb\_resampler (Failed)  
99 - qa\_fir\_filter (Failed)  
100 - qa\_channel\_model (Failed)  
101 - qa\_freq\_xlating\_fir\_filter (Failed)  
110 - qa\_ctcss\_squelch (Failed)  
131 - qa\_constellation\_receiver (Failed)  
Errors while running CTest  
make: \*\*\* [test] Error 8

I tried using cTest and got the following errors:

XPedite7370 build # ctest -V -R qa\_volk\_test\_all  
UpdateCTestConfiguration from  
:/root/src/gnuradio-3.6.3/build/DartConfiguration.tcl  
UpdateCTestConfiguration from  
:/root/src/gnuradio-3.6.3/build/DartConfiguration.tcl  
Test project /root/src/gnuradio-3.6.3/build  
Constructing a list of tests  
Done constructing a list of tests  
Checking test dependency graph…  
Checking test dependency graph end  
test 1  
Start 1: qa\_volk\_test\_all

1: Test command: /root/src/gnuradio-3.6.3/build/volk/lib/test\_all  
1: Test timeout computed to be: 9.99988e+06  
1: Running 92 test cases…  
1: Using Volk machine: sse4\_2\_32\_orc  
1: RUN\_VOLK\_TESTS: volk\_16ic\_s32f\_deinterleave\_real\_32f\_a  
1: sse4\_1 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_16ic\_deinterleave\_real\_8i\_a  
1: ssse3 completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: ssse3  
1: RUN\_VOLK\_TESTS: volk\_16ic\_deinterleave\_16i\_x2\_a  
1: ssse3 completed in 0s  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: ssse3  
1: RUN\_VOLK\_TESTS: volk\_16ic\_s32f\_deinterleave\_32f\_x2\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_16ic\_deinterleave\_real\_16i\_a  
1: ssse3 completed in 0s  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: ssse3  
1: RUN\_VOLK\_TESTS: volk\_16ic\_magnitude\_16i\_a  
1: sse3 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_16ic\_s32f\_magnitude\_32f\_a  
1: sse3 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_16i\_s32f\_convert\_32f\_a  
1: sse4\_1 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_16i\_s32f\_convert\_32f\_u  
1: sse4\_1 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_16i\_convert\_8i\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_16i\_convert\_8i\_u  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_16u\_byteswap\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_16u\_byteswap\_u  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32f\_accumulator\_s32f\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_add\_32f\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_add\_32f\_u  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32fc\_32f\_multiply\_32fc\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: offset 2 in1: 0.0993798 in2: -0.0764461  
1: offset 3 in1: 0.0125911 in2: -0.00968545  
1: offset 7 in1: 0.186311 in2: 0.684512  
1: offset 10 in1: 0.603073 in2: 0.54498  
1: offset 12 in1: 0.156199 in2: -0.0389959  
1: offset 15 in1: 0.0559507 in2: -0.0278312  
1: offset 17 in1: 0.46997 in2: 0.662043  
1: offset 19 in1: 0.498347 in2: -0.521947  
1: offset 21 in1: 0.392071 in2: 0.794964  
1: offset 25 in1: 0.34799 in2: -0.70742  
1: volk\_32fc\_32f\_multiply\_32fc\_a: fail on arch sse  
1: offset 2 in1: 0.0993798 in2: -0.0764461  
1: offset 3 in1: 0.0125911 in2: -0.00968545  
1: offset 7 in1: 0.186311 in2: 0.684512  
1: offset 10 in1: 0.603073 in2: 0.54498  
1: offset 12 in1: 0.156199 in2: -0.0389959  
1: offset 15 in1: 0.0559507 in2: -0.0278312  
1: offset 17 in1: 0.46997 in2: 0.662043  
1: offset 19 in1: 0.498347 in2: -0.521947  
1: offset 21 in1: 0.392071 in2: 0.794964  
1: offset 25 in1: 0.34799 in2: -0.70742  
1: volk\_32fc\_32f\_multiply\_32fc\_a: fail on arch orc  
1: Best arch: sse  
1: /root/src/gnuradio-3.6.3/volk/lib/testqa.cc(28): error in  
“volk\_32fc\_32f\_multiply\_32fc\_a\_test”: check  
run\_volk\_tests(volk\_32fc\_32f\_multiply\_32fc\_a\_get\_func\_desc(), (void  
(_)())volk\_32fc\_32f\_multiply\_32fc\_a\_manual,  
std::string(“volk\_32fc\_32f\_multiply\_32fc\_a”), 1e-4, 0, 20460, 1, 0,  
“NULL”) == 0 failed [true != 0]  
1: RUN\_VOLK\_TESTS: volk\_32fc\_s32f\_power\_32fc\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_calc\_spectral\_noise\_floor\_32f\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32fc\_s32f\_atan2\_32f\_a  
1: sse4\_1 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_32fc\_x2\_conjugate\_dot\_prod\_32fc\_u  
1: generic completed in 0s  
1: sse3 completed in 0s  
1: Best arch: generic  
1: RUN\_VOLK\_TESTS: volk\_32fc\_deinterleave\_32f\_x2\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32fc\_deinterleave\_64f\_x2\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32fc\_s32f\_deinterleave\_real\_16i\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32fc\_deinterleave\_real\_32f\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32fc\_deinterleave\_real\_64f\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32fc\_x2\_dot\_prod\_32fc\_a  
1: generic completed in 0s  
1: sse\_32 completed in 0s  
1: sse3 completed in 0s  
1: sse4\_1 completed in 0s  
1: Best arch: generic  
1: RUN\_VOLK\_TESTS: volk\_32fc\_32f\_dot\_prod\_32fc\_a  
1: generic completed in 0s  
1: sse completed in 0s  
1: Best arch: generic  
1: RUN\_VOLK\_TESTS: volk\_32fc\_index\_max\_16u\_a  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32fc\_s32f\_magnitude\_16i\_a  
1: sse3 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: offset 2 in1: -32768 in2: -31588  
1: offset 11 in1: -32768 in2: -23002  
1: offset 20 in1: -32768 in2: -30392  
1: offset 22 in1: -32768 in2: -22151  
1: offset 28 in1: -32768 in2: -27077  
1: offset 39 in1: -32768 in2: -28734  
1: offset 47 in1: -32768 in2: -23829  
1: offset 58 in1: -32768 in2: -24772  
1: offset 59 in1: -32768 in2: -31771  
1: offset 71 in1: -32768 in2: -22533  
1: volk\_32fc\_s32f\_magnitude\_16i\_a: fail on arch orc  
1: Best arch: sse3  
1: /root/src/gnuradio-3.6.3/volk/lib/testqa.cc(42): error in  
“volk\_32fc\_s32f\_magnitude\_16i\_a\_test”: check  
run\_volk\_tests(volk\_32fc\_s32f\_magnitude\_16i\_a\_get\_func\_desc(), (void  
(_)())volk\_32fc\_s32f\_magnitude\_16i\_a\_manual,  
std::string(“volk\_32fc\_s32f\_magnitude\_16i\_a”), 1, 32768, 20460, 1, 0,  
“NULL”) == 0 failed [true != 0]  
1: RUN\_VOLK\_TESTS: volk\_32fc\_magnitude\_32f\_a  
1: sse3 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_convert\_16i\_a  
1: sse2 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_convert\_16i\_u  
1: sse2 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_convert\_32i\_a  
1: sse2 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_convert\_32i\_u  
1: sse2 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32f\_convert\_64f\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32f\_convert\_64f\_u  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_convert\_8i\_a  
1: sse2 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_convert\_8i\_u  
1: sse2 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32fc\_s32f\_power\_spectrum\_32f\_a  
1: sse3 completed in 0.01s  
1: generic completed in 0s  
1: Best arch: generic  
1: RUN\_VOLK\_TESTS: volk\_32fc\_x2\_square\_dist\_32f\_a  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32fc\_x2\_s32f\_square\_dist\_scalar\_mult\_32f\_a  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_divide\_32f\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0.01s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_dot\_prod\_32f\_a  
1: generic completed in 0s  
1: sse completed in 0s  
1: sse3 completed in 0s  
1: sse4\_1 completed in 0s  
1: Best arch: generic  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_dot\_prod\_32f\_u  
1: generic completed in 0s  
1: sse completed in 0s  
1: sse3 completed in 0s  
1: sse4\_1 completed in 0s  
1: Best arch: generic  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_dot\_prod\_16i\_a  
1: generic completed in 0s  
1: sse completed in 0s  
1: Best arch: generic  
1: RUN\_VOLK\_TESTS: volk\_32f\_index\_max\_16u\_a  
1: sse4\_1 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_s32f\_interleave\_16ic\_a  
1: sse2 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_interleave\_32fc\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_max\_32f\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_min\_32f\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_normalize\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_power\_32f\_a  
1: sse4\_1 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_32f\_sqrt\_32f\_a  
1: sse completed in 0s  
1: generic completed in 0.01s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_stddev\_32f\_a  
1: sse4\_1 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_32f\_stddev\_and\_mean\_32f\_x2\_a  
1: sse4\_1 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_subtract\_32f\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_x3\_sum\_of\_poly\_32f\_a  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32i\_x2\_and\_32i\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32i\_s32f\_convert\_32f\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32i\_s32f\_convert\_32f\_u  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_32i\_x2\_or\_32i\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32u\_byteswap\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_64f\_convert\_32f\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_64f\_convert\_32f\_u  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_64f\_x2\_max\_64f\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_64f\_x2\_min\_64f\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_64u\_byteswap\_a  
1: sse2 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse2  
1: RUN\_VOLK\_TESTS: volk\_8ic\_deinterleave\_16i\_x2\_a  
1: sse4\_1 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_8ic\_s32f\_deinterleave\_32f\_x2\_a  
1: sse4\_1 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_8ic\_deinterleave\_real\_16i\_a  
1: sse4\_1 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_8ic\_s32f\_deinterleave\_real\_32f\_a  
1: sse4\_1 completed in 0s  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_8ic\_deinterleave\_real\_8i\_a  
1: ssse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: ssse3  
1: RUN\_VOLK\_TESTS: volk\_8ic\_x2\_multiply\_conjugate\_16ic\_a  
1: sse4\_1 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_8ic\_x2\_s32f\_multiply\_conjugate\_32fc\_a  
1: sse4\_1 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_8i\_convert\_16i\_a  
1: sse4\_1 completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_8i\_convert\_16i\_u  
1: sse4\_1 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_8i\_s32f\_convert\_32f\_a  
1: sse4\_1 completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_8i\_s32f\_convert\_32f\_u  
1: sse4\_1 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse4\_1  
1: RUN\_VOLK\_TESTS: volk\_32fc\_x2\_multiply\_32fc\_a  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32fc\_x2\_multiply\_32fc\_u  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32fc\_x2\_multiply\_conjugate\_32fc\_a  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32fc\_x2\_multiply\_conjugate\_32fc\_u  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32fc\_conjugate\_32fc\_a  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32fc\_conjugate\_32fc\_u  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_multiply\_32f\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_x2\_multiply\_32f\_u  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32fc\_s32fc\_multiply\_32fc\_a  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32fc\_s32fc\_multiply\_32fc\_u  
1: sse3 completed in 0s  
1: generic completed in 0s  
1: Best arch: sse3  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_multiply\_32f\_a  
1: sse completed in 0s  
1: generic completed in 0s  
1: orc completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32f\_s32f\_multiply\_32f\_u  
1: sse completed in 0s  
1: generic completed in 0s  
1: Best arch: sse  
1: RUN\_VOLK\_TESTS: volk\_32fc\_s32fc\_rotatorpuppet\_32fc\_a  
1: generic completed in 0.04s  
1: sse4\_1 completed in 0s  
1: Best arch: sse4\_1  
1:  
1: \*\*\* 2 failures detected in test suite “Master Test Suite”  
1/1 Test #1: qa\_volk\_test\_all …\*\*\*Failed 0.88 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 0.99 sec

The following tests FAILED:  
1 - qa\_volk\_test\_all (Failed)  
Errors while running CTest

Has anyone seen this?

```
               Sincerely,
      Tommy James Tracy II
        PhD Student

```

High Performance Low Power Lab  
University of Virginia

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [January 11, 2013, 8:41pm UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/5 "2013-01-11T20:41:34Z")

</div>

Dear Gnuradio,

I tried ‘sudo ldconfig’ before ‘make test’ but that didn’t work  
either. Below I will go through all of the failed test cases, and if  
anyone has any suggestions, thank you in advance!

Here is a summary:  
\*Two failed VOLK tests  
\*gr\_block\_executor policy error  
\*Segmentation fault:  
/root/src/gnuradio-3.6.3/build/gr-filter/lib/test-gr-filter  
\*Missing module name: filter\_swig  
\*Rounding error

```
1 - qa_volk_test_all (Failed)

1: /root/src/gnuradio-3.6.3/volk/lib/testqa.cc(28): error in 

```

“volk\_32fc\_32f\_multiply\_32fc\_a\_test”: check  
run\_volk\_tests(volk\_32fc\_32f\_multiply\_32fc\_a\_get\_func\_desc(), (void  
(\*)())volk\_32fc\_32f\_multiply\_32fc\_a\_manual,  
std::string(“volk\_32fc\_32f\_multiply\_32fc\_a”), 1e-4, 0, 20460, 1, 0,  
“NULL”) == 0 failed [true != 0]

```
  Found on line 28: VOLK_RUN_TESTS(volk_32fc_32f_multiply_32fc_a, 

```

1e-4, 0, 20460, 1);

```
1: /root/src/gnuradio-3.6.3/volk/lib/testqa.cc(42): error in 

```

“volk\_32fc\_s32f\_magnitude\_16i\_a\_test”: check  
run\_volk\_tests(volk\_32fc\_s32f\_magnitude\_16i\_a\_get\_func\_desc(), (void  
(\*)())volk\_32fc\_s32f\_magnitude\_16i\_a\_manual,  
std::string(“volk\_32fc\_s32f\_magnitude\_16i\_a”), 1, 32768, 20460, 1, 0,  
“NULL”) == 0 failed [true != 0]

```
  Found on line 42: VOLK_RUN_TESTS(volk_32fc_s32f_magnitude_16i_a, 

```

1, 32768, 20460, 1);

```
Failed Volk tests

5 - gr-core-test-all (Failed)

```

5: NOTE: This is supposed to produce an error from gr\_block\_executor  
5: Error: gr\_block\_executor: propagation\_policy ‘ONE-TO-ONE’ requires  
ninputs == noutputs

```
Not sure

```

81 - test\_gr\_filter (Failed)

81: Test command: /bin/sh  
“/root/src/gnuradio-3.6.3/build/gr-filter/lib/test\_gr\_filter\_test.sh”  
81: Test timeout computed to be: 9.99988e+06 81:  
/root/src/gnuradio-3.6.3/build/gr-filter/lib/test\_gr\_filter\_test.sh:  
line 7: 20014 Segmentation fault test-gr-filter

```
  test-gr-filter is a binary; it segfaults
    # ./test-gr-filter ........Using Volk machine: sse4_2_32_orc 

```

Segmentation fault

```
segmentation fault!

```

84 - qa\_fft\_filter (Failed)

84: Test command: /bin/sh  
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_fft\_filter\_test.sh”  
84: Test timeout computed to be: 9.99988e+06 84:  
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_fft\_filter\_test.sh:  
line 7: 21373 Segmentation fault /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_fft\_filter.py

```
  I'm not sure why it segfaults here; i did it by hand and it says 

```

it cannot find the module  
# /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_fft\_filter.py Traceback  
(most recent call last): File  
“/root/src/gnuradio-3.6.3/gr-filter/python/qa\_fft\_filter.py”, line 24,  
in import filter\_swig as filter ImportError: No module named  
filter\_swig  
segmentation fault!

88 - qa\_adaptive\_fir\_filter (Failed)

88: Test command: /bin/sh  
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_adaptive\_fir\_filter\_test.sh”  
88: Test timeout computed to be: 9.99988e+06 88:  
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_adaptive\_fir\_filter\_test.sh:  
line 7: 21392 Segmentation fault /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_adaptive\_fir\_filter.py

```
  I'm not sure why it segfaults here; i did it by hand and it says 

```

that it cannot find the module  
# /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_hilbert.py Traceback (most  
recent call last): File  
“/root/src/gnuradio-3.6.3/gr-filter/python/qa\_hilbert.py”, line 24, in  
 import filter\_swig as filter ImportError: No module named  
filter\_swig  
segmentation fault!

90 - qa\_hilbert (Failed)

90: Test command: /bin/sh  
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_hilbert\_test.sh” 90:  
Test timeout computed to be: 9.99988e+06 90:  
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_hilbert\_test.sh: line  
7: 21411 Segmentation fault /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_hilbert.py

```
  Same as above; missing the same module
    # /usr/bin/python -B 

```

/root/src/gnuradio-3.6.3/gr-filter/python/qa\_hilbert.py Traceback (most  
recent call last): File  
“/root/src/gnuradio-3.6.3/gr-filter/python/qa\_hilbert.py”, line 24, in  
 import filter\_swig as filter ImportError: No module named  
filter\_swig  
segmentation fault!

96 - qa\_rational\_resampler (Failed)

96: Test command: /bin/sh  
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_rational\_resampler\_test.sh”  
96: Test timeout computed to be: 9.99988e+06 96:  
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_rational\_resampler\_test.sh:  
line 7: 21421 Segmentation fault /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_rational\_resampler.py

```
  Same as above; missing the same module
    # /usr/bin/python -B 

```

/root/src/gnuradio-3.6.3/gr-filter/python/qa\_rational\_resampler.py  
Traceback (most recent call last): File  
“/root/src/gnuradio-3.6.3/gr-filter/python/qa\_rational\_resampler.py”,  
line 24, in import filter\_swig as filter ImportError: No module  
named filter\_swig  
segmentation fault!

97 - qa\_filter\_delay\_fc (Failed)

97: Test command: /bin/sh  
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_filter\_delay\_fc\_test.sh”  
97: Test timeout computed to be: 9.99988e+06 97:  
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_filter\_delay\_fc\_test.sh:  
line 7: 21482 Segmentation fault /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_filter\_delay\_fc.py

```
  Same as above; missing the same module
    # /usr/bin/python -B 

```

/root/src/gnuradio-3.6.3/gr-filter/python/qa\_filter\_delay\_fc.pyTraceback  
(most recent call last): File  
“/root/src/gnuradio-3.6.3/gr-filter/python/qa\_filter\_delay\_fc.py”, line  
24, in import filter\_swig as filter ImportError: No module  
named filter\_swig  
segmentation fault!

98 - qa\_pfb\_arb\_resampler (Failed)

98: Test command: /bin/sh  
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_pfb\_arb\_resampler\_test.sh”  
98: Test timeout computed to be: 9.99988e+06 98:  
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_pfb\_arb\_resampler\_test.sh:  
line 7: 21489 Segmentation fault /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_pfb\_arb\_resampler.py

```
  Same as above; missing the same module
    # /usr/bin/python -B 

```

/root/src/gnuradio-3.6.3/gr-filter/python/qa\_pfb\_arb\_resampler.py  
Traceback (most recent call last): File  
“/root/src/gnuradio-3.6.3/gr-filter/python/qa\_pfb\_arb\_resampler.py”,  
line 24, in import filter\_swig as filter ImportError: No module  
named filter\_swig  
segmentation fault!

99 - qa\_fir\_filter (Failed)

99: Test command: /bin/sh  
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_fir\_filter\_test.sh”  
99: Test timeout computed to be: 9.99988e+06 99:  
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_fir\_filter\_test.sh:  
line 7: 21502 Segmentation fault /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_fir\_filter.py

```
  Same as above; missing the same module
    # /usr/bin/python -B 

```

/root/src/gnuradio-3.6.3/gr-filter/python/qa\_fir\_filter.py Traceback  
(most recent call last): File  
“/root/src/gnuradio-3.6.3/gr-filter/python/qa\_fir\_filter.py”, line 23,  
in import filter\_swig as filter ImportError: No module named  
filter\_swig  
segmentation fault!

100 - qa\_channel\_model (Failed)

100: Test command: /bin/sh  
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_channel\_model\_test.sh”  
100: Test timeout computed to be: 9.99988e+06 100:  
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_channel\_model\_test.sh:  
line 7: 21509 Segmentation fault /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_channel\_model.py

```
  Same as above; missing the same module
    # /usr/bin/python -B 

```

/root/src/gnuradio-3.6.3/gr-filter/python/qa\_channel\_model.py Traceback  
(most recent call last): File  
“/root/src/gnuradio-3.6.3/gr-filter/python/qa\_channel\_model.py”, line  
24, in import filter\_swig as filter ImportError: No module  
named filter\_swig  
segmentation fault!

101 - qa\_freq\_xlating\_fir\_filter (Failed)

101: Test command: /bin/sh  
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_freq\_xlating\_fir\_filter\_test.sh”  
101: Test timeout computed to be: 9.99988e+06 101:  
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa\_freq\_xlating\_fir\_filter\_test.sh:  
line 7: 21535 Segmentation fault /usr/bin/python -B  
/root/src/gnuradio-3.6.3/gr-filter/python/qa\_freq\_xlating\_fir\_filter.py

```
  Same as above; missing the same module
    # /usr/bin/python -B 

```

/root/src/gnuradio-3.6.3/gr-filter/python/qa\_freq\_xlating\_fir\_filter.py  
Traceback (most recent call last): File  
“/root/src/gnuradio-3.6.3/gr-filter/python/qa\_freq\_xlating\_fir\_filter.py”,  
line 23, in import filter\_swig as filter ImportError: No module  
named filter\_swig  
segmentation fault!

110 - qa\_ctcss\_squelch (Failed)

# 110: Test command: /bin/sh “/root/src/gnuradio-3.6.3/build/gr-analog/python/qa\_ctcss\_squelch\_test.sh” 110: Test timeout computed to be: 9.99988e+06 110: .FF 110:

## 110: FAIL: test\_ctcss\_squelch\_002 ( **main**.test\_ctcss\_squelch) 110:

110: Traceback (most recent call last): 110: File  
“/root/src/gnuradio-3.6.3/gr-analog/python/qa\_ctcss\_squelch.py”, line  
81, in test\_ctcss\_squelch\_002 110:  
self.assertFloatTuplesAlmostEqual(expected\_result, result\_data, 4) 110:  
File  
“/root/src/gnuradio-3.6.3/gnuradio-core/src/python/gnuradio/gr\_unittest.py”,  
line 85, in assertFloatTuplesAlmostEqual 110: self.assertEqual (len(a),  
len(b)) 110: AssertionError: 39 != 34

# 110:

## 110: FAIL: test\_ctcss\_squelch\_003 ( **main**.test\_ctcss\_squelch) 110:

110: Traceback (most recent call last): 110: File  
“/root/src/gnuradio-3.6.3/gr-analog/python/qa\_ctcss\_squelch.py”, line  
106, in test\_ctcss\_squelch\_003 110:  
self.assertFloatTuplesAlmostEqual(expected\_result, result\_data, 4) 110:  
File  
“/root/src/gnuradio-3.6.3/gnuradio-core/src/python/gnuradio/gr\_unittest.py”,  
line 87, in assertFloatTuplesAlmostEqual 110: self.assertAlmostEqual  
(a[i], b[i], places, msg) 110: AssertionError: 0.9 != 0.0 within 4  
places

```
Rounding Error!

               Sincerely,
      Tommy James Tracy II
        PhD Student

```

High Performance Low Power Lab  
University of Virginia

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [January 11, 2013, 10:33pm UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/6 "2013-01-11T22:33:10Z")

</div>

Thank you; I tried that, and that was also unsuccessful.

```
               Sincerely,
      Tommy James Tracy II
        PhD Student

```

High Performance Low Power Lab  
University of Virginia

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [January 11, 2013, 9:19pm UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/7 "2013-01-11T21:19:33Z")

</div>

I don’t know if it has anything to do with it but I recommend that you  
try to run cmake, make and make test as a regular user, not as root.  
ldconfig should have no effect on the “make test” step.

Alex

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [January 13, 2013, 4:42pm UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/8 "2013-01-13T16:42:23Z")

</div>

On Fri, Jan 11, 2013 at 4:31 PM, Tommy T. II [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Thank you; I tried that, and that was also unsuccessful.
> 
> ```
> Sincerely,
> Tommy James Tracy II
> PhD Student
> 
> ```
> 
> High Performance Low Power Lab  
> University of Virginia

Tommy,

First, you don’t need to worry about running ldconfig for the tests  
since  
they testing suite only uses binaries in the build tree, not the  
installed  
versions.

The problem with the filter\_swig might come from a parallel build issue  
that we thought we licked recently. When you run make, do you do a  
parallel  
build?

Tom

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [January 13, 2013, 11:29pm UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/9 "2013-01-13T23:29:32Z")

</div>

On Sun, Jan 13, 2013 at 4:03 PM, Tommy T. II [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I did not use the ‘-j #’ flag to parallelize the build. It is possible  
> that I had an old version installed though, so I’m removing that now and  
> trying again.
> 
> ```
> Sincerely,
> Tommy James Tracy II
> PhD Student
> 
> ```
> 
> High Performance Low Power Lab  
> University of Virginia

Oh, good. That was going to be my next suggestion.

Tom

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [January 13, 2013, 10:04pm UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/10 "2013-01-13T22:04:49Z")

</div>

I did not use the ‘-j #’ flag to parallelize the build. It is possible  
that I had an old version installed though, so I’m removing that now and  
trying again.

```
               Sincerely,
      Tommy James Tracy II
        PhD Student

```

High Performance Low Power Lab  
University of Virginia

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [January 14, 2013, 12:37am UTC](https://www.ruby-forum.com/t/issues-moving-gr-modtool-blocks-between-oss/225487/11 "2013-01-14T00:37:53Z")

</div>

I got a series of messages during ‘make’. I won’t list them all, just  
the different kinds:

[2%] Building C object  
volk/lib/CMakeFiles/volk.dir/volk\_32fc\_s32f\_magnitude\_16i\_a\_orc\_impl.c.o  
/home/tjt7a/src/gnuradio-3.6.3/build/volk/lib/volk\_32fc\_s32f\_magnitude\_16i\_a\_orc\_impl.c:  
In function ‘\_backup\_volk\_32fc\_s32f\_magnitude\_16i\_a\_orc\_impl’:  
/home/tjt7a/src/gnuradio-3.6.3/build/volk/lib/volk\_32fc\_s32f\_magnitude\_16i\_a\_orc\_impl.c:303:16:  
warning: comparison between signed and unsigned integer expressions

[6%] Building CXX object  
gruel/src/lib/CMakeFiles/gruel.dir/msg/msg\_accepter\_msgq.cc.o  
In file included from  
/usr/include/boost-1\_46/boost/thread/condition\_variable.hpp:16:0,  
from  
/usr/include/boost-1\_46/boost/thread/pthread/shared\_mutex.hpp:13,  
from  
/usr/include/boost-1\_46/boost/thread/shared\_mutex.hpp:16,  
from  
/usr/include/boost-1\_46/boost/thread/detail/thread\_group.hpp:9,  
from  
/usr/include/boost-1\_46/boost/thread/thread.hpp:24,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gruel/src/include/gruel/thread.h:25,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gruel/src/include/gruel/msg\_queue.h:26,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gruel/src/include/gruel/msg\_accepter\_msgq.h:27,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gruel/src/lib/msg/msg\_accepter\_msgq.cc:26:  
/usr/include/boost-1\_46/boost/thread/pthread/condition\_variable.hpp: In  
member function ‘void  
boost::condition\_variable::wait(boost::unique\_lockboost::mutex&)’:  
/usr/include/boost-1\_46/boost/thread/pthread/condition\_variable.hpp:53:19:  
warning: unused variable ‘res’  
_ **A lot of builds have this message** _

[12%] Building CXX object  
gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/runtime/gr\_error\_handler.cc.o  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_error\_handler.cc:  
In member function ‘virtual void  
gr\_file\_error\_handler::handle\_text(gr\_error\_handler::seriousness, const  
std::string&)’:  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_error\_handler.cc:209:48:  
warning: ignoring return value of ‘size\_t fwrite(const void\*, size\_t,  
size\_t, FILE\*)’, declared with attribute warn\_unused\_result  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_error\_handler.cc:211:31:  
warning: ignoring return value of ‘size\_t fwrite(const void\*, size\_t,  
size\_t, FILE\*)’, declared with attribute warn\_unused\_result

[26%] Building CXX object  
gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/general/gr\_nop.cc.o  
In file included from  
/usr/include/boost-1\_46/boost/thread/condition\_variable.hpp:16:0,  
from  
/usr/include/boost-1\_46/boost/thread/pthread/shared\_mutex.hpp:13,  
from  
/usr/include/boost-1\_46/boost/thread/shared\_mutex.hpp:16,  
from  
/usr/include/boost-1\_46/boost/thread/detail/thread\_group.hpp:9,  
from  
/usr/include/boost-1\_46/boost/thread/thread.hpp:24,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gruel/src/include/gruel/thread.h:25,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_basic\_block.h:36,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_block.h:27,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/general/gr\_nop.h:27,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/general/gr\_nop.cc:26:  
/usr/include/boost-1\_46/boost/thread/pthread/condition\_variable.hpp: In  
member function ‘void  
boost::condition\_variable::wait(boost::unique\_lockboost::mutex&)’:  
/usr/include/boost-1\_46/boost/thread/pthread/condition\_variable.hpp:53:19:  
warning: unused variable ‘res’  
In file included from  
/usr/include/boost-1\_46/boost/function/detail/prologue.hpp:17:0,  
from /usr/include/boost-1\_46/boost/function.hpp:24,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_basic\_block.h:30,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_block.h:27,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/general/gr\_nop.h:27,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/general/gr\_nop.cc:26:  
/usr/include/boost-1\_46/boost/function/function\_base.hpp: In static  
member function ‘static void  
boost::detail::function::functor\_manager\_common::manage\_small(const  
boost::detail::function::function\_buffer&,  
boost::detail::function::function\_buffer&,  
boost::detail::function::functor\_manager\_operation\_type) [with Functor =  
boost::\_bi::bind\_t\<void, boost::\_mfi::mf1\<void, gr\_nop,  
boost::intrusive\_ptrpmt::pmt\_base \>,  
boost::_bi::list2\<boost::bi::value\<gr\_nop\*\>, boost::arg\<1\> \> \>]’:  
/usr/include/boost-1\_46/boost/function/function\_base.hpp:360:11:  
instantiated from 'static void  
boost::detail::function::functor\_manager::manager(const  
boost::detail::function::function\_buffer&,  
boost::detail::function::function\_buffer&,  
boost::detail::function::functor\_manager\_operation\_type, mpl::true_)  
[with Functor = boost::_bi::bind\_t\<void, boost::mfi::mf1\<void, gr\_nop,  
boost::intrusive\_ptrpmt::pmt\_base \>,  
boost::bi::list2\<boost::bi::value\<gr\_nop\*\>, boost::arg\<1\> \> \>,  
mpl::true = mpl::bool_]’  
/usr/include/boost-1\_46/boost/function/function\_base.hpp:406:11:  
instantiated from ‘static void  
boost::detail::function::functor\_manager::manager(const  
boost::detail::function::function\_buffer&,  
boost::detail::function::function\_buffer&,  
boost::detail::function::functor\_manager\_operation\_type,  
boost::detail::function::function\_obj\_tag) [with Functor =  
boost::\_bi::bind\_t\<void, boost::\_mfi::mf1\<void, gr\_nop,  
boost::intrusive\_ptrpmt::pmt\_base \>,  
boost::\_bi::list2\<boost::\_bi::value\<gr\_nop\*\>, boost::arg\<1\> \> \>]’  
/usr/include/boost-1\_46/boost/function/function\_base.hpp:434:13:  
instantiated from ‘static void  
boost::detail::function::functor\_manager::manage(const  
boost::detail::function::function\_buffer&,  
boost::detail::function::function\_buffer&,  
boost::detail::function::functor\_manager\_operation\_type) [with Functor =  
boost::\_bi::bind\_t\<void, boost::\_mfi::mf1\<void, gr\_nop,  
boost::intrusive\_ptrpmt::pmt\_base \>,  
boost::\_bi::list2\<boost::\_bi::value\<gr\_nop\*\>, boost::arg\<1\> \> \>]’  
/usr/include/boost-1\_46/boost/function/function\_template.hpp:913:60:  
instantiated from ‘void boost::function1\<R, T1\>::assign\_to(Functor)  
[with Functor = boost::\_bi::bind\_t\<void, boost::\_mfi::mf1\<void, gr\_nop,  
boost::intrusive\_ptrpmt::pmt\_base \>,  
boost::\_bi::list2\<boost::\_bi::value\<gr\_nop\*\>, boost::arg\<1\> \> \>, R =  
void, T0 = boost::intrusive\_ptrpmt::pmt\_base]’  
/usr/include/boost-1\_46/boost/function/function\_template.hpp:722:7:  
instantiated from ‘boost::function1\<R, T1\>::function1(Functor, typename  
boost::enable\_if\_c\<boost::type\_traits::ice\_not\<boost::is\_integral::value\>::value,  
int\>::type) [with Functor = boost::\_bi::bind\_t\<void,  
boost::\_mfi::mf1\<void, gr\_nop, boost::intrusive\_ptrpmt::pmt\_base \>,  
boost::\_bi::list2\<boost::\_bi::value\<gr\_nop\*\>, boost::arg\<1\> \> \>, R =  
void, T0 = boost::intrusive\_ptrpmt::pmt\_base, typename  
boost::enable\_if\_c\<boost::type\_traits::ice\_not\<boost::is\_integral::value\>::value,  
int\>::type = int]’  
/usr/include/boost-1\_46/boost/function/function\_template.hpp:1064:16:  
instantiated from ‘boost::function\<R(T0)\>::function(Functor, typename  
boost::enable\_if\_c\<boost::type\_traits::ice\_not\<boost::is\_integral::value\>::value,  
int\>::type) [with Functor = boost::\_bi::bind\_t\<void,  
boost::\_mfi::mf1\<void, gr\_nop, boost::intrusive\_ptrpmt::pmt\_base \>,  
boost::\_bi::list2\<boost::\_bi::value\<gr\_nop\*\>, boost::arg\<1\> \> \>, R =  
void, T0 = boost::intrusive\_ptrpmt::pmt\_base, typename  
boost::enable\_if\_c\<boost::type\_traits::ice\_not\<boost::is\_integral::value\>::value,  
int\>::type = int]’  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_basic\_block.h:261:5:  
instantiated from ‘void gr\_basic\_block::set\_msg\_handler(pmt::pmt\_t, T)  
[with T = boost::\_bi::bind\_t\<void, boost::\_mfi::mf1\<void, gr\_nop,  
boost::intrusive\_ptrpmt::pmt\_base \>,  
boost::\_bi::list2\<boost::\_bi::value\<gr\_nop\*\>, boost::arg\<1\> \> \>,  
pmt::pmt\_t = boost::intrusive\_ptrpmt::pmt\_base]’  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/general/gr\_nop.cc:44:87:  
instantiated from here  
/usr/include/boost-1\_46/boost/function/function\_base.hpp:321:15:  
warning: dereferencing type-punned pointer will break strict-aliasing  
rules  
/usr/include/boost-1\_46/boost/function/function\_base.hpp:325:13:  
warning: dereferencing type-punned pointer will break strict-aliasing  
rules

[37%] Building CXX object  
gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/io/gri\_wavfile.cc.o  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri\_wavfile.cc:  
In function ‘bool gri\_wavheader\_complete(FILE\*, unsigned int)’:  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri\_wavfile.cc:238:32:  
warning: ignoring return value of ‘size\_t fwrite(const void\*, size\_t,  
size\_t, FILE\*)’, declared with attribute warn\_unused\_result  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri\_wavfile.cc:244:32:  
warning: ignoring return value of ‘size\_t fwrite(const void\*, size\_t,  
size\_t, FILE\*)’, declared with attribute warn\_unused\_result  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri\_wavfile.cc:  
In function ‘void gri\_wav\_write\_sample(FILE\*, short int, int)’:  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri\_wavfile.cc:227:44:  
warning: ignoring return value of ‘size\_t fwrite(const void\*, size\_t,  
size\_t, FILE\*)’, declared with attribute warn\_unused\_result  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri\_wavfile.cc:  
In function ‘bool gri\_wavheader\_write(FILE\*, unsigned int, int, int)’:  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri\_wavfile.cc:203:38:  
warning: ignoring return value of ‘size\_t fwrite(const void\*, size\_t,  
size\_t, FILE\*)’, declared with attribute warn\_unused\_result

* * *

Filter\_swig seems ok

[53%] Built target test-gr-filter  
Scanning dependencies of target filter\_swig\_swig\_doc  
[53%] Built target filter\_swig\_swig\_doc  
Scanning dependencies of target \_filter\_swig\_swig\_tag  
[53%] Building CXX object  
gr-filter/swig/CMakeFiles/\_filter\_swig\_swig\_tag.dir/\_filter\_swig\_swig\_tag.cpp.o  
Linking CXX executable \_filter\_swig\_swig\_tag  
[53%] Built target \_filter\_swig\_swig\_tag  
[53%] Generating filter\_swig.tag  
[53%] Swig source  
Scanning dependencies of target \_filter\_swig  
[53%] Building CXX object  
gr-filter/swig/CMakeFiles/\_filter\_swig.dir/filter\_swigPYTHON\_wrap.cxx.o  
In file included from  
/usr/include/boost-1\_46/boost/thread/condition\_variable.hpp:16:0,  
from  
/usr/include/boost-1\_46/boost/thread/pthread/shared\_mutex.hpp:13,  
from  
/usr/include/boost-1\_46/boost/thread/shared\_mutex.hpp:16,  
from  
/usr/include/boost-1\_46/boost/thread/detail/thread\_group.hpp:9,  
from  
/usr/include/boost-1\_46/boost/thread/thread.hpp:24,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gruel/src/include/gruel/thread.h:25,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_basic\_block.h:36,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_block.h:27,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_sync\_block.h:27,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr\_sync\_decimator.h:27,  
from  
/home/tjt7a/src/gnuradio-3.6.3/gr-filter/include/filter/adaptive\_fir\_ccc.h:27,  
from  
/home/tjt7a/src/gnuradio-3.6.3/build/gr-filter/swig/filter\_swigPYTHON\_wrap.cxx:4462:  
/usr/include/boost-1\_46/boost/thread/pthread/condition\_variable.hpp: In  
member function ‘void  
boost::condition\_variable::wait(boost::unique\_lockboost::mutex&)’:  
/usr/include/boost-1\_46/boost/thread/pthread/condition\_variable.hpp:53:19:  
warning: unused variable ‘res’  
Linking CXX shared module \_filter\_swig.so  
[53%] Built target \_filter\_swig  
Scanning dependencies of target pygen\_gr\_filter\_swig\_496e6  
[53%] Generating filter\_swig.pyc  
[53%] Generating filter\_swig.pyo

* * *

What’s weird, is that test 96 (qa\_rational\_resampler) did not fail this  
time:

The following tests FAILED:  
1 - qa\_volk\_test\_all (Failed)  
5 - gr-core-test-all (Failed)  
81 - test\_gr\_filter (Failed)  
84 - qa\_fft\_filter (Failed)  
88 - qa\_adaptive\_fir\_filter (Failed)  
90 - qa\_hilbert (Failed)  
97 - qa\_filter\_delay\_fc (Failed)  
98 - qa\_pfb\_arb\_resampler (Failed)  
99 - qa\_fir\_filter (Failed)  
100 - qa\_channel\_model (Failed)  
101 - qa\_freq\_xlating\_fir\_filter (Failed)  
110 - qa\_ctcss\_squelch (Failed)  
Errors while running CTest  
make: \*\*\* [test] Error 8

```
               Sincerely,
      Tommy James Tracy II
        PhD Student

```

High Performance Low Power Lab  
University of Virginia
