Skip to content

Commit 52d8b8d

Browse files
Defined new symbols
1 parent 09757bf commit 52d8b8d

File tree

5 files changed

+531
-320
lines changed

5 files changed

+531
-320
lines changed

cmake/converse.cmake

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ set(conv-core-cxx-sources
3838
src/conv-core/convcore.C
3939
src/conv-core/cpm.C
4040
src/conv-core/cpthreads.C
41+
src/conv-core/cputopology.C
4142
src/conv-core/cpuaffinity.C
4243
src/conv-core/debug-conv.C
4344
src/conv-core/futures.C
@@ -161,10 +162,13 @@ set(conv-util-cxx-sources
161162
src/util/pup_toNetwork4.C
162163
src/util/pup_util.C
163164
src/util/pup_xlater.C
164-
#src/util/spanningTree.C
165+
src/util/topomanager/TopoManager.C
166+
src/util/spanningTree.C
165167
${conv-perf-cxx-sources}
166168
)
167169

170+
#Uncommenting spanning tree to satisfy ckrdma dep errors
171+
168172
if(CMK_CAN_LINK_FORTRAN)
169173
add_library(conv-utilf pup_f.f90)
170174
add_custom_command(TARGET conv-utilf
@@ -241,8 +245,17 @@ add_library(charm_cxx_utils STATIC
241245

242246
add_library(converse INTERFACE)
243247

248+
add_library(topomanager STATIC
249+
${tmgr-cxx-sources}
250+
${tmgr-h-sources})
251+
252+
target_include_directories(topomanager PUBLIC
253+
src/util/topomanager
254+
${CMAKE_BINARY_DIR}/include)
255+
244256
target_link_libraries(converse INTERFACE
245257
reconverse
258+
topomanager
246259
charm_cxx_utils
247260
hwloc
248261
)

src/scripts/Make.depends

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,6 +1216,13 @@ cputopology.o: cputopology.C converse.h conv-header.h conv-config.h \
12161216

12171217
crc32.o: crc32.C crc32.h
12181218

1219+
cputopology.o: cputopology.C converse.h conv-header.h conv-config.h \
1220+
conv-autoconfig.h conv-common.h conv-mach-common.h conv-mach.h \
1221+
conv-mach-opt.h lrts-common.h cmiqueue.h pup_c.h pup_c_functions.h \
1222+
lrtslock.h queueing.h conv-cpm.h conv-cpath.h conv-qd.h conv-random.h \
1223+
conv-lists.h conv-trace.h persistent.h cmirdmautils.h debug-conv.h \
1224+
sockRoutines.h
1225+
12191226
custom_partitioner.o: custom_partitioner.C charm++.h charm.h converse.h \
12201227
conv-header.h conv-config.h conv-autoconfig.h conv-common.h \
12211228
conv-mach-common.h conv-mach.h conv-mach-opt.h lrts-common.h cmiqueue.h \

src/scripts/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ endif
448448
LIBCONV_CORE=convcore.o hrctimer.o conv-conds.o conv-taskQ.o queueing.o msgmgr.o \
449449
cpm.o cpthreads.o futures.o cldb.o random.o \
450450
debug-conv.o debug-conv++.o conv-ccs.o ccs-builtins.o middle-ccs.o \
451-
traceCore.o traceCoreCommon.o \
451+
traceCore.o cputopology.o traceCoreCommon.o \
452452
converseProjections.o machineProjections.o \
453453
quiescence.o isomalloc.o mem-arena.o memory-darwin-clang.o \
454454
global-nop.o cmipool.o cpuaffinity.o cputopology.o \

0 commit comments

Comments
 (0)