Changeset 5835
- Timestamp:
- 09/15/10 22:19:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/PenaltyConstraintsx/RiftConstraints.cpp
r5420 r5835 135 135 /*Is there just one found? that would mean we have frozen! : */ 136 136 #ifdef _PARALLEL_ 137 MPI_Reduce (&found,&mpi_found,1,MPI_ DOUBLE,MPI_MAX,0,MPI_COMM_WORLD );138 MPI_Bcast(&mpi_found,1,MPI_ DOUBLE,0,MPI_COMM_WORLD);137 MPI_Reduce (&found,&mpi_found,1,MPI_INT,MPI_MAX,0,MPI_COMM_WORLD ); 138 MPI_Bcast(&mpi_found,1,MPI_INT,0,MPI_COMM_WORLD); 139 139 found=mpi_found; 140 140 #endif … … 329 329 330 330 #ifdef _PARALLEL_ 331 MPI_Reduce (&max_penetration,&mpi_max_penetration,1,MPI_ DOUBLE,MPI_MAX,0,MPI_COMM_WORLD );332 MPI_Bcast(&mpi_max_penetration,1,MPI_ DOUBLE,0,MPI_COMM_WORLD);331 MPI_Reduce (&max_penetration,&mpi_max_penetration,1,MPI_INT,MPI_MAX,0,MPI_COMM_WORLD ); 332 MPI_Bcast(&mpi_max_penetration,1,MPI_INT,0,MPI_COMM_WORLD); 333 333 max_penetration=mpi_max_penetration; 334 334 #endif
Note:
See TracChangeset
for help on using the changeset viewer.