[petsc-dev] Swarm tag error

Matthew Knepley knepley at gmail.com
Mon Nov 21 14:37:07 CST 2022

In data_ex.c, Swarm uses a distinct tag for each pair of processes. If the
number of processes exceeds 1024, there are > 1024^2 tags which exceeds
MPI_TAG_UB on Intel MPI.

My solution is going to be to use that process pair number modulo
MPI_TAG_UB. Does anyone have a slicker suggestion?



What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20221121/2bed7699/attachment.html>

More information about the petsc-dev mailing list