Changeset 13604 for issm/trunk-jpl/src/c/Container/Constraints.cpp
- Timestamp:
- 10/10/12 23:06:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/Container/Constraints.cpp ΒΆ
r12365 r13604 49 49 /*figure out total number of constraints combining all the cpus (no clones here)*/ 50 50 #ifdef _HAVE_MPI_ 51 MPI_Reduce(&localconstraints,&numberofconstraints,1,MPI_INT,MPI_SUM,0, MPI_COMM_WORLD);52 MPI_Bcast(&numberofconstraints,1,MPI_INT,0, MPI_COMM_WORLD);51 MPI_Reduce(&localconstraints,&numberofconstraints,1,MPI_INT,MPI_SUM,0,IssmComm::GetComm() ); 52 MPI_Bcast(&numberofconstraints,1,MPI_INT,0,IssmComm::GetComm()); 53 53 #else 54 54 numberofconstraints=localconstraints;
Note:
See TracChangeset
for help on using the changeset viewer.