ParallelPython created in thread gives

124 Views Asked by At

Creating a job server gives the error:

Python int too large to convert to C long

when created in thread (win32), using parallel python version 1.6.5 & Python27.

Here is the traceback:

Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\ParrallelPython.py", line 91, in __init__
    self.job_server = pp.Server(ppservers=self.ppservers, socket_timeout=3600)
  File "C:\Python27\lib\site-packages\pp.py", line 341, in __init__
    self.set_ncpus(ncpus)
  File "C:\Python27\lib\site-packages\pp.py", line 505, in set_ncpus
    range(ncpus - len(self.__workers))])
  File "C:\Python27\lib\site-packages\pp.py", line 138, in __init__
    self.start()
  File "C:\Python27\lib\site-packages\pp.py", line 150, in start
    self.pid = int(self.t.receive())
  File "C:\Python27\lib\site-packages\pptransport.py", line 148, in receive
    msg = self.r.read(e_size-r_size)
OverflowError: Python int too large to convert to C long

Similar issue to link below:

ParallelPython Forum Question

0

There are 0 best solutions below