discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Re: GNU Radio release 3.3.0-rc0 available for testing


From: ikjtel
Subject: [Discuss-gnuradio] Re: GNU Radio release 3.3.0-rc0 available for testing
Date: Thu, 13 May 2010 21:35:51 -0700 (PDT)

Still getting this error message when trying to play with the new block

>>> gr_fir_ccf: using SSE
thread[thread-per-block[1]: <gr_block dd_mpsk_sync_cc (3)>]: gr_complex must be 
8-byte aligned

I've pasted the py program code below - it's trivial.  An initial offhand 
diagnosis might suggest this is coming from somewhere in GR C++-land and isn't 
caused by anything in the py source code...

73

Max
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ uname -a
Linux mhp 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 
GNU/Linux
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#!/usr/bin/env python
import math, sys
from math import pi
from gnuradio import gr, gru, audio, eng_notation, blks2, optfir, clock
from gnuradio.eng_option import eng_option
from optparse import OptionParser

class app_top_block(gr.top_block):
    def __init__(self, options, queue):
        gr.top_block.__init__(self, "mhp")

        IN = gr.file_source(gr.sizeof_gr_complex, options.input_file)

        OUT = gr.file_sink(gr.sizeof_gr_complex, options.output)

        if 1:
            theta = pi /  4.0
            alpha = 0.15
            beta = 0.25 * alpha * alpha
            mu = 0.5
            gain_mu = 0.15
            omega = 10
            gain_omega = 0
            fmin = -0.025
            fmax =  0.025
            omega_rel = 0.005
            RX = gr.dd_mpsk_sync_cc (alpha, beta, fmax, fmin, theta, omega, 
gain_omega, mu, gain_mu) 

        self.connect(IN, RX, OUT)

def main():
    parser = OptionParser(option_class=eng_option)
    parser.add_option("-i", "--input-file", type="string", default="in.dat", 
help="specify the input file")
    parser.add_option("-o", "--output", type="string", default="out.dat", 
help="specify the output file")
    (options, args) = parser.parse_args()
 
    queue = gr.msg_queue()
    tb = app_top_block(options, queue)
    try:
        tb.run()
    except KeyboardInterrupt:
        tb.stop()

if __name__ == "__main__":
    main()



      



reply via email to

[Prev in Thread] Current Thread [Next in Thread]