Changeset 14861
- Timestamp:
- 05/02/13 14:42:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/toolkits/mpi/patches/DetermineLocalSize.cpp
r13622 r14861 26 26 MPI_Comm_size(comm,&num_procs); 27 27 28 29 /* TODO replace the following with -> 30 31 local_size=global_size/num_procs; // integer division 32 if (global_size%num_procs>my_rank) local_size++; // distribute the remainder 33 return local_size; 34 35 <- to here */ 36 28 37 /*We are not bound by any library, just use what seems most logical*/ 29 38 num_local_rows=xNew<int>(num_procs);
Note:
See TracChangeset
for help on using the changeset viewer.