minor
authorYanhuaSun <sun51@illinois.edu>
Fri, 11 Oct 2013 03:53:53 +0000 (22:53 -0500)
committerYanhuaSun <sun51@illinois.edu>
Fri, 11 Oct 2013 03:53:53 +0000 (22:53 -0500)
src/arch/pamilrts/manytomany.c

index 12616749e963c06122f8182b22331a3b75a095d8..32d8393fd9aaaf0d7f38a1bae02a18968775f7b6 100644 (file)
@@ -396,8 +396,8 @@ void   CmiDirect_manytomany_initialize_send ( void        * h,
 #else
   size_t dst_context = 0;
 #endif
-  PAMI_Endpoint_create (cmi_pami_client, (pami_task_t)CmiNodeOf(pe), 
-                       dst_context, &target);
+  PAMI_Endpoint_create (cmi_pami_client, (pami_task_t)CmiGetNodeGlobal(CmiNodeOf(pe),CmiMyPartition()),
+                        dst_context, &target);
   handle->m2m_node_eps   [idx]   = target;
 
   //uint64_t p_rand = ((uint64_t)idx+1)*PRIME_A + PRIME_B*(CmiMyPe()+1);