Skip to content
Snippets Groups Projects
Commit 0d84614e authored by Moe Jette's avatar Moe Jette
Browse files

Changed scan in _init_elan_capability from bit orientation to word

orientation for greater speed (skips who empty words rather than
checking each bit). - Jette
parent a6da2d4a
No related branches found
No related tags found
No related merge requests found
......@@ -448,7 +448,7 @@ _init_elan_capability(ELAN_CAPABILITY *cap, int nprocs, int nnodes,
* two processes on node 4) and bits 4,5 (corresponding to the two
* processes running on node 6) are set.
*/
for (i = 0; i < bit_size(nodeset); i++) {
for (i = cap->LowNode; i <= cap->HighNode; i++) {
if (bit_test(nodeset, i)) {
int j, proc0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment