I am trying to partition ~ 3 million mesh. My Fortran program calls following -
METIS_PartGraphKway(gp%ncv_ib,ncon,nbocv_i,nbocv_v,0,0, &
0,npart,tpwgts,ubvec,options,edgecut,part)
`ncon = 1, npart = 10
allocate(ubvec(ncon))
ubvec(:) = 1.01
allocate(tpwgts(ncon*npart))
tpwgts(:) = 1.0/REAL(npart)
options(:)= 0`
Earlier I was using Metis that comes with Parmet 3.0 and it was working fine. Now if I use metis 5.1, it gives me following error -
Current memory used: 392 bytes Maximum memory used: 392 bytes ***Memory allocation failed for SetupCtrl: ctrl->tpwgts. Requested size: 10842907309714178088 bytes
I am specifying IDXTYPEWIDTH 64 and REALTYPEWIDTH 64