Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Applencourt committed Jul 25, 2024
1 parent 70a7af7 commit e00c521
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xprof/sync_daemon_mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ int MPIX_Init_Session(MPI_Session *lib_shandle, MPI_Comm *lib_comm) {
CHECK_MPI(MPI_Info_get(tinfo, mt_key, &valuelen, out_value, &flag));
if (flag == 0)
fprintf(stderr, "THAPI_SYNC_DAEMON_MPI Warning: Could not find key %s\n", mt_key);
if (strcmp(out_value, mt_value))
fprintf(stderr, "THAPI_SYNC_DAEMON_MPI Warning: Did not get MPI_THREAD_SINGLE, got %s\n",
out_value);
else if (strcmp(out_value, mt_value))
fprintf(stderr, "THAPI_SYNC_DAEMON_MPI Warning: Did not get %s, got %s\n",
mt_value, out_value);
}
/*
* create a group from the WORLD process set
Expand Down

0 comments on commit e00c521

Please sign in to comment.