ipyparallel icon indicating copy to clipboard operation
ipyparallel copied to clipboard

SystemError: unknown opcode when scatter/gather /pull/push

Open littlegreenbean33 opened this issue 8 years ago • 3 comments

I am running a cluster with Linux/windows machines.

I cannot any longer use scatter/gather/pull/push variables.

In windows this is the error the engines print in the screen

`[1;31m---------------------------------------------------------------------------[0m [1;31mSystemError[0m Traceback (most recent call last) [1;32m[0m in [0;36m[1;34m()[0m

[1;32m/home/julian/anaconda3/lib/python3.5/site-packages/ipyparallel/util.py[0m in [0;36m_pull[1;34m(keys)[0m

[1;31mSystemError[0m: unknown opcode2017-06-01 20:01:09.640 [IPEngineApp] Exception in apply request: [1;31m---------------------------------------------------------------------------[0m [1;31mSystemError[0m Traceback (most recent call last) [1;32m[0m in [0;36m[1;34m()[0m

[1;32m/home/julian/anaconda3/lib/python3.5/site-packages/ipyparallel/util.py[0m in [0;36m_pull[1;34m(keys)[0m

[1;31mSystemError[0m: unknown opcode

` On linux it generates a seg fault.

On the session I am using as a console (linux) I get the following

`In [6]: dview["qwerty"]=33

In [7]: dview["qwerty"] [0:apply]: ---------------------------------------------------------------------------SystemError Traceback (most recent call last) in () /home/julian/anaconda3/lib/python3.5/site-packages/ipyparallel/util.py in _pull(keys) SystemError: unknown opcode

[1:apply]: ---------------------------------------------------------------------------SystemError Traceback (most recent call last) in () /home/julian/anaconda3/lib/python3.5/site-packages/ipyparallel/util.py in _pull(keys) SystemError: unknown opcode

[2:apply]: ---------------------------------------------------------------------------SystemError Traceback (most recent call last) in () /home/julian/anaconda3/lib/python3.5/site-packages/ipyparallel/util.py in _pull(keys) SystemError: unknown opcode

[3:apply]: ---------------------------------------------------------------------------SystemError Traceback (most recent call last) in () /home/julian/anaconda3/lib/python3.5/site-packages/ipyparallel/util.py in _pull(keys) SystemError: unknown opcode `

I am on python 3.5.2, using ipython 4.0.2 and ipyparallel ( all systems ) 6.0.2

I checked google and this does not look like being reported by anybody else.

This has worked fine in the past. First time I am facing this issue

JC

littlegreenbean33 avatar Jun 01 '17 18:06 littlegreenbean33

What's the exact Python version on every machine?

minrk avatar Jun 09 '17 11:06 minrk

3.5.2 on all machines

littlegreenbean33 avatar Jun 10 '17 07:06 littlegreenbean33

Hm, the unknown opcode generally comes up when the client and engine are different Python versions. Maybe it's a linux => windows problem?

minrk avatar Jun 21 '17 13:06 minrk