Changeset 5730 in /cluster/svnroot


Ignore:
Timestamp:
Jun 5, 2016 10:49:54 PM (4 years ago)
Author:
skylar
Message:

comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/bw-institute/2016/day06/matmul/mpi.c

    r5727 r5730  
    175175    MPI_Bcast(recv_counts,num_ranks,MPI_UNSIGNED,FIRST_RANK,MPI_COMM_WORLD);
    176176
    177    
    178 
    179177    // Calculate row offset in product matrix to start and stop calculation
    180178    row_stride              = row_counts[rank];
     
    221219    // Gather the local destination matrices into the first rank's
    222220    // full-size destination matrix
     221    // Need to use MPI_Gatherv rather than MPI_Gather since the last rank
     222    // could have a different number of rows than the others
    223223    MPI_Gatherv(
    224224            local_dst_m.matrix,
Note: See TracChangeset for help on using the changeset viewer.