[sage-devel] Nauty as a default generator for graphs

2018-03-08 Thread Jori Mäntysalo
It is much faster to say sum(1 for _ in graphs.nauty_geng(7)) than sum(1 
for _ in graphs(7)), and after #19919 we have nauty as a standard package.


Will I break something if I change graphs(n) without any additional 
parameter to use nauty? A user really needing the old code could then say
graphs(n, property=lambda x: True). I think that Sage documentation makes 
no promise at all about the order in which graphs are generated.


--
Jori Mäntysalo


Re: [sage-devel] sage -p databse_gap fails with error

2018-03-08 Thread Erik Bray
On Fri, Mar 2, 2018 at 7:21 PM, afadli  wrote:
> i am trying to install database_gap package using sage -p but i got this
> error :

"sage -p" is only for certain old, outdated packages (and was also
broken somewhat in Sage 8.1)

You can just run:

sage -i database_gap


> make build/make/Makefile
> make[1]: Entering directory `/math/software/pkg/sage/64/sage-8.1'
> make[1]: `build/make/Makefile' is up to date.
> make[1]: Leaving directory `/math/software/pkg/sage/64/sage-8.1'
> build/bin/sage-logger \
> "cd build/make && ./install 'all-toolchain'" logs/install.log
> Nothing to (re)build / all up-to-date.
>
> Error: package 'database_gap-4.8.6' not found
> Assuming it is an old-style package... (this is deprecated: use -p instead
> of -i to install old-style packages)
>
> Found local metadata for database_gap-4.8.6
> Using cached file
> /math/software/pkg/sage/64/sage-8.1/upstream/database_gap-4.8.6.tar.bz2
> database_gap-4.8.6
> 
> Setting up build directory for database_gap-4.8.6
> Finished extraction
> No patch files found in ../patches
> 
> spkg-install should not be marked executable in the build/pkgs directory
> 
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the log file
>   /math/software/pkg/sage/64/sage-8.1/logs/pkgs/database_gap-4.8.6.log
> Describe your computer, operating system, etc.
> 
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] can't install dot2tex package in Sage 8.1

2018-03-08 Thread Jeroen Demeyer

On 2018-03-08 14:22, Vít Tuček wrote:

Sorry, I thought there is only one way to install Sage packages.

I ran sage -i dot2tex.

The error log is attached to my previous mail.


You attached a log file of mpfr, not for dot2tex.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] can't install dot2tex package in Sage 8.1

2018-03-08 Thread Vít Tuček
Sorry, I thought there is only one way to install Sage packages.
 
I ran sage -i dot2tex.

The error log is attached to my previous mail.

Dne úterý 6. března 2018 17:04:01 UTC+1 Jeroen Demeyer napsal(a):
>
> On 2018-03-06 14:42, Vít Tuček wrote: 
> > I tried install dot2tex in Sage 8.1 
>
> How? Which command did you run? 
>
> > and got error building mpfr. 
>
> Which error did you get exactly? 
>
> See https://www.chiark.greenend.org.uk/~sgtatham/bugs.html 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.