John Wythe wrote:
Hello,
I am trying to write a python application that uses the multiprocessing module
on OpenSolaris snv_117. I am guessing the python packages for OpenSolaris do
not ship with multiprocessing support, but I am lost as to why. I've searched
the web extensively but can not find an explanation for this.
Right.
OpenCSW's python build does seem to support multiprocessing, but has trouble
with shared semaphores. It seems OpenSolaris kernel does not support shared
semaphores?
With OpenCSW's build /opt/csw/bin/python:
File "/opt/csw/lib/python/multiprocessing/synchronize.py", line 33, in
<module>
" function, see issue 3770.")
ImportError: This platform lacks a functioning sem_open implementation,
therefore, the required synchronization primitives needed will not function,
see issue 3770.
Solaris does have sem_open:
http://docs.sun.com/app/docs/doc/819-2243/sem-open-3c?a=view
However, I suspect the issue is that blastwave's packages (typically)
are compiled on Solaris 8 or Solaris 9, instead of Solaris 10 or
OpenSolaris 200x.
Going farther, I see several bugs related to enabling _multiprocessing
on Solaris on the python bug tracker. Here's one of them:
http://bugs.python.org/issue3110
Cheers,
--
Shawn Walker
_______________________________________________
opensolaris-discuss mailing list
[email protected]