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);