Segmentation fault occurs when HMETIS_PartRecursive function of the hMeTiS library function is being called
i tried to use the hMeTiS, linux version for partitioning my hypergraph.
the following are the parameters given to the function HMETIS_PartRecursive:
Nvtxs = 14
Nhedges = 14
Vwgts = null
Eptr = [0,3,5,7,10,13,15,17,20,23,24,25,27,29,30]]
Eind = [0,3,4,1,5,2,6,3,7,8,1,0,7,11,12,8,11,12,9,10,11,13,12,13,13]
Hewgts = null
Nparts = 2
Ubfactor = 5
Options = 0
Part = [0,0,0,0,0,0,0,0,0,0,0,0,0,0]
int  edgecut = new int;
HMETIS_PartRecursive(14, 14 ,null,Eptr,Eind,Hewgts, Nparts ,Ubfactor, Options, Part, edgecut);
the output was a segmentation fault
is any thing wrong in calling the function or with the parameters being passed.
there are no weights in my hypergraph.
by the by i did not install the hmetis library on my system.i was linking the libhmetis.a file to my code given in the software.
a quick reply please...