Home
last modified time | relevance | path

Searched refs:nbnodes (Results 1 – 25 of 65) sorted by relevance

123

/dports/cad/opencascade/opencascade-7.6.0/src/IGESAppli/
H A DIGESAppli_ToolNodalDisplAndRot.cxx53 Standard_Integer nbnodes = 0; in ReadOwnParams() local
76 for (Standard_Integer j=1; j <=nbnodes; j++) { in ReadOwnParams()
111 Standard_Integer nbnodes = ent->NbNodes(); in WriteOwnParams() local
116 IW.Send(nbnodes); in WriteOwnParams()
137 Standard_Integer nbnodes = ent->NbNodes(); in OwnShared() local
150 Standard_Integer nbnodes = another->NbNodes(); in OwnCopy() local
154 new TColStd_HArray1OfInteger(1,nbnodes); in OwnCopy()
156 new IGESAppli_HArray1OfNode(1,nbnodes); in OwnCopy()
162 for (Standard_Integer i=1 ;i <=nbnodes; i++) in OwnCopy()
174 for (Standard_Integer n=1 ;n <=nbnodes; n++) in OwnCopy()
[all …]
H A DIGESAppli_ToolNodalResults.cxx52 Standard_Integer nbnodes = 0; in ReadOwnParams() local
95 Standard_Integer nbnodes = ent->NbNodes(); in WriteOwnParams() local
101 IW.Send(nbnodes); in WriteOwnParams()
102 for (Standard_Integer i = 1; i <= nbnodes; i++) in WriteOwnParams()
114 Standard_Integer nbnodes = ent->NbNodes(); in OwnShared() local
116 for (Standard_Integer i = 1; i <= nbnodes; i++) in OwnShared()
127 Standard_Integer nbnodes = another->NbNodes(); in OwnCopy() local
130 new TColStd_HArray1OfInteger(1,nbnodes); in OwnCopy()
132 new IGESAppli_HArray1OfNode(1,nbnodes); in OwnCopy()
134 new TColStd_HArray2OfReal(1,nbnodes,1,nbval); in OwnCopy()
[all …]
/dports/net/mpich2/mpich2-1.5/src/pm/hydra/tools/topo/hwloc/hwloc/src/
H A Dtopology-osf.c243 unsigned nbnodes; in hwloc_look_osf() local
251 topology->backend_params.osf.nbnodes = nbnodes = rad_get_num(); in hwloc_look_osf()
257 hwloc_obj_t *nodes = calloc(nbnodes, sizeof(hwloc_obj_t)); in hwloc_look_osf()
258 unsigned *indexes = calloc(nbnodes, sizeof(unsigned)); in hwloc_look_osf()
259 float *distances = calloc(nbnodes*nbnodes, sizeof(float)); in hwloc_look_osf()
267 for (radid = 0; radid < (radid_t) nbnodes; radid++) { in hwloc_look_osf()
298 for (radid2 = 0; radid2 < (radid_t) nbnodes; radid2++) in hwloc_look_osf()
299 distances[radid*nbnodes+radid2] = RAD_DIST_REMOTE; in hwloc_look_osf()
309 if (distances[radid*nbnodes+radid2] == RAD_DIST_REMOTE) { in hwloc_look_osf()
310 distances[radid*nbnodes+radid2] = (float) distance; in hwloc_look_osf()
[all …]
H A Dtopology-hpux.c171 int i, nbnodes = 0; in hwloc_look_hpux() local
178 nbnodes = mpctl(topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM ? in hwloc_look_hpux()
181 hwloc_debug("%d nodes\n", nbnodes); in hwloc_look_hpux()
183 nodes = malloc(nbnodes * sizeof(*nodes)); in hwloc_look_hpux()
188 while (currentnode != -1 && i < nbnodes) { in hwloc_look_hpux()
217 for (i = 0; i < nbnodes; i++) in hwloc_look_hpux()
220 if (i < nbnodes) { in hwloc_look_hpux()
237 for (i = 0 ; i < nbnodes ; i++) in hwloc_look_hpux()
/dports/devel/hwloc/hwloc-1.11.13/src/
H A Dtopology-osf.c52 int nbnodes = rad_get_num(); in prepare_radset() local
62 for (radid = 0; radid < nbnodes; radid++) { in prepare_radset()
245 unsigned nbnodes; in hwloc_look_osf() local
259 nbnodes = rad_get_num(); in hwloc_look_osf()
266 unsigned *indexes = calloc(nbnodes, sizeof(unsigned)); in hwloc_look_osf()
267 float *distances = calloc(nbnodes*nbnodes, sizeof(float)); in hwloc_look_osf()
275 for (radid = 0; radid < (radid_t) nbnodes; radid++) { in hwloc_look_osf()
308 for (radid2 = 0; radid2 < (radid_t) nbnodes; radid2++) in hwloc_look_osf()
309 distances[radid*nbnodes+radid2] = RAD_DIST_REMOTE; in hwloc_look_osf()
319 if (distances[radid*nbnodes+radid2] == RAD_DIST_REMOTE) { in hwloc_look_osf()
[all …]
H A Dtopology-hpux.c182 int i, nbnodes = 0; in hwloc_look_hpux() local
191 nbnodes = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ? in hwloc_look_hpux()
194 hwloc_debug("%d nodes\n", nbnodes); in hwloc_look_hpux()
196 nodes = malloc(nbnodes * sizeof(*nodes)); in hwloc_look_hpux()
201 while (currentnode != -1 && i < nbnodes) { in hwloc_look_hpux()
230 if (i >= nbnodes || (ldom_t) nodes[i]->os_index != currentnode) in hwloc_look_hpux()
231 for (i = 0; i < nbnodes; i++) in hwloc_look_hpux()
234 if (i < nbnodes) { in hwloc_look_hpux()
251 for (i = 0 ; i < nbnodes ; i++) in hwloc_look_hpux()
/dports/net/openmpi3/openmpi-3.1.6/opal/mca/hwloc/hwloc1117/hwloc/src/
H A Dtopology-osf.c52 int nbnodes = rad_get_num(); in prepare_radset() local
62 for (radid = 0; radid < nbnodes; radid++) { in prepare_radset()
245 unsigned nbnodes; in hwloc_look_osf() local
259 nbnodes = rad_get_num(); in hwloc_look_osf()
265 hwloc_obj_t *nodes = calloc(nbnodes, sizeof(hwloc_obj_t)); in hwloc_look_osf()
266 unsigned *indexes = calloc(nbnodes, sizeof(unsigned)); in hwloc_look_osf()
267 float *distances = calloc(nbnodes*nbnodes, sizeof(float)); in hwloc_look_osf()
275 for (radid = 0; radid < (radid_t) nbnodes; radid++) { in hwloc_look_osf()
308 for (radid2 = 0; radid2 < (radid_t) nbnodes; radid2++) in hwloc_look_osf()
309 distances[radid*nbnodes+radid2] = RAD_DIST_REMOTE; in hwloc_look_osf()
[all …]
H A Dtopology-hpux.c182 int i, nbnodes = 0; in hwloc_look_hpux() local
191 nbnodes = mpctl(topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM ? in hwloc_look_hpux()
194 hwloc_debug("%d nodes\n", nbnodes); in hwloc_look_hpux()
196 nodes = malloc(nbnodes * sizeof(*nodes)); in hwloc_look_hpux()
201 while (currentnode != -1 && i < nbnodes) { in hwloc_look_hpux()
230 if (i >= nbnodes || (ldom_t) nodes[i]->os_index != currentnode) in hwloc_look_hpux()
231 for (i = 0; i < nbnodes; i++) in hwloc_look_hpux()
234 if (i < nbnodes) { in hwloc_look_hpux()
251 for (i = 0 ; i < nbnodes ; i++) in hwloc_look_hpux()
/dports/math/yices/yices-2.6.2/src/utils/
H A Duint_rbtrees.c54 tree->nbnodes = 1; in init_rbtree()
85 i = tree->nbnodes; in rbtree_new_node()
90 tree->nbnodes = i+1; in rbtree_new_node()
114 tree->nbnodes = 1; in reset_rbtree()
131 assert(i < tree->nbnodes); in rbtree_find()
137 assert(i < tree->nbnodes); in rbtree_find()
155 assert(p < tree->nbnodes && q < tree->nbnodes); in is_parent_node()
188 assert(p < tree->nbnodes); in is_red()
202 assert(p < tree->nbnodes); in mark_red()
207 assert(p < tree->nbnodes); in mark_black()
[all …]
H A Duint_rbtrees.h64 uint32_t nbnodes; member
133 return tree->nbnodes; in rbtree_num_nodes()
155 return tree->nbnodes - 1; in rbtree_card()
179 assert(i < tree->nbnodes); in rbtree_node_value()
184 assert(i < tree->nbnodes); in rbtree_node_left_child()
189 assert(i < tree->nbnodes); in rbtree_node_right_child()
/dports/net/openmpi/openmpi-4.1.1/opal/mca/hwloc/hwloc201/hwloc/hwloc/
H A Dtopology-hpux.c184 int i, nbnodes = 0; in hwloc_look_hpux() local
193 nbnodes = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ? in hwloc_look_hpux()
196 hwloc_debug("%d nodes\n", nbnodes); in hwloc_look_hpux()
198 hwloc_obj_t nodes[nbnodes], obj; in hwloc_look_hpux()
204 while (currentnode != -1 && i < nbnodes) { in hwloc_look_hpux()
233 if (i >= nbnodes || (ldom_t) nodes[i]->os_index != currentnode) in hwloc_look_hpux()
234 for (i = 0; i < nbnodes; i++) in hwloc_look_hpux()
237 if (i < nbnodes) { in hwloc_look_hpux()
254 for (i = 0 ; i < nbnodes ; i++) in hwloc_look_hpux()
/dports/net/mpich/mpich-3.4.3/modules/hwloc/hwloc/
H A Dtopology-hpux.c191 int i, nbnodes = 0; in hwloc_look_hpux() local
202 nbnodes = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_INCLUDE_DISALLOWED) ? in hwloc_look_hpux()
205 hwloc_debug("%d nodes\n", nbnodes); in hwloc_look_hpux()
207 nodes = malloc(nbnodes * sizeof(*nodes)); in hwloc_look_hpux()
215 while (currentnode != -1 && i < nbnodes) { in hwloc_look_hpux()
244 if (i >= nbnodes || (ldom_t) nodes[i]->os_index != currentnode) in hwloc_look_hpux()
245 for (i = 0; i < nbnodes; i++) in hwloc_look_hpux()
248 if (i < nbnodes) { in hwloc_look_hpux()
265 for (i = 0 ; i < nbnodes ; i++) in hwloc_look_hpux()
H A Dtopology-linux.c2711 if (nbnodes == 1) in hwloc_linux_knl_parse_numa_distances()
2715 if (nbnodes != 2 && nbnodes != 4 && nbnodes != 8) { in hwloc_linux_knl_parse_numa_distances()
3667 nbnodes++; in list_sysfsnode()
3724 unsigned nbnodes; in annotate_sysfsnode() local
3737 distances = malloc(nbnodes*nbnodes*sizeof(*distances)); in annotate_sysfsnode()
3766 if (nbnodes >= 2 in annotate_sysfsnode()
3778 *found = nbnodes; in annotate_sysfsnode()
3788 unsigned nbnodes; in look_sysfsnode() local
3810 distances = malloc(nbnodes*nbnodes*sizeof(*distances)); in look_sysfsnode()
3818 nbnodes = 0; in look_sysfsnode()
[all …]
/dports/net/mpich/mpich-3.4.3/src/pm/hydra2/libhydra/topo/hwloc/hwloc/hwloc/
H A Dtopology-hpux.c191 int i, nbnodes = 0; in hwloc_look_hpux() local
202 nbnodes = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_INCLUDE_DISALLOWED) ? in hwloc_look_hpux()
205 hwloc_debug("%d nodes\n", nbnodes); in hwloc_look_hpux()
207 nodes = malloc(nbnodes * sizeof(*nodes)); in hwloc_look_hpux()
215 while (currentnode != -1 && i < nbnodes) { in hwloc_look_hpux()
244 if (i >= nbnodes || (ldom_t) nodes[i]->os_index != currentnode) in hwloc_look_hpux()
245 for (i = 0; i < nbnodes; i++) in hwloc_look_hpux()
248 if (i < nbnodes) { in hwloc_look_hpux()
265 for (i = 0 ; i < nbnodes ; i++) in hwloc_look_hpux()
H A Dtopology-linux.c2711 if (nbnodes == 1) in hwloc_linux_knl_parse_numa_distances()
2715 if (nbnodes != 2 && nbnodes != 4 && nbnodes != 8) { in hwloc_linux_knl_parse_numa_distances()
3667 nbnodes++; in list_sysfsnode()
3724 unsigned nbnodes; in annotate_sysfsnode() local
3737 distances = malloc(nbnodes*nbnodes*sizeof(*distances)); in annotate_sysfsnode()
3766 if (nbnodes >= 2 in annotate_sysfsnode()
3778 *found = nbnodes; in annotate_sysfsnode()
3788 unsigned nbnodes; in look_sysfsnode() local
3810 distances = malloc(nbnodes*nbnodes*sizeof(*distances)); in look_sysfsnode()
3818 nbnodes = 0; in look_sysfsnode()
[all …]
/dports/net/mpich/mpich-3.4.3/src/pm/hydra/tools/topo/hwloc/hwloc/hwloc/
H A Dtopology-hpux.c191 int i, nbnodes = 0; in hwloc_look_hpux() local
202 nbnodes = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_INCLUDE_DISALLOWED) ? in hwloc_look_hpux()
205 hwloc_debug("%d nodes\n", nbnodes); in hwloc_look_hpux()
207 nodes = malloc(nbnodes * sizeof(*nodes)); in hwloc_look_hpux()
215 while (currentnode != -1 && i < nbnodes) { in hwloc_look_hpux()
244 if (i >= nbnodes || (ldom_t) nodes[i]->os_index != currentnode) in hwloc_look_hpux()
245 for (i = 0; i < nbnodes; i++) in hwloc_look_hpux()
248 if (i < nbnodes) { in hwloc_look_hpux()
265 for (i = 0 ; i < nbnodes ; i++) in hwloc_look_hpux()
H A Dtopology-linux.c2711 if (nbnodes == 1) in hwloc_linux_knl_parse_numa_distances()
2715 if (nbnodes != 2 && nbnodes != 4 && nbnodes != 8) { in hwloc_linux_knl_parse_numa_distances()
3667 nbnodes++; in list_sysfsnode()
3724 unsigned nbnodes; in annotate_sysfsnode() local
3737 distances = malloc(nbnodes*nbnodes*sizeof(*distances)); in annotate_sysfsnode()
3766 if (nbnodes >= 2 in annotate_sysfsnode()
3778 *found = nbnodes; in annotate_sysfsnode()
3788 unsigned nbnodes; in look_sysfsnode() local
3810 distances = malloc(nbnodes*nbnodes*sizeof(*distances)); in look_sysfsnode()
3818 nbnodes = 0; in look_sysfsnode()
[all …]
/dports/devel/hwloc2/hwloc-2.5.0/hwloc/
H A Dtopology-hpux.c191 int i, nbnodes = 0; in hwloc_look_hpux() local
202 nbnodes = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_INCLUDE_DISALLOWED) ? in hwloc_look_hpux()
205 hwloc_debug("%d nodes\n", nbnodes); in hwloc_look_hpux()
207 nodes = malloc(nbnodes * sizeof(*nodes)); in hwloc_look_hpux()
215 while (currentnode != -1 && i < nbnodes) { in hwloc_look_hpux()
244 if (i >= nbnodes || (ldom_t) nodes[i]->os_index != currentnode) in hwloc_look_hpux()
245 for (i = 0; i < nbnodes; i++) in hwloc_look_hpux()
248 if (i < nbnodes) { in hwloc_look_hpux()
265 for (i = 0 ; i < nbnodes ; i++) in hwloc_look_hpux()
/dports/devel/hwloc/hwloc-1.11.13/tests/
H A Dhwloc_topology_restrict.c16 static void check(unsigned nbnodes, unsigned nbcores, unsigned nbpus) in check() argument
34 assert(nb == nbnodes); in check()
40 assert(total_memory == nbnodes * 1024*1024*1024); /* synthetic topology puts 1GB per node */ in check()
43 static void check_distances(unsigned nbnodes, unsigned nbcores) in check_distances() argument
49 if (nbnodes >= 2) { in check_distances()
51 assert(distance->nbobjs == nbnodes); in check_distances()
/dports/net/mpich2/mpich2-1.5/src/pm/hydra/tools/topo/hwloc/hwloc/tests/
H A Dhwloc_topology_restrict.c16 static void check(unsigned nbnodes, unsigned nbcores, unsigned nbpus) in check() argument
34 assert(nb == nbnodes); in check()
40 assert(total_memory == nbnodes * 1024*1024*1024); /* synthetic topology puts 1GB per node */ in check()
43 static void check_distances(unsigned nbnodes, unsigned nbcores) in check_distances() argument
49 if (nbnodes >= 2) { in check_distances()
51 assert(distance->nbobjs == nbnodes); in check_distances()
/dports/net/mpich/mpich-3.4.3/modules/hwloc/doc/examples/
H A Dnodeset+membind+policy.c27 int nbnodes; in main() local
48 nbnodes = hwloc_bitmap_weight(cset); in main()
50 assert(nbnodes > 0); in main()
51 printf("there are %d nodes in the machine\n", nbnodes); in main()
/dports/net/mpich/mpich-3.4.3/src/pm/hydra2/libhydra/topo/hwloc/hwloc/doc/examples/
H A Dnodeset+membind+policy.c27 int nbnodes; in main() local
48 nbnodes = hwloc_bitmap_weight(cset); in main()
50 assert(nbnodes > 0); in main()
51 printf("there are %d nodes in the machine\n", nbnodes); in main()
/dports/net/mpich/mpich-3.4.3/src/pm/hydra/tools/topo/hwloc/hwloc/doc/examples/
H A Dnodeset+membind+policy.c27 int nbnodes; in main() local
48 nbnodes = hwloc_bitmap_weight(cset); in main()
50 assert(nbnodes > 0); in main()
51 printf("there are %d nodes in the machine\n", nbnodes); in main()
/dports/devel/hwloc/hwloc-1.11.13/doc/examples/
H A Dnodeset+membind+policy.c25 int nbnodes; in main() local
46 nbnodes = hwloc_bitmap_weight(cset); in main()
47 if (nbnodes <= 0) { in main()
54 printf("there are %d nodes in the machine\n", nbnodes); in main()
/dports/devel/hwloc2/hwloc-2.5.0/doc/examples/
H A Dnodeset+membind+policy.c27 int nbnodes; in main() local
48 nbnodes = hwloc_bitmap_weight(cset); in main()
50 assert(nbnodes > 0); in main()
51 printf("there are %d nodes in the machine\n", nbnodes); in main()

123