-
-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallel map reduce on SearchForest #13580
Comments
comment:1
Salut Florent et Nathann, I am starting to think/work on #6637... I have some questions. Mainly, I would like to know what is this ticket, because the above one liner in the description does not say much...
Also, Florent wrote on sage-devel in October 2012 that
|
Branch: u/hivert/13580/map_reduce |
New commits:
|
Commit: |
Changed keywords from map-reduce to map-reduce, days57 |
Changed branch from u/hivert/13580/map_reduce to u/nthiery/13580/map_reduce |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from u/nthiery/13580/map_reduce to u/hivert/13580/map_reduce |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
I saw the following typo in map reduce file while looking at the previous commit: "As an example, ee compute" |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:93
It works now! :
|
comment:94
some typos:
I would suggest to replace this:
by
to follow sage standards (more than once). Also, I would replace this:
by
to follow sage standards (more than once).
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:96
I am wondering what else is currently needed for this ticket before a positive review? Also, what are the current plans to cythonize |
comment:97
What I had in mind for the next step to do was to move the |
comment:98
Replying to @tscrim:
Sebastien is currently rereading it. I think he is very close to put a positive review.
Concerning Cythonization of map-reduce, my current opinion is that, the code On the other hand, If you are allowed to write the code directly in C/C++ Now if you have a specific use case, I'll be happy to experiment. |
comment:99
Replying to @seblabbe:
That was also the next goal in my mind. |
comment:100
See #16351 |
comment:101
Replying to @hivert:
Christian, Vivien, and I are working on trying to speed up the iteration of finite Coxeter groups by using (subgroups of) permutation groups and the iterator method of generic Coxeter groups, which uses a We are in the process pushing our successor computation code to Cython and some of our other methods, but we would appreciate any insights you have. Yet the code on this ticket will definitely help with that. Thank you for finishing it. |
comment:102
Replying to @tscrim:
I'll be both very happy and interested to have usecase for this code.
Do you have a typical example relying on Now, concerning coxeter group, I'm quite sure that rewriting part of the code By the way, should we transfer this discussion on #11187 ? |
Changed branch from u/hivert/ticket/13580 to |
comment:105
This ticket breaks the doctests on my patchbot, i do not know whether it is because it is run from a VM or from a 32-bit system, see http://patchbot.sagemath.org/log/0/debian/8.3/i686/3.16.0-4-586/tmonteil-debian-jessie-32/2016-04-15%2012:13:01?short |
Changed commit from |
comment:106
Note also that the VM emulates a "Pentium III (Katmai)" |
comment:107
Replying to @sagetrac-tmonteil:
From the error message, it is neither because of 32 bits nor because of the VM but because your (virtual) machine has only one core. The goal of the patch is to distribute computation on several cores. The doctest assumes that your machine has at least 2 cores. I should fix that. Though I'm not sure what to do on those kind of machine. Pretend that they are two core and let the computation run on those two cores ? |
comment:108
Replying to @hivert:
I just checked that I get the very same errors on my machine pretending that it has only one core. |
comment:109
OK thanks for isolating the culplrit, i made #20449 as a follwup. |
Implement a map reduce algorithm in parallel on large sets described by a
SearchForest
. We use a work-stealing algorithm (see https://en.wikipedia.org/wiki/Work_stealing) based on Python's multiprocessing.CC: @sagetrac-sage-combinat @nathanncohen @jdemeyer @seblabbe
Component: combinatorics
Keywords: map-reduce, days57, days77
Author: Florent Hivert, Jean-Baptiste Priez, Nathann Cohen
Branch:
134c1fa
Reviewer: Sébastien Labbé, Jean-Baptiste Priez
Issue created by migration from https://trac.sagemath.org/ticket/13580
The text was updated successfully, but these errors were encountered: