[Nauty] MAXN too big ?

Brendan McKay bdm at cs.anu.edu.au
Mon Jan 24 18:00:01 EST 2005


* Sterten at aol.com <Sterten at aol.com> [050124 17:30]:
> 
> I tried to read a graph with 2680 vertices and to compute  the
> automorphismgroup. Is this too large ? I noticed that  the
> graph-creation routines EMPTYSET,ADDELEMENT and/or GRAPHROW
> went upto  1170, when the program crashed - no more output,
> no reaction to break.
> I  used the program earlier without problems for smaller
> graphs, MAXN=350 or  such.

...
> if(argc=3)sscanf(argv[2],"%i",&gntk);
  
Should be "argc==3".   Using -Wall gives a warning for that.

After that it works for me. If it still crashes, try moving the two
graphs out of main() to reduce the stack usage.

Brendan.




More information about the Nauty mailing list