Memory issue using ParMetis
Hi,
I am trying to use ParMETIS and using ParMETIS_V3_PartKway . My code seems to works 64 processes. When I run it on 128 processes I get the following error. For 128 processes, I am trying to partition the graph 16 ways.
Maximum memory used: 3143092 bytes
Current memory used: 503516 bytes
***Memory realloc failed for cnbrpoolGet: cnbrpool. Requested size: 1523232 bytes
I not sure what this error means. I get a segmentation violation within the partitioning calls. I am not sure what kind of information you need, here are some details of the distributed graph:
vtxdist(17): 0 1885 3770 5655 7540 9425 11310 13195 15080 16965 18850 20735 22620 24505 26390 28275 30169
double* tpwgts = new double[ncon*nparts];
for( int i = 0 ; i < nparts ; i++ )
for( int j = 0 ; j < ncon ; j++ )
tpwgts[i*ncon+j] = 1.0 / nparts;
double* ubvec = new double[ncon];
for( int i =0 ; i < ncon ; i++ )
ubvec[i] = 1.05;
int options[3];
options[0] = 1;
options[1] = 127;
options[2] = 42;
I hope some one could help me out soon about this.
Thanks,
Mahesh
- Login to post comments
RE: Same problem observed (SegFault)
Hello,
I am having the same problem of Segmentation fault with 'ParMETIS_V3_PartKway', when I go beyond a certain number of partitions/processes. ( In my case, I jump from 27, 64, 125, 216 no of processes and the problem is observed from 216 onwards.
mahesh.ravishankar: Were you able to resolve this problem?
Dr. Karypis: I have commented on another thread with the same problem. So we can continue on any of these. [ http://glaros.dtc.umn.edu/gkhome/node/834#comment-1124 ]
Thank you.