I am studying the collective SM code and I think that there is a small error in
the code related to how the memory affinity is achieved. I attach a patch file
(from subversion revision 27653), I hope it can be useful:
Index: coll_sm_module.c
===================================================================
--- coll_sm_module.c (revisión: 27653)
+++ coll_sm_module.c (copia de trabajo)
@@ -434,7 +434,7 @@
maffinity[j].mbs_len = c->sm_fragment_size;
maffinity[j].mbs_start_addr =
data->mcb_data_index[i].mcbmi_data +
- (rank * c->sm_control_size);
+ (rank * c->sm_fragment_size);
++j;
#endif
}
Regards,
Juan A. Rico
__________________________________
Juan Antonio Rico Gallego
Dept. Computer Systems Engineering and Telematics
University of Extremadura
E. U. Politécnica
10003, Cáceres
Tlf.: (+34) 927 25 7200 ext. 51655
[email protected]
http://gim.unex.es/azequiampi