Skip to content

Commit

Permalink
Merge pull request #8091 from naughtont3/fix-spcexample
Browse files Browse the repository at this point in the history
fix SPC example
  • Loading branch information
naughtont3 authored Oct 15, 2020
2 parents 23269cc + 9201503 commit 7aa195f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/spc_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ int main(int argc, char **argv)
char name[256], description[256];

/* Counter names to be read by ranks 0 and 1 */
char *counter_names[] = {"runtime_spc_OMPI_BYTES_SENT_USER",
"runtime_spc_OMPI_BYTES_RECEIVED_USER" };
/* (See also: ompi_spc_counters_t for list) */
char *counter_names[] = {"runtime_spc_OMPI_SPC_BYTES_SENT_USER",
"runtime_spc_OMPI_SPC_BYTES_RECEIVED_USER" };

MPI_Init(NULL, NULL);
MPI_T_init_thread(MPI_THREAD_SINGLE, &provided);
Expand Down

0 comments on commit 7aa195f

Please sign in to comment.