Fixed a linking error if neither the spanning tree nor the hypercube broadcast is...
authorChao Mei <chaomei2@illinois.edu>
Tue, 15 Mar 2011 20:57:44 +0000 (15:57 -0500)
committerChao Mei <chaomei2@illinois.edu>
Tue, 15 Mar 2011 20:57:44 +0000 (15:57 -0500)
src/arch/mpi/machine.c

index e921e013170cb4e3a51fc508c6b9696d74d61913..e0832c918ff50ff05096296e81f244cde869949d 100644 (file)
@@ -126,6 +126,8 @@ static int checksum_flag = 0;
 
 #if CMK_BROADCAST_SPANNING_TREE || CMK_BROADCAST_HYPERCUBE
 #define CMI_SET_BROADCAST_ROOT(msg, root)  CMI_BROADCAST_ROOT(msg) = (root);
+#else
+#define CMI_SET_BROADCAST_ROOT(msg, root) 
 #endif