[kitten] push by BrianK...@gmail.com - One line pct fix on 2013-07-09 14:57 GMT

1 view
Skip to first unread message

kit...@googlecode.com

unread,
Jul 9, 2013, 10:57:39 AM7/9/13
to kitten-...@googlegroups.com
Revision: 8f2b37a7db7b
Branch: default
Author: Brian Kocoloski <bko...@sandia.gov>
Date: Tue Jul 9 07:56:43 2013
Log: One line pct fix
http://code.google.com/p/kitten/source/detail?r=8f2b37a7db7b

Modified:
/user/runtime2/pct/pct.c

=======================================
--- /user/runtime2/pct/pct.c Mon Jul 8 15:19:38 2013
+++ /user/runtime2/pct/pct.c Tue Jul 9 07:56:43 2013
@@ -278,7 +278,7 @@
// Setup the process's environment.
// This includes info needed to contact PPE.
rank = (global_rank > -1) ? global_rank : i;
- size = (global_size > -1) ? global_size : i;
+ size = (global_size > -1) ? global_size : local_size;

offset = 0;
offset += sprintf(env + offset, "PMI_RANK=%d, ", rank);
Reply all
Reply to author
Forward
0 new messages