The problem here is not the flow control. What you need is to avoid buffering the messages on the receiver side. Luckily, Open MPI is entirely configurable at runtime, so this situation is really easy to deal with even at the user level. Set the eager size to zero, and no buffering on the receiver side will be made. Your program will survive as long as there is some available memory on the receiver.
Thanks, George. On Feb 1, 2008, at 6:32 PM, 8mj6tc...@sneakemail.com wrote:
That would make sense. I able to break OpenMPI by having Node A wait formessages from Node B. Node B is in fact sleeping while Node C bombards Node A with a few thousand messages. After a while Node B wakes up andsends Node A the message it's been waiting on, but Node A has long sincebeen buried and seg faults. If I decrease the number of messages C issending, it works properly. This was on OpenMPI 1.2.4 (using I think the SM BTL (might have been MX or TCP, but certainly not infiniband. I coulddig up the test and try again if anyone is seriously curious).Trying the same test on MPICH/MX went very very slow (I don't think theyhave any clever buffer management) but it didn't crash. Sacerdoti, Federico Federico.Sacerdoti-at-deshaw.com |openmpi-users/Allow| wrote:Hi, I am readying an openmpi 1.2.5 software stack for use with a many-thousand core cluster. I have a question about sending small messages that I hope can be answered on this list. I was under the impression that if node A wants to send a small MPImessage to node B, it must have a credit to do so. The credit assures Athat B has enough buffer space to accept the message. Credits are required by the mpi layer regardless of the BTL transport layer used.I have been told by a Voltaire tech that this is not so, the credits are used by the infiniband transport layer to reliably send a message, andis not an openmpi feature. Thanks, Federico _______________________________________________ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users-- --Kris 叶ってしまう夢は本当の夢と言えん。 [A dream that comes true can't really be called a dream.] _______________________________________________ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users
smime.p7s
Description: S/MIME cryptographic signature