debug lbpm-serial-decomp

This commit is contained in:
James E McClure 2018-05-26 08:12:31 -04:00
parent 8139f8120f
commit 80de0fee1a

View File

@ -18,7 +18,7 @@ int main(int argc, char **argv)
int rank=0; int rank=0;
/* bool MULTINPUT=false; /* bool MULTINPUT=false;
int NWP,SOLID,rank_offset; int NWP,SOLID,rank_offset;
SOLID=atoi(argv[1]); SOLID=atoi(argv[1]);
@ -90,7 +90,7 @@ int main(int argc, char **argv)
printf("oldvalue=%d, newvalue =%d \n",oldvalue,newvalue); printf("oldvalue=%d, newvalue =%d \n",oldvalue,newvalue);
} }
/* if (rank==0){ /* if (rank==0){
ifstream domain("Domain.in"); ifstream domain("Domain.in");
domain >> nprocx; domain >> nprocx;
domain >> nprocy; domain >> nprocy;
@ -204,12 +204,11 @@ int main(int argc, char **argv)
} }
} }
} }
}
for (int idx=0; idx<ReadValues.size(); idx++){ for (int idx=0; idx<ReadValues.size(); idx++){
char label=ReadValues[idx]; char label=ReadValues[idx];
int count=LabelCount[idx]; int count=LabelCount[idx];
printf("Label=%d, Count=%d \n",label,count); printf("Label=%d, Count=%d \n",label,count);
} }
}
} }