networkit icon indicating copy to clipboard operation
networkit copied to clipboard

Large RMAT Graph Generation Error for Large Size

Open kaanolgu opened this issue 1 year ago • 0 comments

Hi, I was trying to build rmat graphs via

    S = int(sys.argv[2]) # scale factor
    E = int(sys.argv[3]) # edge factor


    # Benchmark Parameters 
    A = 0.57
    B = 0.19
    C = 0.19
    D = 1-(A+B+C) 

    # Generate Graph
    rmat = nk.generators.RmatGenerator(S, E, A, B, C, D,False,0)
    rmatG = rmat.generate()
    
    print(rmatG.numberOfNodes(), rmatG.numberOfEdges(), rmatG.isDirected())

It worked for scale factor <25 I am getting error message for S=28, E=16 after running for a long time, slurm killed the job but didn't give any error messages so I would think it is a memory issue. Is there a way to generate large size RMAT graphs faster or OpenMP involved with the CPP version?

kaanolgu avatar Oct 05 '24 20:10 kaanolgu