[Nauty] problem compiling with os x 10.4

Josh Guffin guffin at uiuc.edu
Wed Jun 29 11:38:01 EST 2005


Hello, I've just tried to compile Nauty using gcc that comes with
OS X 10.4.  The program seems to compile alright, but 'make check'
fails, and running dreadtest yields "illegal instruction"

/Users/guffin/Desktop/nauty22 % make check
make: *** No rule to make target `check'.  Stop.
/Users/guffin/Desktop/nauty22 % make checks
gcc -o dreadtest -O4 -mpowerpc dreadtest.c \
     naututil.o nauty.o nautil.o nautinv.o naugraph.o rng.o
./dreadtest <testS.dre
make: *** [dreadtest] Error 132
/Users/guffin/Desktop/nauty22 % dreadtest
Illegal instruction
/Users/guffin/Desktop/nauty22 %

I also tested dreadnaut with the example graphs in the user's guide;
the first example ran correctly;

/Users/guffin % dreadnaut
Dreadnaut version 2.0beta (BSDUNIX).
 > n=8 g
0 : 1 3 4;
1 : 2 5;
2 : 3 6;
3 : 7;
4 : 5 7;
5 : 6;
6 : 7.
 > f=2 x
[fixing partition]
(0 5)(3 6)
level 2:  6 orbits; 3 fixed; index 2
(1 3)(5 7)
level 1:  4 orbits; 1 fixed; index 3
4 orbits; grpsize=6; 2 gens; 6 nodes; maxlev=3
tctotal=7; cpu time = 0.00 seconds
 > o
0 5 7; 1 3 6; 2; 4;
 > q

However, the second example did not give exactly the same results;
/Users/guffin % dreadnaut
Dreadnaut version 2.0beta (BSDUNIX).
 > c -a -m
 > n=12 g
0 : 1; 2; 0;
3 : 4; 5; 6; 3;
7 : 8; 9; 10; 11; 7.
 > x @
3 orbits; grpsize=480; 6 gens; 52 nodes (2 bad leaves); maxlev=7
tctotal=142; canupdates=3; cpu time = 0.00 seconds
 > g
0 : 1; 2; 3; 4; 0;
5 : 6; 7; 8; 5;
9 : 10; 11; 9.
 > x
3 orbits; grpsize=480; 6 gens; 34 nodes (2 bad leaves); maxlev=7
tctotal=80; canupdates=2; cpu time = 0.00 seconds
 > ##
h and h' are identical.
0-9 1-10 2-11 3-5 4-6 5-7 6-8 7-0 8-1 9-2 10-3 11-4
 > q

Is there something I need to change in the makefile or configure?

Thanks,

Josh







More information about the Nauty mailing list