@@ -288,7 +288,7 @@ void mutex_lock(MPI_Win win, int image_index, int index, int *stat,
288
288
if (error_called == 1 )
289
289
{
290
290
/* MPIX_Comm_agree( CAF_COMM_WORLD, &completed ); */
291
- communicator_shrink (& lock_comm );
291
+ /* communicator_shrink(&lock_comm); */
292
292
communicator_shrink (& CAF_COMM_WORLD );
293
293
error_called = 0 ;
294
294
}
@@ -320,7 +320,7 @@ void mutex_lock(MPI_Win win, int image_index, int index, int *stat,
320
320
if (error_called == 1 )
321
321
{
322
322
/* MPIX_Comm_agree( CAF_COMM_WORLD, &completed ); */
323
- communicator_shrink (& lock_comm );
323
+ // communicator_shrink(&lock_comm);
324
324
communicator_shrink (& CAF_COMM_WORLD );
325
325
error_called = 0 ;
326
326
}
@@ -591,7 +591,7 @@ int communicator_shrink(MPI_Comm *comm)
591
591
/* Split does the magic: removing spare processes and reordering ranks
592
592
* so that all surviving processes remain at their former place */
593
593
rc = MPI_Comm_split (shrunk , crank < 0 ?MPI_UNDEFINED :1 , crank , newcomm );
594
-
594
+
595
595
/* Split or some of the communications above may have failed if
596
596
* new failures have disrupted the process: we need to
597
597
* make sure we succeeded at all ranks, or retry until it works. */
@@ -650,8 +650,8 @@ void *
650
650
if (error_called == 1 )
651
651
{
652
652
/* MPIX_Comm_agree( CAF_COMM_WORLD, &completed ); */
653
+ //communicator_shrink(&lock_comm);
653
654
communicator_shrink (& CAF_COMM_WORLD );
654
- communicator_shrink (& lock_comm );
655
655
error_called = 0 ;
656
656
}
657
657
@@ -819,8 +819,8 @@ PREFIX (sync_all) (int *stat, char *errmsg, int errmsg_len)
819
819
if (error_called == 1 )
820
820
{
821
821
/* MPIX_Comm_agree( CAF_COMM_WORLD, &completed ); */
822
+ //communicator_shrink(&lock_comm);
822
823
communicator_shrink (& CAF_COMM_WORLD );
823
- communicator_shrink (& lock_comm );
824
824
error_called = 0 ;
825
825
}
826
826
0 commit comments