1. 10 Jan, 2014 3 commits
  2. 09 Jan, 2014 2 commits
  3. 08 Jan, 2014 7 commits
    • Sameer Kumar's avatar
      Bug fix for strided datatypes. · 4b07ac8a
      Sameer Kumar authored and Pavan Balaji's avatar Pavan Balaji committed
      
      
      Full fix
      
      Fix for get accumulate that sends contig ack back and then scatters result buffer on the src node.
      
      Remove unused params.
      
      Signed-off-by: default avatarMichael Blocksome <blocksom@us.ibm.com>
      4b07ac8a
    • Su Huang's avatar
      PAMID: fix memory leak problem · c03e766f
      Su Huang authored and Pavan Balaji's avatar Pavan Balaji committed
      
      
      Signed-off-by: default avatarMichael Blocksome <blocksom@us.ibm.com>
      c03e766f
    • Su Huang's avatar
      Fix multiple FCNAME declarations error. · 039c2290
      Su Huang authored and Pavan Balaji's avatar Pavan Balaji committed
      
      
      Also clean up warnings.
      
        src/mpid/pamid/src/dyntask/mpidi_port.c:53: warning: useless storage class
        specifier in empty declaration
      
      Signed-off-by: default avatarMichael Blocksome <blocksom@us.ibm.com>
      039c2290
    • Su Huang's avatar
      PAMID: segfault occurred in MPIDI_Win_DoneCB · e25dc31f
      Su Huang authored and Pavan Balaji's avatar Pavan Balaji committed
      
      
      The segfault occurred while trying to free an already freed request
      handle in MPIDI_Win_DoneCB. To fix the problem, the second MPIU_Free(req)
      is removed from the routine.
      
      Signed-off-by: default avatarMichael Blocksome <blocksom@us.ibm.com>
      e25dc31f
    • Su Huang's avatar
      PAMID: fixes for MPI_Win_* · 31ac6f01
      Su Huang authored and Pavan Balaji's avatar Pavan Balaji committed
      
      
      PAMID: fixes for RMA shared related, lock_all and unlock_all functions
      
      The following has been updated:
      - MPID_Win_allocated_shared
      - MPID_Win_shared_query
      - several functions in mpid_win_lock_all.c, mpid_win_lock.c, mpid_win_free.c and
        structures in mpidi_onesided.h, mpidi_datatypes.h have been modified for
        scalability support for MPID_Win_lock_all() and MPID_Win_unlock_all()
      
      PAMID: fix MPID_Win_allocate_shared, MPID_Win_lock_all/unlock_all and MPID_Win_shared_query
      
      Add changes based on code review feedback from the team:
      1) update getPageSize to ensure that the pagesize is obtained from the range of
         passed in address.
      2) don't call dispatcher if lockQ[index].done == 1
         if (!lockQ[index].done)
           MPID_PROGRESS_WAIT_WHILE(lockQ[index].done == 0);
      3) in mpid_win_shared_query()
         replace
           MPID_assert(win->create_flavor == MPI_WIN_FLAVOR_SHARED);
         by
           MPIU_ERR_CHKANDSTMT((win->create_flavor != MPI_WIN_FLAVOR_SHARED), mpi_errno,
                               MPI_ERR_RMA_FLAVOR, return mpi_errno, "**rmaflavor");
      3) some minor fixes.
      
      PAMID: modify MPI_Win_flush_local, MPI_Win_lock etc for better performance
      
      The current implementation for the subject mentioned function is to allocate
      two counters for each rank in the window group. The design could cause a scaling
      issue.  The fix is to update MPI_Win_flush_local etc with two counters per
      window approach.
      
      The changes also include the follwoing:
      - provides mutex_lock/mutex_unlock for atomic operations in shared window
      - fixes some bugs in handling shared window.
      - removes the shared segment with IPC_RMID in MPI_Win_free.
      
      PAMID: fixed base address for each rank in a window group
      
      For shared window, the base address for each rank should not be
      exchanged among ranks in a window group. Without the fix, the job
      will be terminated with segfault.
      
      (ibm) F189033
      (ibm) D194640
      
      Signed-off-by: default avatarMichael Blocksome <blocksom@us.ibm.com>
      31ac6f01
    • Su Huang's avatar
      PAMID: MPID_Win_allocate_shared and MPID_Win_shared_query support · c6d910c7
      Su Huang authored and Pavan Balaji's avatar Pavan Balaji committed
      
      
      added MPID_Win_allocate_shared and MPID_Win_shared_query support and
      fixes on passing incorrect rank to MPIDI_WinCtrlSend in MPIDI_WinPost_post
      and MPIDI_WinComplete_post
      
      minor fixes for 'win allocate shared'
      
      - compiles for bgq
      - UNRESOLVED: undefined shm key on bgq, or any other time the required
        environment variables are not set
      - UNRESOLVED: multiple calls to 'win allocate shared' will use the same
        shm key
      
      (ibm) F189033
      
      Signed-off-by: default avatarMichael Blocksome <blocksom@us.ibm.com>
      c6d910c7
    • Pavan Balaji's avatar
      pamid is capable of supporting WIN_UNIFIED. · 399e5463
      Pavan Balaji authored
      
      
      Renamed WIN_SEPARATE to WIN_UNIFIED.  pamid's WIN_SYNC already does a
      full memory barrier, so we should be all set for UNIFIED support.
      
      Signed-off-by: default avatarMichael Blocksome <blocksom@us.ibm.com>
      399e5463
  4. 07 Jan, 2014 4 commits
  5. 06 Jan, 2014 2 commits
  6. 05 Jan, 2014 1 commit
  7. 03 Jan, 2014 3 commits
  8. 02 Jan, 2014 3 commits
  9. 01 Jan, 2014 1 commit
    • Junchao Zhang's avatar
      Disable Clang's type checking for MPI_2INT · fb17d2b0
      Junchao Zhang authored
      Type checking for MPI_2INT is commented out because Clang 3.3 flags
      struct {int i1; int i2;} as different from int[2]. But actually these
      two types are of the same layout. Clang gives a type mismatch warning
      for a definitely correct code like the following:
       int in[2], out[2];
       MPI_Reduce(in, out, 1, MPI_2INT, MPI_MAXLOC, 0, MPI_COMM_WORLD);
      
      So, we disable type checking for MPI_2INT until Clang fixes this bug.
      
      Fixes #1993
      
      Signed off by Rajeev Thakur <thakur@mcs.anl.gov>
      fb17d2b0
  10. 31 Dec, 2013 5 commits
  11. 30 Dec, 2013 9 commits