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