Re: [sage-devel] Behavior of optional packages

2024-07-13 Thread David Coudert
I'm also not able to find the documentation of the best way to install optional packages. It would be nice to know all the steps to install each specific package. I assume that the steps are not the same for all optional packages since some of them are pip installable and others are not. Thanks

[sage-devel] Help fixing doctest warnings

2023-12-17 Thread David Coudert
Dear all, I observe some doctest warnings that I don't know how to fix. This is certainly a side effect of the modularization. File "src/sage/plot/plot.py", line 569, in sage.plot.plot Warning: Variable 'sig_on_count' referenced here was set only in doctest marked '# needs sage.symbolic' s

Re: [sage-devel] Graph([('A','B'),(1,2)]).edges() raises weird traceback

2023-07-06 Thread David Coudert
to review, help is more than welcome). Best, David. On Thursday, July 6, 2023 at 6:01:23 PM UTC+2 Nils Bruin wrote: > On Wednesday, 5 July 2023 at 21:54:03 UTC-7 David Coudert wrote: > > The current design choice in `EdgesView` is to sort only when asking for > the list of edges

Re: [sage-devel] Graph([('A','B'),(1,2)]).edges() raises weird traceback

2023-07-05 Thread David Coudert
and > ''> > > I think that either E is broken from start and an error should have > been raised in the first stage or everything is fine and we should > have a proper string representation. > > On Wed, 5 Jul 2023 at 08:33, David Coudert wrote: > > > > T

[sage-devel] Re: Exception in `G=Graph([("A",1)]);G.faces()`

2023-07-05 Thread David Coudert
I have opened https://github.com/sagemath/sage/issues/35902 to collect such kind of issues. Please use it to share new cases. On Wednesday, July 5, 2023 at 9:38:28 AM UTC+2 Georgi Guninski wrote: > Hi sage devs, your daily dose of incomparable objects, > fix 'em while they are free ;) > > G=Grap

[sage-devel] Re: grep-ing for sort() in graphs

2023-07-05 Thread David Coudert
Most of these calls are done on purpose and safe, but some may raise an error. > ./base/static_sparse_backend.pyx:512: vertices.sort() It's inside a try ... except... statement. We may certainly remove it in the future. > ./base/static_sparse_graph.pxd:10: void qsort(void *base, int nmemb, i

Re: [sage-devel] Graph([('A','B'),(1,2)]).edges() raises weird traceback

2023-07-04 Thread David Coudert
There is an active deprecation warning in method edges(). Parameter sort will be set to False in the future. I'm surprised you don't see it. sage: Graph([('A','B'),(1,2)]).edges() :1: DeprecationWarning: parameter 'sort' will be set to False by default in the future See https://github.com/sagema

Re: [sage-devel] Should I report codepaths leading to comparing incomparable objects?

2023-07-03 Thread David Coudert
Thanks for reporting this issue. I have opened an issue (https://github.com/sagemath/sage/issues/35889) and will propose a fix asap. On Sunday, July 2, 2023 at 6:37:45 PM UTC+2 Georgi Guninski wrote: > You definitely can construct graph with incomparable vertices > and they worked as expected in

Re: [sage-devel] Re: Voting: Block-scoped optional tag and the keyword

2023-06-30 Thread David Coudert
I vote for (A) On Friday, June 30, 2023 at 2:59:53 PM UTC+2 David Ayotte wrote: > I vote for (A) > > Le jeudi 29 juin 2023 à 18:47:42 UTC-4, Edgar Costa a écrit : > >> I vote for (A) >> >> On Thu, Jun 29, 2023 at 6:27 PM Marc Culler wrote: >> >>> I vote for (C). >>> >>> On Wednesday, June 28, 20

[sage-devel] Re: New algorithm for graph edge coloring

2022-11-29 Thread David Coudert
uot; option should be deleted. Instead, it >> would be nice to put this code into the documentation as an example that >> demonstrates how to print the colouring. >> > > Any specific reason for this? > > >> On Sunday, November 27, 2022 at 11:20:35 PM UTC-7 Da

[sage-devel] Re: New algorithm for graph edge coloring

2022-11-27 Thread David Coudert
Feel free to open a ticket for this code. It's seems a good improvement. On Sunday, November 27, 2022 at 5:39:34 PM UTC+1 Matheus Maldonado wrote: > Hello everyone, > > I just developed a new function for coloring graph edges based on > this article: > https://www.sciencedirect.com/science/arti

[sage-devel] Re: View issues

2022-09-28 Thread David Coudert
The command t.pdf() is not working for me for the following reason: Warning: `tkz-graph.sty` is not part of this computer's TeX installation. This package is required to render graphs in LaTeX. Visit 'https://www.ctan.org/pkg/tkz-graph'. Warning: `tkz-berge.sty` is not part of this computer's

[sage-devel] Re: Polling for pygments style for our future doc

2022-08-04 Thread David Coudert
+1 for sphinx I don't like the italic in tango. David. On Thursday, August 4, 2022 at 6:33:27 PM UTC+2 Eric Gourgoulhon wrote: > Thanks for preparing this poll. I vote for > > (1) tango > > Eric. > -- You received this message because you are subscribed to the Google Groups "sage-devel" gro

[sage-devel] Re: Kruskal's Algorithm using Priority Queues

2022-04-13 Thread David Coudert
e removed right? It can be >> misleading to potential contributors >> >> On Monday, April 11, 2022 at 12:31:02 PM UTC+5:30 David Coudert wrote: >> >>> This query has been added in https://trac.sagemath.org/ticket/10433. >>> I don't think that priority queue

[sage-devel] Re: Kruskal's Algorithm using Priority Queues

2022-04-11 Thread David Coudert
hat line should be removed right? It can be >> misleading to potential contributors >> >> On Monday, April 11, 2022 at 12:31:02 PM UTC+5:30 David Coudert wrote: >> >>> This query has been added in https://trac.sagemath.org/ticket/10433. >>> I don&#x

[sage-devel] Re: Kruskal's Algorithm using Priority Queues

2022-04-11 Thread David Coudert
This query has been added in https://trac.sagemath.org/ticket/10433. I don't think that priority queue can be of any help to speed up the current code. On Sunday, April 10, 2022 at 11:03:41 AM UTC+2 adarsh.k...@gmail.com wrote: > Hi everyone, > > I was going through Sage's codebase, and I came a

Re: [sage-devel] trac is not accessible now

2022-02-17 Thread David Coudert
> In the spam they are! First time I see this in more than 10 years! Thank > you. > I frequently have emails about sagemath in my spam folder and I have not find yet how to change the rules of gmail to avoid that. Best, David. -- You received this message because you are subscribed to the

Re: [sage-devel] Failed to build cysignals-1.10.3 and pyzmq-22.2.1 on a Fedora 35 (x86_64)

2021-12-02 Thread David Coudert
I have the same issues after upgrade a desktop to fedora 35. I succeed to compile using https://trac.sagemath.org/ticket/32828 Thanks. On Monday, November 22, 2021 at 8:22:48 AM UTC+1 enriqu...@gmail.com wrote: > For cysignals it works using the package from this fork: > https://github.com/kliem

Re: [sage-devel] Teaching with Sagemath

2021-10-07 Thread David Coudert
4:50 PM David Joyner wrote: > >> On Wed, Oct 6, 2021 at 11:17 AM David Coudert >> wrote: >> > >> > Dear all, >> > >> > a colleague asks me if we have examples of notebooks for teaching >> introduction to graph theory with sagemath. >>

[sage-devel] Teaching with Sagemath

2021-10-06 Thread David Coudert
Dear all, a colleague asks me if we have examples of notebooks for teaching introduction to graph theory with sagemath. I found this page that is clearly outdated https://wiki.sagemath.org/Teaching_with_SAGE If you are aware of some accessible material, please let me know. Best, David. -- Yo

[sage-devel] Cplex 20.1

2021-09-13 Thread David Coudert
I tried the last version of cplex (20.1) with sagemath and so far it's working well. The previous version was 12.10. I had a look at the release note and I don't see any deprecation that may be problematic for us https://www.ibm.com/docs/en/icos/20.1.0?topic=2010-release-notes-cplex Best, Davi

Re: [sage-devel] trac notification emails

2021-03-11 Thread David Coudert
I discovered today that mails can also be put into quarantine. Problem solved (I hope). Best, Le mercredi 10 mars 2021 à 09:31:59 UTC+1, David Coudert a écrit : > I will ask the IT service of Inria. > Thank you Dima. > > Le mercredi 10 mars 2021 à 01:15:15 UTC+1, dim...@gmail

Re: [sage-devel] trac notification emails

2021-03-10 Thread David Coudert
I will ask the IT service of Inria. Thank you Dima. Le mercredi 10 mars 2021 à 01:15:15 UTC+1, dim...@gmail.com a écrit : > > > On Tue, 9 Mar 2021, 22:41 David Coudert, wrote: > >> I don't know why, but apparently I don't receive notification emails from >>

[sage-devel] trac notification emails

2021-03-09 Thread David Coudert
I don't know why, but apparently I don't receive notification emails from the trac server since a couple of days. Did I miss some configuration change ? Are others having the same issue ? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubs

Re: [sage-devel] Re: Sage GSoC 2021 Projects

2021-02-25 Thread David Coudert
I added a project for improving the graph drawing methods we have. Le mercredi 24 février 2021 à 02:09:46 UTC+1, Travis Scrimshaw a écrit : > Thank you everyone who has added some projects. > > Even if someone has a project later on they want to add, please do so. We > can continue to add proje

Re: [sage-devel] issues building pdf documentation: missing encoding file 2004-H

2021-02-13 Thread David Coudert
After installation of texlive-scheme-full, it's finally working. Thank you Dima. Le samedi 13 février 2021 à 16:10:36 UTC+1, dim...@gmail.com a écrit : > > > On Sat, 13 Feb 2021, 15:02 David Coudert, wrote: > >> Hello, >> >> I'm trying to build the pdf d

[sage-devel] issues building pdf documentation: missing encoding file 2004-H

2021-02-13 Thread David Coudert
Hello, I'm trying to build the pdf documentation (make doc-pdf) on a desktop with fedora-33. I'm currently having hard time with the Japanese version of a_tour_of_sage. I'm discovering one after the other the missing packages for latex. Currently, I'm blocked with the following error: dvipdfmx:

[sage-devel] Re: [GSoC Mentors Announce] Now Accepting GSoC 2021 Mentoring Organization Applications until Feb 19

2021-02-09 Thread David Coudert
This year is difficult for all of us and we lack motivation for this edition of GSoC. On the other end, it is more important than ever to push/motivate/help students. Other Sagemath contributors than the usual could be involved in mentoring activity. I think many contributors are not really awa

Re: [sage-devel] Re: [GSoC Mentors Announce] Now Accepting GSoC 2021 Mentoring Organization Applications until Feb 19

2021-02-07 Thread David Coudert
I'll be happy to mentor a good student, but would prefer not to be admin. I already have a huge load of administrative work daily and would appreciate not to have extra. Le jeudi 4 février 2021 à 15:21:06 UTC+1, dim...@gmail.com a écrit : > On Thu, Feb 4, 2021 at 3:32 AM 'Travis Scrimshaw' via s

[sage-devel] Re: How to compile sparse graph backend with c++

2021-01-12 Thread David Coudert
I have not tried yet, but isn't it due to the fact that some parts are compiled with C and others with C++ ? Le lundi 11 janvier 2021 à 11:28:47 UTC+1, jonatha...@googlemail.com a écrit : > Super weird. I think it is a cython bug, but I'm not sure. > > The problem seems to be that the parent cl

Re: [sage-devel] error while installing python_igraph on fedora 32 - missing texttable

2020-12-09 Thread David Coudert
Thank you ! +1 to make it default, in particular since it's the last place it tries to download from. Le mercredi 9 décembre 2020 à 12:21:13 UTC+1, dim...@gmail.com a écrit : > On Wed, Dec 9, 2020 at 11:16 AM David Coudert wrote: > > > > I just installed sagemath on a

[sage-devel] error while installing python_igraph on fedora 32 - missing texttable

2020-12-09 Thread David Coudert
I just installed sagemath on a new desktop running fedora 32 and I'm now trying to install python_igraph. Command 'sage -I python_igraph' failed because it is unable to download dependency texttable-1.6.3.tar.gz (log file attached) It tries to download it from mirrors (where it is not present) a

Re: [sage-devel] Changes to bitset.pxi

2020-09-24 Thread David Coudert
Most of the bitsets used in the graph backend are to record sets of seen or active vertices. These sets are not sparse. But I think we have several places in the graph module where we use sets instead of bitsets for small number of vertices. Sparse bitsets could be useful in this case if effecti

[sage-devel] Re: LOTS of tickets waiting for review

2020-09-03 Thread David Coudert
Anyone able to review #11736? It's a truly linear time implementation of Lex BFS. I spent some time on the original paper to fully understand the algorithm (not well described) and find the issues in the original code. Le lundi 31 août 2020 à 19:05:13 UTC+2, Matthias Koeppe a écrit : > On Satu

Re: [sage-devel] Need help in English, French, German, Japanese and Portuguese for 30212

2020-08-31 Thread David Coudert
anyone around you able to do the Japanese translation ? it's 2 lines... Le lundi 31 août 2020 à 12:41:37 UTC+2, hel...@potuz.net a écrit : > > > On August 31, 2020 7:10:35 AM GMT-03:00, David Coudert < > david@gmail.com> wrote: > >Ticket https://trac.sage

[sage-devel] Need help in English, French, German, Japanese and Portuguese for 30212

2020-08-31 Thread David Coudert
Ticket https://trac.sagemath.org/ticket/30212 touches tutorials in English, French, German, Japanese, Portuguese. We need reviewers for each of these languages. I did tentative translations in German and Portuguese, but not in Japanese. Thank you, David. -- You received this message because you

[sage-devel] Re: Cplex installation (for beginners)

2020-08-27 Thread David Coudert
Perfect. Thank you. Le jeudi 27 août 2020 à 17:00:14 UTC+2, Matthias Koeppe a écrit : > On Thursday, August 27, 2020 at 4:44:07 AM UTC-7, David Coudert wrote: >> >> "sage -i sage_numerical_backends_cplex" is working well. Thank you. >> >> May be we sh

[sage-devel] Re: Cplex installation (for beginners)

2020-08-27 Thread David Coudert
repared as an optional sage package. > "sage -i sage_numerical_backends_cplex" suffices. See > https://doc.sagemath.org/html/en/thematic_tutorials/linear_programming.html#solvers-backends > > > On Wednesday, August 26, 2020 at 9:10:33 AM UTC-7, David Coudert wrote: >>

Re: [sage-devel] Cplex installation (for beginners)

2020-08-26 Thread David Coudert
>> sage -i openssl >> sage -f python3 >> >> and then you should be able to add packages through pip. >> > > I would be surprised if this works on > a machine without Xcode installed. > > >> On Wednesday, August 26, 2020 at 12:23:20 PM UTC-4

[sage-devel] Cplex installation (for beginners)

2020-08-26 Thread David Coudert
Hello, I'm posting this here as it may help improving the documentation of sage math and the install guide of Cplex. A colleague (with very little system knowledge) just installed sagemath on his new macOS laptop using the precompiled binary sage-9.1-OSX_10.15.4-x86_64.app.dmg. He also instal

[sage-devel] 2 issues with 9.2.beta3

2020-07-05 Thread David Coudert
Hello, 1) To be able to compile the documentation of 9.2.beta2, I had to "export LANG=C.UTF-8 " See discussion here https://groups.google.com/forum/#!topic/sage-release/7wBxNRbJaaU But after "git pull" on develop branch to get 9.2.beta3, "make" fails quickly. It indicates that language relate

Re: [sage-devel] Re: Error with Pynac when building sage9.2.beta1

2020-06-16 Thread David Coudert
oogle.com/d/msgid/sage-devel/af53cb26-56b7-41b1-b03f-152285404186n%40googlegroups.com > > <https://groups.google.com/d/msgid/sage-devel/af53cb26-56b7-41b1-b03f-152285404186n%40googlegroups.com?utm_medium=email&utm_source=footer>. David Coudert Equipe-Projet COATI Ce

[sage-devel] Error with Pynac when building sage9.2.beta1

2020-06-16 Thread David Coudert
I have a compilation error with Pynac when trying building sage9.2.beta1 after a `make distclean`. See attached log file. It's on macOS mojave 10.14.6, and I have gmp installed by homebrew. Help is more than welcome ;) Thanks. David. -- You received this message because you are subscribed to

[sage-devel] Bug in is_line_graph()

2020-05-27 Thread David Coudert
Bernard Lidicky reported me the following issue with method is_line_graph. I don't know how to fix that and I opened ticket https://trac.sagemath.org/ticket/29740 sage: g = Graph('O{e[{}^~z`MDZBZBkXzE^') sage: g.is_line_graph() ---

Re: [sage-devel] Re: A possible defect in hypergraph generator of Graph module

2020-04-22 Thread David Coudert
there is another issue with `vertices = range(nverts)`. Should be `vertices = list(range(nverts))` as vertices is used twice. Have you already opened a ticket ? Le mercredi 22 avril 2020 07:11:00 UTC+2, Dima Pasechnik a écrit : > > On Wed, Apr 22, 2020 at 10:59 AM John H Palmieri > wrote: > >

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
ng for the package system in use... homebrew configure: No equivalent system packages for homebrew are known to Sage The last part is curious... I will follow #29504 <https://trac.sagemath.org/ticket/29504> > > On Wed, Apr 15, 2020 at 10:19 PM David Coudert wrote: >> >

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
> Le 15 avr. 2020 à 15:50, Dima Pasechnik a écrit : > > On Wed, Apr 15, 2020 at 7:13 PM David Coudert <mailto:david.coud...@inria.fr>> wrote: >> >> >> >> Le 15 avr. 2020 à 12:40, Dima Pasechnik a écrit : >> >> On Wed, Apr 15, 2020 at

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
> Le 15 avr. 2020 à 12:40, Dima Pasechnik a écrit : > > On Wed, Apr 15, 2020 at 6:22 PM David Coudert <mailto:david.coud...@inria.fr>> wrote: >> >> I tried that already, but: >> >> confetti:sage dcoudert$ brew install gettext >> Warning: ge

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
> Le 15 avr. 2020 à 12:00, Dima Pasechnik a écrit : > > On Wed, Apr 15, 2020 at 5:33 PM David Coudert <mailto:david.coud...@inria.fr>> wrote: >> >> it gives the following. Not clear to me. >> >> confetti:sage dcoudert$ ./bootstrap >> rm -rf

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
rn_allow. See the Autoconf documentation. confetti:sage dcoudert$ > Le 15 avr. 2020 à 11:26, David Coudert a écrit : > > no. I will try that. > David. > >> Le 15 avr. 2020 à 11:24, Dima Pasechnik > <mailto:dimp...@gmail.com>> a écrit : >> >>

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
no. I will try that. David. > Le 15 avr. 2020 à 11:24, Dima Pasechnik a écrit : > > On Wed, Apr 15, 2020 at 4:58 PM David Coudert <mailto:david.coud...@inria.fr>> wrote: >> >> unfortunately not. >> I installed gettext with brew some time ago now and added

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
SPKG iconv > Le 15 avr. 2020 à 03:06, Dima Pasechnik a écrit : > > On Wed, Apr 15, 2020 at 2:22 AM David Coudert <mailto:david.coud...@inria.fr>> wrote: >> >> >> >> Le 14 avr. 2020 à 18:15, John H Palmieri a écrit : >> >> I would s

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-14 Thread David Coudert
ageMath should install SPKG iconv... ./configure: line 20606: AM_ICONV: command not found configure: no suitable system package found for SPKG iconv Don’t know how to fix that. I think it’s currently why r is not accepted. Best, David. > > > On Tuesday, April 14, 2020 at 6:21:40 AM UT

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-14 Thread David Coudert
I assume there is nothing simple I can do to fix this. Thanks, David. > Le 14 avr. 2020 à 15:09, Dima Pasechnik a écrit : > > On Tue, Apr 14, 2020 at 8:41 PM David Coudert wrote: >> >> I have similar issues on osx. >> >> I installed several packages using

[sage-devel] Re: archlinux: some system package not recognized

2020-04-14 Thread David Coudert
I have similar issues on osx. I installed several packages using brew. Some of them are recognized, but not some others. I suspect that I'm missing some dependencies, and possibly some environment variables. For instance, I installed amp, mpfr, mpir, ntl and flint, and flint is the only one no

Re: [sage-devel] 9.1.beta0: issue with sage-numerical-backends-gurobi

2020-01-11 Thread David Coudert
Done. This is now issue #1 Le samedi 11 janvier 2020 11:19:23 UTC+1, Dima Pasechnik a écrit : > > > > On Sat, 11 Jan 2020, 10:14 David Coudert, > wrote: > >> I have an error when trying to install the gurobi backend that is now a >> separate optional package. >

[sage-devel] 9.1.beta0: issue with sage-numerical-backends-gurobi

2020-01-11 Thread David Coudert
I have an error when trying to install the gurobi backend that is now a separate optional package. I followed the instructions for installing the gurobi backend with sage 9.1.beta0 and macOS Mojave 10.14.6. I have gurobi 8.11 and gurobi.sh is in my path (so no need to set GUROBI_HOME). (note tha

[sage-devel] Re: Removing reverse graph from CGraph

2020-01-09 Thread David Coudert
I'm in favor of this change. The code is faster and slightly easier to understand. Extra opinions are more than welcome. David. Le mardi 7 janvier 2020 22:42:45 UTC+1, Jonathan Kliem a écrit : > > Dear all, > > currently the sparse graph backend keeps a reversed copy of the graph. > > However, t

[sage-devel] Re: [sage-gsoc-mentors] Google GSoC 2020

2019-12-12 Thread David Coudert
t;. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-gsoc-mentors/CAGG4CB5cbq5Zn%3DOt5Zr_w6nv1yFHu1_PVSuvHObLcEP6faQ95A%40mail.gmail.com > > <https://groups.google.com/d/msgid/sage-gsoc-mentors/CAGG4CB5cbq5Zn%3DOt5Zr_w6nv1yFHu1_PVSuvHObLcEP6faQ95A%40mai

Re: [sage-devel] Optional and experimental packages

2019-11-02 Thread David Coudert
File splay.c has changed in nauty (at least in 26r12). The main difference is - static SPLAYNODE* - SPLAY_DELETE(SPLAYNODE **to_root, SPLAYNODE *p) + void + SPLAY_DELETE(SPLAYNODE **to_root, SPLAYNODE *p) With this change, I can do gcc -O3 -std=c89 buckygen.c -o buckygen So upstream must be u

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread David Coudert
gid/sage-devel/ec70de61-0ee2-4c9a-ba85-574c1bd53938%40googlegroups.com > > <https://groups.google.com/d/msgid/sage-devel/ec70de61-0ee2-4c9a-ba85-574c1bd53938%40googlegroups.com?utm_medium=email&utm_source=footer>. David Coudert Equipe-Projet COATI Centre de Recherche INRIA Sophi

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread David Coudert
> Le 13 oct. 2019 à 20:24, Dima Pasechnik a écrit : > > On Sun, Oct 13, 2019 at 4:57 PM David Coudert <mailto:david.coud...@inria.fr>> wrote: >> >> It’s working ! I can now complete compilation. >> >> Thanks both of you for the help. >> >

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread David Coudert
X-SDKs/releases/download/10.14-beta4/MacOSX10.14.sdk.tar.xz> > extracting it inside > `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk` > > Isuru > > On Sun, Oct 13, 2019 at 10:27 AM David Coudert <mailto:david.coud...@i

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread David Coudert
sdk > Le 13 oct. 2019 à 17:16, Isuru Fernando a écrit : > > Hi, > > Do you have the folder > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk > ? > > Isuru > > On Sun, Oct 13, 2019 at 10:14 AM David Cou

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread David Coudert
ou post the output of, > > /Users/dcoudert/sage3/sage/local/bin/gfortran -print-prog-name=ld > > /Users/dcoudert/sage3/sage/local/bin/gfortran -v > > Isuru > > On Sun, Oct 13, 2019 at 8:21 AM David Coudert <mailto:david.coud...@inria.fr>> wrote: > confet

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread David Coudert
t its libgfortran got broken > > On Sun, 13 Oct 2019, 13:01 David Coudert, <mailto:david.coud...@inria.fr>> wrote: > > > confetti:lib dcoudert$ pwd > > /Users/dcoudert/sage3/sage/local/lib > > confetti:lib dcoudert$ otool -L libgfortran.dylib > > li

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread David Coudert
linked/broken. > > please locate the relevant lib*.dylib files (in SAGE_LOCAL?) and run > "otool -L" on each of them > to see if they are OK. > > > On Sun, Oct 13, 2019 at 12:43 PM David Coudert > wrote: > > > > it's an incremental build from 9.

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread David Coudert
? > (after an OS upgrade, incremental builds may break) > > > On Sun, Oct 13, 2019 at 12:19 PM David Coudert > wrote: > > > > > > > > Le dimanche 13 octobre 2019 12:53:02 UTC+2, Dima Pasechnik a écrit : > >> > >> We have alrea

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread David Coudert
Le dimanche 13 octobre 2019 12:53:02 UTC+2, Dima Pasechnik a écrit : > > We have already seen that puzzling > > ld: library not found for -lSystem > > error message. > > Is there a /usr/lib/libSystem.dylib present? > Yes: confetti:sage dcoudert$ ll /usr/lib/libSystem.dylib lrwxr-xr-x 1 r

[sage-devel] nauty_geng and subprocess : how to ensure the termination of the subprocess ?

2019-09-14 Thread David Coudert
While playing with graphs.nauty_geng(...), I noticed that the geng subprocess might remain active after a ctrl-C, and even after existing the current sagemath session. This is not always the case, but it happens frequently. Try this for instance (I'm using debug mode to quickly get an output):

[sage-devel] Re: The opportunity of Python 3 migration

2019-09-01 Thread David Coudert
> A few examples: vertices() and edges() of graphs should not be lists, > but keep links to the graph itself. For edges, see https://trac.sagemath.org/ticket/27408 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this gr

Re: [sage-devel] error building 8.9.beta7 on OSX

2019-08-19 Thread David Coudert
> Le 19 août 2019 à 10:58, Dima Pasechnik a écrit : > > On Mon, Aug 19, 2019 at 11:20 AM David Coudert <mailto:david.coud...@inria.fr>> wrote: >> >> but for beta6, I succeeded to compile it without downloading the configure >> tarball... > > there

Re: [sage-devel] error building 8.9.beta7 on OSX

2019-08-19 Thread David Coudert
>> File "/Users/dcoudert/sage3/sage/build/bin/../sage_bootstrap/tarball.py", >> line 162, in download >> >>raise FileNotMirroredError('tarball does not exist on mirror network') >> >> FileNotMirroredError: tarball does not exist on mirror

[sage-devel] error building 8.9.beta7 on OSX

2019-08-19 Thread David Coudert
I don't know how to fix this issue with aclocal. Some help is more than welcome. confetti:sage dcoudert$ make build /Applications/Xcode.app/Contents/Developer/usr/bin/make build/make/Makefile --stop ./bootstrap -d rm -rf config configure build/make/Makefile-auto.in bootstrap:69: installing '

[sage-devel] Re: Failure to build SageMath

2019-08-05 Thread David Coudert
This is the same issue than https://groups.google.com/forum/#!topic/sage-devel/cdw793St6cE So try to remove local/share/gap/ and local/lib/gap by hand and then build again. Le dimanche 4 août 2019 21:11:15 UTC+2, Georgios Giapitzakis Tzintanos a écrit : > > Hello, > > I am new here so please

Re: [sage-devel] Error building the documentation with 8.8.beta5

2019-07-20 Thread David Coudert
Working ! Thank you. D. > you need to install full JDK, not just JRE, if you need java/javac. > > -- 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+uns

Re: [sage-devel] Error building the documentation with 8.8.beta5

2019-07-20 Thread David Coudert
hanks for your help. David. Le mercredi 22 mai 2019 11:45:42 UTC-4, David Coudert a écrit : > > Let us know if you find a way to fix that. All my attempts failed (make > doc-clean, dist-clean) > David. > > Le mardi 21 mai 2019 10:35:38 UTC+2, Nicolas M. Thiéry a écrit : >&

Re: [sage-devel] issues with gurobi

2019-07-16 Thread David Coudert
ld not be able to check if the documentation builds well… Thanks. > Le 16 juil. 2019 à 17:28, Dima Pasechnik a écrit : > > > > On Tue, 16 Jul 2019 at 16:24, David Coudert <mailto:david.coud...@inria.fr>> wrote: > I recently installed gurobi 8.0.1 and identifie

[sage-devel] issues with gurobi

2019-07-16 Thread David Coudert
I recently installed gurobi 8.0.1 and identified py3 issues. See ticket 28206. I also installed the last version of gurobi, 8.1.1, for OSX, but I cannot use it with Sagemath as I don't find something like libgurobi81.so Does anyone know what to do ? Bel

[sage-devel] Re: python3 report (may of the last python2 year)

2019-05-27 Thread David Coudert
> * There are some remaining hard problems in graphs, under current scrutiny > I think. > The main remaining issues in the graph module are related to isomorphisms, automorphisms, and related methods. 1) #27571: align behaviors of algorithm 'sage' and 'bliss' in `automorphism_group` and fix

Re: [sage-devel] Error building the documentation with 8.8.beta5

2019-05-22 Thread David Coudert
Let us know if you find a way to fix that. All my attempts failed (make doc-clean, dist-clean) David. Le mardi 21 mai 2019 10:35:38 UTC+2, Nicolas M. Thiéry a écrit : > > > Just for the record: same error here on Balthazar's laptop, sage > 8.8.beta5, fresh Ubuntu 18.04. > > Cheers, >

Re: [sage-devel] Error building the documentation with 8.8.beta5

2019-05-14 Thread David Coudert
And what can I do to fix that ? Until recently I was able to build the doc and I have not touched environment variables by myself. In case, I tested some instructions from https://ask.sagemath.org/question/39422/sage-on-mac-unable-to-use-plot3d-due-to-javajmol-issues/ sage: import subprocess s

[sage-devel] Error building the documentation with 8.8.beta5

2019-05-13 Thread David Coudert
I already had issues building the doc with 8.8.beta4, so after upgrading to 8.8.beta5, I did make doc-clean but it's not enough. Attached is the log file. I have not tried a dist-clean, and I hope I can avoid it... Best, David. -- You received this message because you are subscribed to the Go

[sage-devel] Re: k-choosability and k-degeneracy of graphs on SageMath

2019-04-12 Thread David Coudert
At least we have a method to compute the cores of a graph. You can certainly use it to get the degeneracy. -- 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-d

[sage-devel] Re: Error while building sage 8.8 due to igraph

2019-04-01 Thread David Coudert
The problem has been fixed. The packages were missing in the repository. Of course, it takes time to update all the mirrors. -- 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

[sage-devel] Re: Add centroid decomposition of tree

2019-03-26 Thread David Coudert
The original paper of Jordan (1869) can be found at e.g. https://www.degruyter.com/view/j/crll.1869.issue-70/crll.1869.70.185/crll.1869.70.185.xml or https://eudml.org/doc/148084 But it is written in French in a German journal. See the lecture notes of Erik Demaine https://courses.csail.mit.ed

Re: [sage-devel] Suggestion to speed up nauty_geng()?

2019-03-22 Thread David Coudert
Our interface to nauty geng is in Python, but the difficulty is not here. - It takes time to build graphs from graph6 strings, and also to build Sandpiles (12 for each graph) - The number of biconnected graphs with 12 nodes is huge: 153.620.333.545 See https://oeis.org/A002218

[sage-devel] Re: Graph.show with js sometimes messes up labels

2019-03-12 Thread David . Coudert
Unfortunately, this is not a good idea. We are working hard on making Sagemath compatible with Python 3. With Python 3 you cannot sort objects of different types. For instance sorted([1, 'a']) will raise an error. Currently, in the graph module, vertices can be any hashable objects, so we try to

[sage-devel] Re: Enhancement of Kruskal Algorithmn

2019-03-12 Thread David . Coudert
Given a (di)graph, you can easily assign random edge weights using for instance `G.set_edge_lable(u, v, randint(1, 100))`. Le lundi 11 mars 2019 17:53:05 UTC+1, hy...@iitbbs.ac.in a écrit : > > Is there a way to generate Random directed weighted Graph, I have read > the module for Random Graph

[sage-devel] Re: Graph.show with js sometimes messes up labels

2019-03-11 Thread David . Coudert
Thank you for reporting this issue. The order of the vertices given to d3.js was incorrect. This is fixed in https://trac.sagemath.org/ticket/27460 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receivin

Re: [sage-devel] Re: python3 status report

2019-02-11 Thread David Coudert
Le mardi 29 janvier 2019 23:19:12 UTC+1, Thierry (sage-googlesucks@xxx) a écrit : > > Hi, > > On Sun, Jan 27, 2019 at 11:21:21AM -0800, David Coudert wrote: > [...] > > The most complicated issue is certainly edges of Graph: we sort the > > vertices of an edge be

[sage-devel] Re: py3: issue with round

2019-01-31 Thread David Coudert
Thanks, it's working well. Le jeudi 31 janvier 2019 08:45:37 UTC+1, Frédéric Chapoton a écrit : > > You could add (at the price of some speed) > > from sage.misc.functional import round > >> >> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To u

[sage-devel] py3: issue with round

2019-01-30 Thread David Coudert
Does anyone know a suitable way to fix the following issue with round in Python3 ? sage: G = Graph([(0, 1)]) sage: f = g._build_flow_graph({(0, 1): 1}, True) --- TypeError Traceback (most recen

[sage-devel] Re: python3 status report

2019-01-27 Thread David Coudert
> Is there an apparent common reason for most of these failing tests? Such > as code that makes assumptions on sorting (which, IIRC, is different in > Python 2 and Python 3)? > Many many methods were relying on sorted list of vertices and edges. We have done significant progresses to reduce

[sage-devel] Re: GSoC 2019?

2019-01-17 Thread David Coudert
I'm ready to help mentoring and writing the application. Le mardi 15 janvier 2019 21:28:16 UTC+1, Harald Schilly a écrit : > > Hi everyone. This years Google Summer of Code 2019 just started. Should we > write an application? Who is motivated to be a mentor? Everyone from last > year still on bo

Re: [sage-devel] Error compiling 8.5.beta3 - gsl-2.5

2018-11-12 Thread David Coudert
It's working ! Thank you. David. Le lundi 12 novembre 2018 10:35:06 UTC+1, Erik Bray a écrit : > > I have an idea of what might cause this and will submit a fix, but > just manually delete the existing file and try again. > On Mon, Nov 12, 2018 at 8:23 AM David Coudert > wr

Re: [sage-devel] Re: Py3, sorting vertices of graph

2018-09-14 Thread David Coudert
Two more: - #26284 : deals with comparability.pyx, digraph.py, vertex_separation.pyx, cutwidth.pyx and connectivity.pyx - #26285: avoid comparison of vertex labels in MIPs of generic_graph. Le vendredi 14 septembre 2018 13:43:37 UTC+2, David Coudert a écrit : > > I'm

Re: [sage-devel] Re: Py3, sorting vertices of graph

2018-09-14 Thread David Coudert
I'm working on reducing the number of places where we explicitly compare vertex labels. So far I'm focusing on MIPs. - #26274 : avoid comparison of vertex labels in MIP for file `graph_coloring.py` - #26282 : avoid comparison of vertex labels in MIP for file `graph.py` More to come,

[sage-devel] Re: Py3, sorting vertices of graph

2018-09-06 Thread David Coudert
Le jeudi 6 septembre 2018 14:16:33 UTC+2, Martin R a écrit : > > Would it be hard to separate vertex labels and vertices? In other words, > vertices would always be 0,...,n-1, and there would be an additional array > containing the vertex labels. > Some graph backends do that, like `c_graph`. I'

[sage-devel] Re: Py3, sorting vertices of graph

2018-09-06 Thread David Coudert
Comparisons like u < v are used in many places in the code of graphs. We can try to use hash(u) < hash(v) instead, but this is certainly not the smartest solution. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group

  1   2   >