Re: GNU Radio release 3.3.0-rc0 available for testing

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()

On Thu, May 13, 2010 at 21:35, ikjtel [email protected] wrote:

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

Thanks for the feedback–I’ll look into it.

Johnathan

On Thu, May 13, 2010 at 09:35:51PM -0700, ikjtel wrote:

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

FYI, that’s not a new block. It’s a 6-year old incomplete
implementation of a decision directed approach. We should remove it.

Eric

On Tue, May 18, 2010 at 11:35, Eric B. [email protected] wrote:

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

FYI, that’s not a new block. It’s a 6-year old incomplete
implementation of a decision directed approach. We should remove it.

Done.

Johnathan