Skip to content

Commit 8421c8c

Browse files
author
Alessandro Fanfarillo
committed
Cleanup
1 parent f4411e6 commit 8421c8c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/mpi/mpi_caf.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,13 @@ static void verbose_comm_errhandler(MPI_Comm* pcomm, int* err, ...){
144144
ranks_gf[i] = i;
145145
MPI_Group_translate_ranks(group_f, nf, ranks_gf,
146146
group_c, ranks_gc);
147-
printf("%d in verbose old_nf:%d nf:%d\n",caf_this_image,old_nf,nf);
148147

149148
n_failed_imgs += nf;
150149
j=0;
151150

152151
for(i = old_nf; i < n_failed_imgs; i++)
153152
{
154153
failed_images_array[i] = ranks_gc[j];
155-
printf("Ranks_gc %d\n",ranks_gc[j]);
156154
failed_images_array[i]++;
157155
j++;
158156
}
@@ -625,7 +623,6 @@ int communicator_shrink(MPI_Comm *comm)
625623

626624
// MPI_Comm_rank(*comm, &crank);
627625
MPI_Comm_rank(MPI_COMM_WORLD, &crank);
628-
printf("me: %d becomes: %d\n",caf_this_image,crank+1);
629626
/* Split does the magic: removing spare processes and reordering ranks
630627
* so that all surviving processes remain at their former place */
631628
if (*img_status == STAT_STOPPED_IMAGE)
@@ -881,7 +878,6 @@ PREFIX (sync_all) (int *stat, char *errmsg, int errmsg_len)
881878

882879
if(error_called == 1)
883880
{
884-
printf("%d First if in sync all\n",caf_this_image);
885881
communicator_shrink(&CAF_COMM_WORLD);
886882
error_called = 0;
887883
ierr = STAT_FAILED_IMAGE;
@@ -900,7 +896,6 @@ PREFIX (sync_all) (int *stat, char *errmsg, int errmsg_len)
900896

901897
if(error_called == 1)
902898
{
903-
printf("%d Second if in sync all\n",caf_this_image);
904899
communicator_shrink(&CAF_COMM_WORLD);
905900
error_called = 0;
906901
ierr = STAT_FAILED_IMAGE;
@@ -1367,7 +1362,6 @@ PREFIX (send) (caf_token_t token, size_t offset, int image_index,
13671362

13681363
if(error_called == 1)
13691364
{
1370-
printf("%d In second shrink\n",caf_this_image);
13711365
communicator_shrink(&CAF_COMM_WORLD);
13721366
error_called = 0;
13731367
ierr = STAT_FAILED_IMAGE;

0 commit comments

Comments
 (0)