1. 19 Nov, 2014 1 commit
  2. 13 Nov, 2014 1 commit
    • Kenneth Raffenetti's avatar
      portals4: better dtype mismatch detection · f7384c54
      Kenneth Raffenetti authored
      The previous code only detected a datatype mismatch when the message
      was copied out of the unexpected queue. Now it will throw an error
      in both cases.
      We also set the error in the status object to match the default ch3
      behavior. This fixed an issue where the request would not be freed
      and cause extra debugging output at MPI_Finalize.
      Signed-off-by: default avatarAntonio Pena Monferrer <apenya@mcs.anl.gov>
  3. 12 Nov, 2014 1 commit
    • Kenneth Raffenetti's avatar
      portals4: implement cancel send · b56f4f1d
      Kenneth Raffenetti authored
      All MPI_Sends in the Portals4 netmod will cause some or all of the data to be
      sent eagerly to the receiver. Canceling a send means having to find the data in
      the unexpected message queue and removing it in order to preserve matching.
      Because the message queues exist at the netmod level, it needs its own cancel
      The protocol is modeled on a similar case in CH3, but with its own method
      for searching the unexpected queue. Custom netmod packet handlers are used to
      receive and process the control messages.
      Known Issue:
        Because we are using different PTs for the send and cancel message, it is
        possible the cancel request could arrive before the message being canceled.
      Signed-off-by: default avatarAntonio Pena Monferrer <apenya@mcs.anl.gov>
  4. 06 Nov, 2014 1 commit
  5. 05 Nov, 2014 3 commits
  6. 04 Nov, 2014 1 commit
  7. 03 Nov, 2014 1 commit
    • Pavan Balaji's avatar
      Initial draft of flow-control in the portals4 netmod. · f4253c38
      Pavan Balaji authored and Kenneth Raffenetti's avatar Kenneth Raffenetti committed
      Portals4 by itself does not provide any flow-control.  This needs to
      be managed by an upper-layer, such as MPICH.  Before this patch we
      were relying on a bunch of unexpected buffers that were posted to the
      portals library to manage unexpected messages.  However, since portals
      asynchronously pulls out messages from the network, if the application
      is delayed, it might result in the unexpected buffers being filled out
      and the portal disabled.  This would cause MPICH to abort.
      In this patch, we implement an initial version of flow-control that
      allows us to reenable the portal when it gets disabled.  All this is
      done in the context of the "rportals" wrappers that are implemented in
      the rptl.* files.  We create an extra control portal that is only used
      by rportals.  When the primary data portal gets disabled, the target
      sends PAUSE messages to all other processes.  Once each process
      confirms that it has no outstanding packets on the wire (i.e., all
      packets have either been ACKed or NACKed), it sends a PAUSE-ACK
      message.  When the target receives PAUSE-ACK messages from all
      processes (thus confirming that the network traffic to itself has been
      quiesced), it reenables the portal and sends an UNPAUSE message to all
      This patch still does not deal with origin-side resource exhaustion.
      This can happen, for example, if we run out of space on the event
      queue on the origin side.
      Signed-off-by: Kenneth Raffenetti's avatarKen Raffenetti <raffenet@mcs.anl.gov>
  8. 16 Oct, 2014 1 commit
  9. 04 Oct, 2014 1 commit
  10. 01 Oct, 2014 1 commit
  11. 25 Sep, 2014 1 commit
  12. 27 Aug, 2014 1 commit
  13. 07 Aug, 2014 3 commits
  14. 31 Jul, 2014 1 commit
  15. 29 Jul, 2014 1 commit
  16. 22 Jul, 2014 1 commit
  17. 29 Oct, 2013 1 commit
  18. 05 Nov, 2012 1 commit
  19. 26 Oct, 2012 1 commit
  20. 24 Oct, 2012 1 commit
  21. 12 Oct, 2012 1 commit
  22. 03 Oct, 2012 3 commits
  23. 11 Sep, 2012 1 commit
  24. 07 Sep, 2012 1 commit