Skip to content

Commit b9d0761

Browse files
author
Alessandro Fanfarillo
committed
Debug message as last instruction
1 parent 23d2f47 commit b9d0761

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/mpi/mpi_caf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,6 @@ PREFIX (finalize) (void)
516516

517517
completed = 1;
518518

519-
printf("finalizing\n");
520-
521519
MPI_Cancel(&lock_req);
522520
MPI_Request_free(&lock_req);
523521
MPI_Barrier(CAF_COMM_WORLD);
@@ -557,6 +555,7 @@ PREFIX (finalize) (void)
557555
pthread_mutex_lock(&lock_am);
558556
caf_is_finalized = 1;
559557
pthread_mutex_unlock(&lock_am);
558+
printf("finalizing\n");
560559
exit(0);
561560
}
562561

0 commit comments

Comments
 (0)