#13580: Parallel map reduce on SearchForest
-------------------------------------+-------------------------------------
Reporter: hivert | Owner: hivert
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: combinatorics | Resolution:
Keywords: map-reduce, | Merged in:
days57 | Reviewers: Sébastien Labbé
Authors: Florent Hivert, | Work issues:
Jean-Baptiste Priez, Nathann | Commit:
Cohen | 6b4a5cffe362093e6011801d3485a9dc02ddc1e2
Report Upstream: N/A | Stopgaps:
Branch: |
u/hivert/13580/map_reduce |
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by hivert):
Replying to [comment:66 vbraun]:
> Fails on OSX:
http://build.sagedev.org/release/builders/%20%20fast%20Volker%20MiniMac%20%28OSX%2010.10%20x86_64%29%20incremental/builds/636/steps/shell_4/logs/stdio
We finally got the problem with Jean-Baptiste. It occurs that semaphore
are broken on MacOSX (or at least are not fully POSIX compliant). In
particular, on standard unixes, when two processes are trying to acquire a
semaphore whose value is more than two, they always both succeeded. On
MacOS, one of them may fail. As a consequence, I'm writing a different
code form MacOS relying on a Lock and a shared integer. It may be slower
on system where semaphore are implemented in a lockless way.
Is there a standard Sage/Python way to check if we are on MacOS ?
--
Ticket URL: <http://trac.sagemath.org/ticket/13580#comment:78>
Sage <http://www.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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.