Changeset 13590 for issm/trunk-jpl/src/c/modules/MaxVelx/MaxVelx.cpp
- Timestamp:
- 10/10/12 20:56:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/MaxVelx/MaxVelx.cpp
r13073 r13590 34 34 /*Figure out maximum across the cluster: */ 35 35 #ifdef _HAVE_MPI_ 36 MPI_Reduce (&maxvel,&node_maxvel,1,MPI_DOUBLE,MPI_MAX,0, MPI_COMM_WORLD);37 MPI_Bcast(&node_maxvel,1,MPI_DOUBLE,0, MPI_COMM_WORLD);36 MPI_Reduce (&maxvel,&node_maxvel,1,MPI_DOUBLE,MPI_MAX,0,IssmComm::GetComm() ); 37 MPI_Bcast(&node_maxvel,1,MPI_DOUBLE,0,IssmComm::GetComm()); 38 38 maxvel=node_maxvel; 39 39 #endif
Note:
See TracChangeset
for help on using the changeset viewer.