-
Notifications
You must be signed in to change notification settings - Fork 245
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
MPI tag limit #65
Comments
yes, however the code checks the maximum tag ID with MPI_TAG_UB. |
Sure, but this check will not make us compliant. Cray typically support up to 2**21. |
You specify lp in SIZE, nid will run from 1 ... #MPI-ranks < lp. You are find if lp<MPI_TAG_UB but what if you want to run on more MPI ranks.
|
Then isn't that the fault of the MPI implementation? We get MPI_TAG_UB from mpi_get_attr. If MPI_TAG_UB doesn't accommodate the maximum ranks on the machine, then it's not the right implementation for that machine. Then you send a nasty email to your sysadmin. |
No! The MPI standard says MPI_TAG_UB has to be larger than 32768 (see above).
|
Indeed, as @stgeke says we can only be sure to have 32768 tags, however most MPI implementations had many more in the past. |
How about your stuff @jlottes? |
Yea, the MPI code in jl/ could probably use a re-thinking in how it does tags. I don't think I gave this too much thought at the time, and probably just used the MPI rank because it seemed as good a thing to choose as anything else. In retrospect, I don't think using the rank buys anything. It shouldn't be too hard to fix things. |
Currently we do not comply with the MPI standard (maximum
tag value < 32768
) as we tag messages withnid
.The text was updated successfully, but these errors were encountered: