1. 09 Feb, 2014 4 commits
  2. 06 Feb, 2014 4 commits
  3. 04 Feb, 2014 3 commits
  4. 03 Feb, 2014 4 commits
  5. 02 Feb, 2014 2 commits
  6. 01 Feb, 2014 8 commits
  7. 31 Jan, 2014 5 commits
  8. 30 Jan, 2014 7 commits
  9. 29 Jan, 2014 3 commits
    • Pavan Balaji's avatar
      Bug-fix: deal with wrap around PMI process mapping strings · f46354ac
      Pavan Balaji authored
      
      
      If the PMI process mapping string wraps around to node 0, we were
      creating a bad node list of which processes are local and which are
      not.  This patch provides a hacky fix for this case by only repeating
      the part of the PMI mapping string from the point where it wrapped
      around.
      
      The patch is hacky because it assumes that seeing a start node ID of 0
      means a wrap around.  This is not necessarily true.  A user-defined
      node list can use the node ID 0 without actually creating a wrap
      around.  The reason this patch still works in this case is because
      Hydra creates a new node list starting from node ID 0 for
      user-specified nodes during MPI_Comm_spawn{_multiple}.  If a different
      process manager searches for allocated nodes in the user-specified
      list, this patch will break.
      
      Fixes #2007.
      
      Signed-off-by: Kenneth Raffenetti's avatarKen Raffenetti <raffenet@mcs.anl.gov>
      f46354ac
    • Kenneth Raffenetti's avatar
      handle when qsort is not available in vc setup · 7a9210ff
      Kenneth Raffenetti authored and Pavan Balaji's avatar Pavan Balaji committed
      
      
      When qsort is not available, don't define comparision function and
      fallback to simple insertion sort implementation. In the future, a
      more general function with fallback should be added in MPL so it
      can be used in other cases like comm_split.
      
      Refs #2007
      
      Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@mcs.anl.gov>
      7a9210ff
    • Pavan Balaji's avatar
      Improve PMI_process_mapping parsing. · 687dd1dc
      Pavan Balaji authored
      
      
      The original PMI process mapping parsing code had a number of
      assumptions that would allow it to only work on COMM_WORLD.  This
      patch corrects these to work for dynamic processes as well.
      
      It also corrects the evaluation of the number of nodes used to be
      correct in the general case.
      
      Refs #2007.
      
      Signed-off-by: Kenneth Raffenetti's avatarKen Raffenetti <raffenet@mcs.anl.gov>
      687dd1dc