/home/kcamus/qaas_runs/169-443-9681/intel/AMG/build/AMG/AMG/test/amg.c: 798 - 1367
--------------------------------------------------------------------------------

798:          for (ix = ix_start; ix < ix_end; ix++)
799:          {
800:             cnt++;
801:             o_cnt++;
802:             diag_i[cnt]++;
803:             if (iz > nz*pz) 
804:             {
805:                diag_i[cnt]++;
806:                if (iy > ny*py) 
807:                {
808:                   diag_i[cnt]++;
809:       	          if (ix > nx*px)
810:       	          {
811:       	             diag_i[cnt]++;
812:       	          }
813:       	          else
814:       	          {
815:       	             if (ix) 
816:       		        offd_i[o_cnt]++;
817:       	          }
818:       	          if (ix < nx*(px+1)-1)
[...]
824:       	             if (ix+1 < nx_global) 
825:       		        offd_i[o_cnt]++;
826:       	          }
827:                }
828:                else
829:                {
830:                   if (iy) 
831:                   {
832:                      offd_i[o_cnt]++;
833:       	             if (ix > nx*px)
[...]
841:       	             if (ix < nx*(px+1)-1)
[...]
851:                if (ix > nx*px) 
852:                   diag_i[cnt]++;
853:                else
854:                {
855:                   if (ix) 
856:                   {
857:                      offd_i[o_cnt]++;
858:                   }
859:                }
860:                if (ix+1 < nx*(px+1)) 
861:                   diag_i[cnt]++;
862:                else
863:                {
864:                   if (ix+1 < nx_global) 
865:                   {
866:                      offd_i[o_cnt]++; 
867:                   }
868:                }
869:                if (iy+1 < ny*(py+1)) 
870:                {
871:                   diag_i[cnt]++;
872:       	          if (ix > nx*px)
873:       	          {
874:       	             diag_i[cnt]++;
875:       	          }
876:       	          else
877:       	          {
878:       	             if (ix) 
879:       		        offd_i[o_cnt]++;
880:       	          }
881:       	          if (ix < nx*(px+1)-1)
[...]
887:       	             if (ix+1 < nx_global) 
888:       		        offd_i[o_cnt]++;
889:       	          }
890:                }
891:                else
892:                {
893:                   if (iy+1 < ny_global) 
894:                   {
895:                      offd_i[o_cnt]++;
896:       	             if (ix > nx*px)
[...]
904:       	             if (ix < nx*(px+1)-1)
[...]
917:                if (iz)
918: 	       {
919: 		  offd_i[o_cnt]++;
920:                   if (iy > ny*py) 
921:                   {
922:                      offd_i[o_cnt]++;
923:       	             if (ix > nx*px)
[...]
932:       	             if (ix < nx*(px+1)-1)
[...]
944:                      if (iy) 
945:                      {
946:                         offd_i[o_cnt]++;
947:       	                if (ix > nx*px)
[...]
955:       	                if (ix < nx*(px+1)-1)
[...]
965:                   if (ix > nx*px) 
[...]
974:                   if (ix+1 < nx*(px+1)) 
[...]
983:                   if (iy+1 < ny*(py+1)) 
984:                   {
985:                      offd_i[o_cnt]++;
986:       	             if (ix > nx*px)
[...]
995:       	             if (ix < nx*(px+1)-1)
[...]
1007:                      if (iy+1 < ny_global) 
1008:                      {
1009:                         offd_i[o_cnt]++;
1010:       	                if (ix > nx*px)
[...]
1018:       	                if (ix < nx*(px+1)-1)
[...]
1030:             if (iy > ny*py) 
1031:             {
1032:                diag_i[cnt]++;
1033:    	       if (ix > nx*px)
1034:    	       {
1035:    	          diag_i[cnt]++;
1036:    	       }
1037:    	       else
1038:    	       {
1039:    	          if (ix) 
1040:    		     offd_i[o_cnt]++;
1041:    	       }
1042:    	       if (ix < nx*(px+1)-1)
[...]
1048:    	          if (ix+1 < nx_global) 
1049:    		     offd_i[o_cnt]++;
1050:    	       }
1051:             }
1052:             else
1053:             {
1054:                if (iy) 
1055:                {
1056:                   offd_i[o_cnt]++;
1057:    	          if (ix > nx*px)
[...]
1065:    	          if (ix < nx*(px+1)-1)
[...]
1075:             if (ix > nx*px) 
1076:                diag_i[cnt]++;
1077:             else
1078:             {
1079:                if (ix) 
1080:                {
1081:                   offd_i[o_cnt]++; 
1082:                }
1083:             }
1084:             if (ix+1 < nx*(px+1)) 
1085:                diag_i[cnt]++;
1086:             else
1087:             {
1088:                if (ix+1 < nx_global) 
1089:                {
1090:                   offd_i[o_cnt]++; 
1091:                }
1092:             }
1093:             if (iy+1 < ny*(py+1)) 
1094:             {
1095:                diag_i[cnt]++;
1096:    	       if (ix > nx*px)
1097:    	       {
1098:    	          diag_i[cnt]++;
1099:    	       }
1100:    	       else
1101:    	       {
1102:    	          if (ix) 
1103:    		     offd_i[o_cnt]++;
1104:    	       }
1105:    	       if (ix < nx*(px+1)-1)
[...]
1111:    	          if (ix+1 < nx_global) 
1112:    		     offd_i[o_cnt]++;
1113:    	       }
1114:             }
1115:             else
1116:             {
1117:                if (iy+1 < ny_global) 
1118:                {
1119:                   offd_i[o_cnt]++;
1120:    	          if (ix > nx*px)
[...]
1128:    	          if (ix < nx*(px+1)-1)
[...]
1138:             if (iz+1 < nz*(pz+1)) 
1139:             {
1140:                diag_i[cnt]++;
1141:                if (iy > ny*py) 
1142:                {
1143:                   diag_i[cnt]++;
1144:       	          if (ix > nx*px)
1145:       	          {
1146:       	             diag_i[cnt]++;
1147:       	          }
1148:       	          else
1149:       	          {
1150:       	             if (ix) 
1151:       		        offd_i[o_cnt]++;
1152:       	          }
1153:       	          if (ix < nx*(px+1)-1)
[...]
1159:       	             if (ix+1 < nx_global) 
1160:       		        offd_i[o_cnt]++;
1161:       	          }
1162:                }
1163:                else
1164:                {
1165:                   if (iy) 
1166:                   {
1167:                      offd_i[o_cnt]++;
1168:       	             if (ix > nx*px)
[...]
1176:       	             if (ix < nx*(px+1)-1)
[...]
1186:                if (ix > nx*px) 
1187:                   diag_i[cnt]++;
1188:                else
1189:                {
1190:                   if (ix) 
1191:                   {
1192:                      offd_i[o_cnt]++; 
1193:                   }
1194:                }
1195:                if (ix+1 < nx*(px+1)) 
1196:                   diag_i[cnt]++;
1197:                else
1198:                {
1199:                   if (ix+1 < nx_global) 
1200:                   {
1201:                      offd_i[o_cnt]++; 
1202:                   }
1203:                }
1204:                if (iy+1 < ny*(py+1)) 
1205:                {
1206:                   diag_i[cnt]++;
1207:       	          if (ix > nx*px)
1208:       	          {
1209:       	             diag_i[cnt]++;
1210:       	          }
1211:       	          else
1212:       	          {
1213:       	             if (ix) 
1214:       		        offd_i[o_cnt]++;
1215:       	          }
1216:       	          if (ix < nx*(px+1)-1)
[...]
1222:       	             if (ix+1 < nx_global) 
1223:       		        offd_i[o_cnt]++;
1224:       	          }
1225:                }
1226:                else
1227:                {
1228:                   if (iy+1 < ny_global) 
1229:                   {
1230:                      offd_i[o_cnt]++;
1231:       	             if (ix > nx*px)
[...]
1239:       	             if (ix < nx*(px+1)-1)
[...]
1252:                if (iz+1 < nz_global)
1253: 	       {
1254: 		  offd_i[o_cnt]++;
1255:                   if (iy > ny*py) 
1256:                   {
1257:                      offd_i[o_cnt]++;
1258:       	             if (ix > nx*px)
[...]
1267:       	             if (ix < nx*(px+1)-1)
[...]
1279:                      if (iy) 
1280:                      {
1281:                         offd_i[o_cnt]++;
1282:       	                if (ix > nx*px)
[...]
1290:       	                if (ix < nx*(px+1)-1)
[...]
1300:                   if (ix > nx*px) 
[...]
1309:                   if (ix+1 < nx*(px+1)) 
[...]
1318:                   if (iy+1 < ny*(py+1)) 
1319:                   {
1320:                      offd_i[o_cnt]++;
1321:       	             if (ix > nx*px)
[...]
1330:       	             if (ix < nx*(px+1)-1)
[...]
1342:                      if (iy+1 < ny_global) 
1343:                      {
1344:                         offd_i[o_cnt]++;
1345:       	                if (ix > nx*px)
[...]
1353:       	                if (ix < nx*(px+1)-1)
[...]
1365:             nnz[my_thread] += diag_i[cnt]+offd_i[o_cnt];
1366:             row_nums[cnt] = row_index+cnt;
1367:             num_cols[cnt] = diag_i[cnt]+offd_i[o_cnt];
