#5965: [with patch, needs review] Check /dev/pts and /dev/shm requirement on
linux
--------------------------+-------------------------------------------------
Reporter: tornaria | Owner: tornaria
Type: defect | Status: new
Priority: major | Milestone:
Component: distribution | Keywords:
Reviewer: | Author:
Merged: |
--------------------------+-------------------------------------------------
Changes (by craigcitro):
* milestone: sage-4.1 =>
Comment:
I think this looks good. I've added a patch above that calls this script
from the sage startup, as Gonzalo suggested. So I guess I'm positively
reviewing Gonzalo's code, but maybe someone should rubber-stamp the code I
added that calls it.
However, it just occurred to me that we're switching to python 2.6 in the
next release -- and that means we need to switch to `multiprocessing`
instead of `processing`. I just read the documentation for
`multiprocessing` online, and I believe that checking that semaphores are
available will be even easier -- according to the first warning on this
page:
http://docs.python.org/library/multiprocessing.html#introduction
all we need to do is `import multiprocessing.synchronize`, and it'll fail
if not.
So as soon as an alpha is out with the new python spkg in place, I'll go
ahead and update this patch -- it should probably wait to be merged until
then, but people are welcome to try it out now and offer other comments.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5965#comment:8>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---