Changeset 11184
- Timestamp:
- 01/23/12 17:37:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/Container/Elements.cpp ¶
r11059 r11184 203 203 element->ListResultsInfo(&resultsenums,&resultssizes,&resultstimes,&resultssteps,&numberofresults); 204 204 } 205 MPI_Bcast(&numberofresults,1,MPI_DOUBLE, 0,MPI_COMM_WORLD);205 MPI_Bcast(&numberofresults,1,MPI_DOUBLE,minrank,MPI_COMM_WORLD); 206 206 207 207 /*Get out if there is no results. Otherwise broadcast info*/ … … 213 213 resultssteps=(int*)xmalloc(numberofresults*sizeof(int)); 214 214 } 215 MPI_Bcast(resultsenums,numberofresults,MPI_INT, 0,MPI_COMM_WORLD);216 MPI_Bcast(resultssizes,numberofresults,MPI_INT, 0,MPI_COMM_WORLD);217 MPI_Bcast(resultstimes,numberofresults,MPI_DOUBLE, 0,MPI_COMM_WORLD);218 MPI_Bcast(resultssteps,numberofresults,MPI_INT, 0,MPI_COMM_WORLD);215 MPI_Bcast(resultsenums,numberofresults,MPI_INT,minrank,MPI_COMM_WORLD); 216 MPI_Bcast(resultssizes,numberofresults,MPI_INT,minrank,MPI_COMM_WORLD); 217 MPI_Bcast(resultstimes,numberofresults,MPI_DOUBLE,minrank,MPI_COMM_WORLD); 218 MPI_Bcast(resultssteps,numberofresults,MPI_INT,minrank,MPI_COMM_WORLD); 219 219 220 220 /*Loop over all results and get nodal vector*/
Note:
See TracChangeset
for help on using the changeset viewer.