Skip to content

Commit 34c2e11

Browse files
rbuchevan-charmworks
authored andcommitted
Tracing: Don't write SMPMODE when not in SMP mode (#3440)
1 parent 9ddb3ed commit 34c2e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ck-perf/trace-common.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ void traceWriteSTS(FILE *stsfp,int nUserEvents) {
268268
#else
269269
fprintf(stsfp, "PROCESSORS %d\n", CkNumPes());
270270
#endif
271-
#ifdef CMK_SMP
271+
#if CMK_SMP
272272
fprintf(stsfp, "SMPMODE %d %d\n", CkMyNodeSize(), CkNumNodes());
273273
#endif
274274

0 commit comments

Comments
 (0)