-
Notifications
You must be signed in to change notification settings - Fork 17
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
use hash of comm_tag if not numeric #222
Conversation
04b1365
to
6b2ec0c
Compare
I think this is probably incorrect in case |
Fair, stick a modulo in there. It's a stopgap. |
You were right: |
Co-authored-by: Andreas Klöckner <[email protected]>
Thx! |
Don't all ranks need to agree on the message-specific tags? I don't know how this example CI is passing. When I run MIRGE-Com examples by hand, and by MIRGE-Com CI, they appear to hang. After
Example hangs at this point. |
Ah right. |
@MTCam As a workaround for the workaround, if you set the env var https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHASHSEED |
Hrm. I tried this, and after it failed, I tried it like this: |
Just pushed a version that uses the persistent hash. |
Eureka! Thanks! |
42f93a1
to
9199fe2
Compare
Just FYI, this is totally OK - since it just requires the MIRGE-Com examples (and production drivers) to be updated, but we still get this error when running eager in parallel:
The fix is to make sure to update everything to use the new API for getting the reasonable array context instead of just picking PyOpenCLArrayContext. |
This could have been done in a backward-compatible manner, and I'm really kicking myself that it wasn't, for no good reason other than perhaps that I was rushing to get it done. Generally, the change is what we want (that the array context is the source of truth for the communicator, rather than the discretization). Is there a point now to retrofitting backward compat now, or not really? |
Actually, in many ways this is working out better. This would have just added to our pile of technical debt if we were allowed to limp forward without making the changes. All is well imo. I warned folks not to be pulling new toolchains until we get all this worked out. I understand the grumblings too, but on some level we need to be fluid in supporting important changes coming down from upstream pkgs. |
Could resolve illinois-ceesd/mirgecom#617
cc: @MTCam