Re: [sage-devel] Re: Wrong matrix of Permutation

2020-06-15 Thread 'Paul Mercat' via sage-devel
be coherent with itself as much as possible, and that it should choose the most natural convention. Best regards, Paul Le lundi 15 juin 2020 17:30:33 UTC+2, David Joyner a écrit : > > > > On Mon, Jun 15, 2020 at 11:21 AM 'Paul Mercat' via sage-devel < > sage-...@google

[sage-devel] Re: Wrong matrix of Permutation

2020-06-15 Thread 'Paul Mercat' via sage-devel
Another bug with PermutationGroup: {{ g1,g2 = PermutationGroup([(1,2,3,4), (1,3,2,4)]).gens() (g1*g2)(3), g1(g2(3)) }} should gives two times the same result, but it is not the case... The action of the group on {1,2,3,4} is not an action ! Le lundi 15 juin 2020 16:58:18 UTC+2, Paul Mercat

[sage-devel] Wrong matrix of Permutation

2020-06-15 Thread 'Paul Mercat' via sage-devel
Hi ! Sage doesn't compute correctly the matrix of a Permutation: matrix(Permutation('(1,2,3,4)')) return a wrong answer: it returns the inverse of the correct result. The product of matrices of permutations must be equal to the matrix of the composition. If we do:

[sage-devel] Re: Binary sage-8.7-OSX_10.11.6-x86_64.tar.bz2 doesn't work on my Mac

2019-08-15 Thread 'Paul Mercat' via sage-devel
Thank you, I found a binary of sage-8.8 for macOS 10.11.6 on the MIT mirror (but not in other europeen mirrors I tried), and it works ! Le mardi 13 août 2019 14:15:37 UTC+2, kcrisman a écrit : > > > > > Thank you. >> It looks like the problem has been solved in sage-8.8, unfortunably the >>

[sage-devel] Re: Binary sage-8.7-OSX_10.11.6-x86_64.tar.bz2 doesn't work on my Mac

2019-08-12 Thread 'Paul Mercat' via sage-devel
error, and with 8.5 I have a different one). There is no way for macOS 10.11.6 users to install Sage without compiling it from source ? Paul Le samedi 10 août 2019 03:33:29 UTC+2, Matthias Koeppe a écrit : > > On Friday, August 9, 2019 at 8:23:50 AM UTC-7, Paul Mercat wrote: >> >

[sage-devel] Binary sage-8.7-OSX_10.11.6-x86_64.tar.bz2 doesn't work on my Mac

2019-08-09 Thread 'Paul Mercat' via sage-devel
Hi, I downloaded the file sage-8.7-OSX_10.11.6-x86_64.tar.bz2, then extract the files, and then ran sage, and I get the following error : MacBook-Pro-de-Paul:SageMath mercatp$ ./sage RecursionError: maximum recursion depth exceeded during compilation Error running the script

[sage-devel] QQbar.simplify() or minpoly() don't work

2018-11-28 Thread 'Paul Mercat' via sage-devel
Hi ! I have a problem with this example: sage: b = (x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1).roots(ring=QQbar)[3][0] sage: b.abs().minpoly() It doesn't terminates ! (In fact it finished a very long tilme after with a pari stack overflow.) (If I do b.abs().simplify(), the result is the same). But

Re: [sage-devel] Bug with NumberField

2018-10-31 Thread 'Paul Mercat' via sage-devel
Thank you ! Le mardi 30 octobre 2018 15:33:29 UTC+1, vdelecroix a écrit : > > solved at > > https://trac.sagemath.org/ticket/26593 > > Le 26/10/2018 à 16:48, 'Paul Mercat' via sage-devel a écrit : > > Thank you. So the bug is with the test of equality in QQbar, n

Re: [sage-devel] Should we include SDL in sage ?

2018-10-30 Thread 'Paul Mercat' via sage-devel
I just need to use the library from my C code in included in sage. Is it necessary to write an interface for that ? Le mercredi 31 octobre 2018 00:25:34 UTC+1, Thierry (sage-googlesucks@xxx) a écrit : > > Hi, > > On Tue, Oct 30, 2018 at 04:18:16PM -0700, 'Paul Mercat' via sage-de

[sage-devel] dot in sage ?

2018-10-30 Thread 'Paul Mercat' via sage-devel
Hi ! I'm using the Graphviz librairy to draw graph in the tools that I'm currently developping for sage, because it produces much better pictures than the default tool of Sage. But I use the program "dot" that I installed on my computer. If I'm not mistaken, Graphviz is partially included in

[sage-devel] Should we include SDL in sage ?

2018-10-30 Thread 'Paul Mercat' via sage-devel
Hi ! I'm currently working on things in sage that uses the librairy SDL2. This librairy is not part of sage if I'm not mistaken, but it is really usefull to draw efficiently and interact with the user. It's a low level and not too big C librairy, with a licence compatible with sage if I'm not

Re: [sage-devel] sage 8.4 compilation error with r

2018-10-29 Thread 'Paul Mercat' via sage-devel
he "right" > curl) > > On Mon, Oct 29, 2018 at 8:52 AM 'Paul Mercat' via sage-devel > > wrote: > > > > I tried that, but I get the same error. > > Do I need to recompile everything from the beginning ? > > > > Le dimanche 28 octob

Re: [sage-devel] Error building sage-8.4 on Ubuntu

2018-10-29 Thread 'Paul Mercat' via sage-devel
The compilation is successful now ! It was enough to set SAGE_INSTALL_GCC='yes'. Le lundi 29 octobre 2018 18:08:41 UTC+1, Paul Mercat a écrit : > > > I tried to recompile with SAGE_INSTALL_GCC='yes', and now openblas compile > (but the compilation of sage is not terminated). >

Re: [sage-devel] Error building sage-8.4 on Ubuntu

2018-10-29 Thread 'Paul Mercat' via sage-devel
on't have gfortran installed it would be built --- of > course it's madness to do on Linux, where > you can just install gfortran). > On Mon, Oct 29, 2018 at 4:49 PM 'Paul Mercat' via sage-devel > > wrote: > > > > No, gfortran was not installed, nor anaconda. I tri

Re: [sage-devel] Error building sage-8.4 on Ubuntu

2018-10-29 Thread 'Paul Mercat' via sage-devel
gt; > On Mon, Oct 29, 2018 at 3:02 PM 'Paul Mercat' via sage-devel > > wrote: > > > > Hi ! > > > > I tried to compile sage-8.4, and I have the following error. > > > > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file

Re: [sage-devel] sage 8.4 compilation error with r

2018-10-29 Thread 'Paul Mercat' via sage-devel
I tried that, but I get the same error. Do I need to recompile everything from the beginning ? Le dimanche 28 octobre 2018 22:28:28 UTC+1, Samuel Lelievre a écrit : > > So the solution is to change your PATH before you start building Sage, > so that the PATH does not contain Anaconda. > -- You

Re: [sage-devel] sage 8.4 compilation error with r

2018-10-28 Thread 'Paul Mercat' via sage-devel
y what commands configure ran and why it > failed (in principle). > On Sun, Oct 28, 2018 at 12:55 PM 'Paul Mercat' via sage-devel > > wrote: > > > > Hi ! > > > > I tried to compile sage-8.4 on my computer on OS X, and I get the > follow

Re: [sage-devel] sage 8.4 compilation error with r

2018-10-28 Thread 'Paul Mercat' via sage-devel
Yes, I have bc 1.06 Le dimanche 28 octobre 2018 12:57:58 UTC+1, Dima Pasechnik a écrit : > > Do you have bc installed? > It is needed by curl-config > (There is a trac ticket about it) > > On 28 Oct 2018 11:55 am, "'Paul Mercat' via sage-devel" < > sage-..

Re: [sage-devel] Bug with NumberField

2018-10-26 Thread 'Paul Mercat' via sage-devel
ause I don't know what do this code... Paul Le vendredi 26 octobre 2018 16:04:57 UTC+2, John Cremona a écrit : > > > > On Fri, 26 Oct 2018 at 13:07, 'Paul Mercat' via sage-devel < > sage-...@googlegroups.com > wrote: > >> Hi ! >> >> I have a strange bug with

[sage-devel] Bug with NumberField

2018-10-26 Thread 'Paul Mercat' via sage-devel
Hi ! I have a strange bug with NumberField: when I do sage: pi = x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1 sage: b = pi.roots(ring=QQbar)[3][0] sage: pi = b.minpoly() sage: K = NumberField(pi, 'b', embedding=b) it works well. But if I execute it a second time, then it never terminates! Do you have a

[sage-devel] Re: Error building the doc sage-8.1

2018-05-21 Thread 'Paul Mercat' via sage-devel
med cluster_complex sage: Le lundi 21 mai 2018 17:53:02 UTC+2, Volker Braun a écrit : > > So what do you get if you start Sage and run > > sage: import sage.combinat.cluster_complex > > > > On Monday, May 21, 2018 at 3:50:50 PM UTC+2, Paul Mercat wrote: >> >> [dochtml]

[sage-devel] Error building the doc sage-8.1

2018-05-17 Thread 'Paul Mercat' via sage-devel
Hi, I get the following error when I try to build the documentation in sage-8.1 : MacBook-Pro-de-Paul:sage-8.1 mercatp$ ./sage --docbuild reference html [manifolds] *loading pickled environment... *not yet created [manifolds] *building [mo]: *targets for 0 po files that are out of date

[sage-devel] Re: Compilation error sage-8.1

2018-04-05 Thread 'Paul Mercat' via sage-devel
Le mercredi 4 avril 2018 18:13:50 UTC+2, Dima Pasechnik a écrit : > > Could you post your patch here? > It might be useful... -- 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

[sage-devel] Re: Compilation error sage-8.1

2018-04-04 Thread 'Paul Mercat' via sage-devel
Thank you ! I made a patch that change the version_string to "7.2.0" (I had to modify the patch generated by "diff" by hand to make it work). And now it compiles. Sage-8.1 is compiled without any other problem. Paul Le mercredi 4 avril 2018 13:16:33 UTC+2, Dima Pasechnik a écrit : > > the usual

[sage-devel] Re: Compilation error sage-8.1

2018-04-04 Thread 'Paul Mercat' via sage-devel
people can answer. > > > By the way, do you see similar error messages about xprint in other package > logs, or it's > > only numpy ? > > > > > > > > > On Thursday, March 29, 2018 at 5:18:09 PM UTC+1, Paul Mercat wrote: >> >> Hello, >&g

[sage-devel] Re: Compilation error sage-8.1

2018-03-30 Thread 'Paul Mercat' via sage-devel
I tried to do "./make -i numpy", but I get the same error... -- 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

[sage-devel] Re: Compilation error sage-8.1

2018-03-30 Thread 'Paul Mercat' via sage-devel
https://drive.google.com/open?id=1hHDMc9uEL9_SYrmq8Z6JPPFphL8uBzZ3 Le vendredi 30 mars 2018 17:10:24 UTC+2, Dima Pasechnik a écrit : > > > > On Friday, March 30, 2018 at 3:13:17 PM UTC+1, Paul Mercat wrote: >> >> Here is the file config.log >> > > something do

[sage-devel] Re: Compilation error sage-8.1

2018-03-30 Thread 'Paul Mercat' via sage-devel
Here is the file config.log Le vendredi 30 mars 2018 16:07:12 UTC+2, Paul Mercat a écrit : > > Hi, > > > There is no such file logs/pkgs/config.log. > > I tried to recompile with the option SAGE_INSTALL_GCC='yes', but I get the > same error:

[sage-devel] Re: Compilation error sage-8.1

2018-03-30 Thread 'Paul Mercat' via sage-devel
://doc.sagemath.org/html/en/installation/source.html#environment-variables > > > On Thursday, March 29, 2018 at 5:18:09 PM UTC+1, Paul Mercat wrote: >> >> Hello, >> >> I've tried to compile sage-8.1 on a linux server, and I get the following >> error: >>

[sage-devel] Compilation error sage-8.1

2018-03-29 Thread 'Paul Mercat' via sage-devel
Hello, I've tried to compile sage-8.1 on a linux server, and I get the following error: Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): * package: numpy-1.13.3.p0 log file:

[sage-devel] Image as a Graphics object

2018-03-20 Thread 'Paul Mercat' via sage-devel
Hi, Is there a way to get an image as a Graphics() object in Sage ? I have spend a lot of time trying to do it, but it looks like it is not possible. I'm wondering if it would be a good idea to add a new type of GraphicPrimitive in Sage in order to add png images as Graphics object, or make a

[sage-devel] Re: Compilation error: 'sage/ext/interrupt.pxi' not found

2018-03-04 Thread 'Paul Mercat' via sage-devel
:19:37 PM UTC, Paul Mercat wrote: >> >> >> I'm trying to merge the ticket #21072 (that currently work with sage 7.3) >> with sage 8.1, but I get the following error, and I don't know why and what >> to do. >> > > I believe that this functionality is now

[sage-devel] Compilation error: 'sage/ext/interrupt.pxi' not found

2018-03-03 Thread 'Paul Mercat' via sage-devel
Hi, I'm trying to merge the ticket #21072 (that currently work with sage 7.3) with sage 8.1, but I get the following error, and I don't know why and what to do. InternalError: Internal compiler error: 'sage/ext/interrupt.pxi' not found

[sage-devel] Impossible to push to trac server !

2016-11-02 Thread 'Paul Mercat' via sage-devel
Hello, When I try to push my work on the trac server using the command $git trac push I get the following error : git_trac.git_error.GitError: git returned with non-zero exit code (128) when executing "git push trac HEAD:refs/heads/u/mercatp/b-adic" STDERR:

Re: [sage-devel] sage -b fail

2016-07-18 Thread 'Paul Mercat' via sage-devel
: > > Hi, > > On Mon, Jul 18, 2016 at 03:48:47AM -0700, 'Paul Mercat' via sage-devel > wrote: > > Hi ! > > > > I just installed the last developpement version of sage with > > git clone git://github.com/sagemath/sage.git > > and it compiles correctly

[sage-devel] sage -b fail

2016-07-18 Thread 'Paul Mercat' via sage-devel
Hi ! I just installed the last developpement version of sage with git clone git://github.com/sagemath/sage.git and it compiles correctly on my Ubuntu 16.04 computer. But after that the command "./sage -b" fail with the following error : ... qflllTraceback (most recent call last): File "", line

[sage-devel] Re: Erreur with git while compiling sage on linux

2015-06-23 Thread 'Paul Mercat' via sage-devel
Thank you, now it works ! Le vendredi 19 juin 2015 20:54:39 UTC+2, Volker Braun a écrit : You are missing part of Perl. Perl is a requirement for Sage. Ask your administrator. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe

[sage-devel] Re: Erreur with git while compiling sage on linux

2015-06-19 Thread 'Paul Mercat' via sage-devel
Here is the file config.log Is there an other file that you want to see ? Best, Paul -- 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] Re: Erreur with git while compiling sage on linux

2015-06-19 Thread 'Paul Mercat' via sage-devel
I don't have yum installed, and I don't have the roots privileges on this computer. -- 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] Erreur with git while compiling sage on linux

2015-06-18 Thread 'Paul Mercat' via sage-devel
Hi ! I try to compile sage on linux, and I get the following error. Do you know what is the problem and how correct it ? . . . GEN perl/PM.stamp make[4]: Entering directory `/home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0/src/perl' /usr/bin/perl Makefile.PL

[sage-devel] Can't compile sage on OS X 10.10

2014-10-28 Thread 'Paul Mercat' via sage-devel
Hello ! I tried to compile the lastest development version of sage on my computer with OS X 10.10, and I get the following very strange error : see config.log I precise that the C-compiler works on my computer : I have try to compile a small example to test it and it works. I hope somebody

Re: [sage-devel] error installing package ppl-1.1

2014-09-09 Thread 'Paul Mercat' via sage-devel
must come from the system. The output of “rpm -ql glpk-dev” or would it be glpk-devel would show us what has been detected from the system. But like I said earlier in answering David, fixing it not as obvious as it seems. François On 9/09/2014, at 20:51, 'Paul Mercat' via sage-devel

Re: [sage-devel] error installing package ppl-1.1

2014-09-08 Thread 'Paul Mercat' via sage-devel
2014 00:18:04 UTC+2, François a écrit : On Tue, 02 Sep 2014 05:55:51 'Paul Mercat' via sage-devel wrote: I've done what you proposed, but I get the same error. Here is the new log file. Le mardi 2 septembre 2014 14:42:01 UTC+2, Paul Mercat a écrit : Le mardi 2 septembre 2014 14:34

[sage-devel] error installing package ppl-1.1

2014-09-02 Thread 'Paul Mercat' via sage-devel
Hi ! I have the following error during the compilation of sage : gcc -DHAVE_CONFIG_H -I. -I../.. -I../../interfaces/C -I/home/paul.mercat/sage/local/include -g -O2 -frounding-math -W -Wall -MT glpk_set_d_eps.o -MD -MP -MF .deps/glpk_set_d_eps.Tpo -c -o glpk_set_d_eps.o glpk_set_d_eps.c mv

Re: [sage-devel] Bug with max

2014-04-05 Thread Paul Mercat
. I agree -- I think when I first answered I had assumed it was sage-support. John Thanks Vincent 2014-03-30 16:31 UTC+02:00, Paul Mercat mer...@yahoo.fr javascript:: Maybe there is no bug, but the problem is that it take a very very long time to compute the minimal

[sage-devel] Bug with max

2014-03-30 Thread Paul Mercat
The function max sometimes doesn't work in sage. Here is an example : sage: a = Automaton([(0, 0, 0), (0, 1, 1), (1, 1, 1), (1, 2, 0), (2, 0, 0), (2, 3, 1), (3, 4, 1), (3, 7, 0), (4, 1, 1), (4, 5, 0), (5, 0, 0), (5, 6, 1), (6, 7, 0), (6, 37, 1), (7, 3, 1), (7, 8, 0), (8, 0, 0), (8, 9, 1), (9,

Re: [sage-devel] Bug with max

2014-03-30 Thread Paul Mercat
and its eigenvalues (which are not all rel anyway) are returned as algebraic numbers (try e[0].parent()). Perhaps you want this: sage: max([RR(ei) for ei in e if ei in RR]) 1.99801167774722 but note that only 22 of the 38 eigenvalues are real. John On 30 March 2014 14:32, Paul Mercat

Re: [sage-devel] Bug with max

2014-03-30 Thread Paul Mercat
algebraic numbers are equals, but it doesn't and so it try to compute with more and more precision to see which one is greater, but it doesn't terminates because there are equals. Maybe I will try to fix this. Paul Le dimanche 30 mars 2014 16:00:14 UTC+2, Paul Mercat a écrit : If I do what you

Re: [sage-devel] Bug with max

2014-03-30 Thread Paul Mercat
in e] sage: l[19]==l[20] #doesn't terminate Le dimanche 30 mars 2014 16:09:28 UTC+2, Paul Mercat a écrit : I think I know where is the problem. I have tried to reimplemente the function max, and I've see that it doesn't terminate when there is a comparaison between two complex conjugates

Re: [sage-devel] Bug with max

2014-03-30 Thread Paul Mercat
Maybe there is no bug, but the problem is that it take a very very long time to compute the minimal polynomial of the absolute value of an algebraic number. Le dimanche 30 mars 2014 16:21:06 UTC+2, Paul Mercat a écrit : I can confirm that the error comes from the comparaison of two elements

[sage-devel] Re: error while compiling sage-6.1.1

2014-03-29 Thread Paul Mercat
H Palmieri a écrit : Try downloading http://boxen.math.washington.edu/home/release/sage-6.2.beta5/sage-6.2.beta5.tar.gz I think this is self-contained. John On Friday, March 28, 2014 8:52:57 AM UTC-7, Paul Mercat wrote: Sorry, I don't know how to get sage-6.2.beta : the command sage

[sage-devel] Re: charpoly of sparse matrix

2014-03-28 Thread Paul Mercat
: On 2014-03-27, Paul Mercat mer...@yahoo.fr javascript: wrote: No, I have no idea of what will be the degree of the number field in which my spectral radius belongs to. But if I could compute the characteristic polynomial of the matrix, I could have the minimal polynomial of the spectral

[sage-devel] Re: Re: charpoly of sparse matrix

2014-03-28 Thread Paul Mercat
Ok, thank you I will look at this. Paul Le vendredi 28 mars 2014 10:38:41 UTC+1, Marc Mezzarobba a écrit : Paul Mercat wrote: OK, thank you, I see. It's an efficient method to compute a approximation of the spectral radius. It's good but I still want to have the exact value. You

[sage-devel] error while compiling sage-6.1.1

2014-03-28 Thread Paul Mercat
Hello ! I get the following error when I try to compile sage-6.1.1 on linux : gcc -DHAVE_CONFIG_H -I. -I../.. -I../../interfaces/C -I/home/paul.mercat/sage6-octo/sage-6.1.1/local/include -pedantic -std=gnu89 -Werror -g -O2 -frounding-math -W -Wall -MT ppl_lpsol-ppl_lpsol.o -MD -MP -MF

[sage-devel] Re: error while compiling sage-6.1.1

2014-03-28 Thread Paul Mercat
Ok, thank you. I will try sage-6.2.beta1. Le vendredi 28 mars 2014 14:28:34 UTC+1, Volker Braun a écrit : AFAIK this is fixed by the ppl update in in 6.2.beta1 On Friday, March 28, 2014 1:01:08 PM UTC, Paul Mercat wrote: Hello ! I get the following error when I try to compile sage-6.1.1

[sage-devel] Re: error while compiling sage-6.1.1

2014-03-28 Thread Paul Mercat
Sorry, I don't know how to get sage-6.2.beta : the command sage -dev doesn't work, and I have no command git installed. How can I do ? Le vendredi 28 mars 2014 14:52:50 UTC+1, Paul Mercat a écrit : Ok, thank you. I will try sage-6.2.beta1. Le vendredi 28 mars 2014 14:28:34 UTC+1, Volker

Re: [sage-devel] Re: charpoly of sparse matrix

2014-03-27 Thread Paul Mercat
: n = v.norm() : s += log(n) : v /= n sage: exp(s/100) 3.41421356237309 sage: A.eigenvalues() [-1, 0.5857864376269049?, 3.414213562373095?] 2014-03-26 23:28 UTC+01:00, Paul Mercat mer...@yahoo.fr javascript:: Le mercredi 26 mars 2014 22:56:46 UTC+1, Dima

Re: [sage-devel] Re: charpoly of sparse matrix

2014-03-27 Thread Paul Mercat
2014 12:33:17 UTC+1, vdelecroix a écrit : Do you have an idea of the expecting degree of the number field in which your eigenvalue belongs to ? If yes you can use pari/GP otherwise I do not see what you mean by exact value. 2014-03-27 11:17 UTC+01:00, Paul Mercat mer...@yahoo.fr javascript

[sage-devel] charpoly of sparse matrix

2014-03-26 Thread Paul Mercat
I need to compute charpoly of big sparse matrices obtained in sage, but there is no efficient algorithm in sage for the moment. So I would like to implement it and add it to sage. I think it already exists in gp or in linbox, but I was not able to use it in sage. Maybe sage has no proper way to

[sage-devel] Re: Mavericks - macosx users only

2014-03-26 Thread Paul Mercat
I had to reinstall Xcode after moving to Mavericks, but after that I compiled sage without problems. I recommend to upgrade to Mavericks from Lion. Paul Le vendredi 21 mars 2014 05:51:56 UTC+1, Andrew a écrit : As far as I can see sage is compiling and running on mavericks. From those who

[sage-devel] Re: charpoly of sparse matrix

2014-03-26 Thread Paul Mercat
Le mercredi 26 mars 2014 20:48:32 UTC+1, Dima Pasechnik a écrit : On 2014-03-26, Paul Mercat mer...@yahoo.fr javascript: wrote: I need to compute charpoly of big sparse matrices obtained in sage, but there is no efficient algorithm in sage for the moment. So I would like to implement

[sage-devel] Re: charpoly of sparse matrix

2014-03-26 Thread Paul Mercat
Le mercredi 26 mars 2014 22:56:46 UTC+1, Dima Pasechnik a écrit : On 2014-03-26, Paul Mercat mer...@yahoo.fr javascript: wrote: Le mercredi 26 mars 2014 20:48:32 UTC+1, Dima Pasechnik a écrit : On 2014-03-26, Paul Mercat mer...@yahoo.fr javascript: wrote: I need to compute

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-12 Thread Paul Mercat
= setupext.make_extension(test, []) Traceback (most recent call last): File stdin, line 1, in module AttributeError: 'module' object has no attribute 'make_extension' Le jeudi 11 juillet 2013 23:31:54 UTC+2, Jean-Pierre Flori a écrit : On Thursday, July 11, 2013 11:23:41 PM UTC+2, Paul Mercat wrote: Ok

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-12 Thread Paul Mercat
Here is the file setupext.py Le vendredi 12 juillet 2013 10:39:42 UTC+2, Paul Mercat a écrit : Ok, sorry, I should learn reading ! Python 2.6.4 (r264:75706, Aug 12 2011, 00:49:46) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type help, copyright, credits or license for more

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-12 Thread Paul Mercat
, Paul Mercat wrote: Here is the file setupext.py Le vendredi 12 juillet 2013 10:39:42 UTC+2, Paul Mercat a écrit : Ok, sorry, I should learn reading ! Python 2.6.4 (r264:75706, Aug 12 2011, 00:49:46) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type help, copyright, credits

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-11 Thread Paul Mercat
of $SAGE_LOCAL/lib/pkgconfig/libpng.pc and $SAGE_LOCAL/lib/pkgconfig/libpng12.pc Thanks. On Thursday, July 11, 2013 10:31:59 AM UTC+2, Paul Mercat wrote: I've try to compile sage with matplotlib 1.1.0. It changes nothing : g++ -bundle -undefined dynamic_lookup -L/Users/mercat/sage-5.10/local/lib

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-11 Thread Paul Mercat
to try_config(module, 'libpng', 'png') in the patch does. On Thursday, July 11, 2013 12:53:19 PM UTC+2, Paul Mercat wrote: The command command -v pkg-config gives /usr/local/bin/pkg-config And $? gives 0 The file $SAGE_LOCAL/lib/pkgconfig/libpng.pc is a symbolic link to $SAGE_LOCAL

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-11 Thread Paul Mercat
./sage --sh -c echo $PKG_CONFIG_PATH gives (nothing) Le jeudi 11 juillet 2013 13:51:50 UTC+2, Jean-Pierre Flori a écrit : On Thursday, July 11, 2013 1:31:31 PM UTC+2, Paul Mercat wrote: The result of pkg-config --libs --cflags libpng is Package libpng was not found in the pkg

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-11 Thread Paul Mercat
From the Sage shell, the command echo $PKG_CONFIG_PATH gives /Users/mercat/sage-5.10/local/lib/pkgconfig Le jeudi 11 juillet 2013 15:04:10 UTC+2, Jean-Pierre Flori a écrit : On Thursday, July 11, 2013 2:05:58 PM UTC+2, Paul Mercat wrote: ./sage --sh -c echo $PKG_CONFIG_PATH gives

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-11 Thread Paul Mercat
: libpng -I/Users/mercat/sage-5.10/local/include/libpng12 -L/Users/mercat/sage-5.10/local/lib -lpng12 Le jeudi 11 juillet 2013 15:07:48 UTC+2, Paul Mercat a écrit : From the Sage shell, the command echo $PKG_CONFIG_PATH gives /Users/mercat/sage-5.10/local/lib/pkgconfig Le jeudi 11

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-11 Thread Paul Mercat
= setupext.make_extension(test, []) setupext.get_pkgconfig(module, 'libpng', 'png', report_error=True) }}} On Thursday, July 11, 2013 3:30:57 PM UTC+2, Jean-Pierre Flori wrote: On Thursday, July 11, 2013 3:18:53 PM UTC+2, Paul Mercat wrote: In the Sage shell, the command pkg-config --variable pc_path pkg

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-11 Thread Paul Mercat
, 2013 5:27:27 PM UTC+2, Paul Mercat wrote: If I do import setupext in the sage shell, I get I meant a sage python shell, i.e. run ./sage --python, is it what you've done? -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from

[sage-devel] absolute value in a p-adic quotient field

2013-07-10 Thread Paul Mercat
If I define 'a' like this: R.x=PolynomialRing(Qp(2)); P=2*x^2+1; K.a=P.root_field(); why 'a' has no attribute abs ? It's not a big problem, because it's easy to compute the absolute value from the norm, but it don't work : a.norm() gives TypeError: cannot construct an element of Full

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-09 Thread Paul Mercat
Problem solved ! The problem is simply a incorrect name for the library libpng. I've uninstall the libraries libpng of my computer. Then the compilation of sage-5.10 from the beggining stop with the first error I gave : ld: library not found for -lpng The problem simply comes from the fact

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-09 Thread Paul Mercat
Thank you for this link. Apparently they've try to automatise exactly what I've done to correct the problem. But it don't work : there is no symbolic link libpng.* to the file libpng12.* Maybe what they've done has not be kept in sage-5.10 But I think that the name of the library is incorrect.

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-09 Thread Paul Mercat
No, I don't have pkgconfig installed. On Wednesday, July 10, 2013 12:00:50 AM UTC+2, John H Palmieri wrote: On Tuesday, July 9, 2013 12:11:01 PM UTC-7, Jean-Pierre Flori wrote: On Tuesday, July 9, 2013 8:57:21 PM UTC+2, Jean-Pierre Flori wrote: Could you try a previous version of

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-09 Thread Paul Mercat
Ok, I understand better why sage use the name libpng12 and not libpng.1.2. Thank you ! On Tuesday, July 9, 2013 8:57:21 PM UTC+2, Jean-Pierre Flori wrote: Could you try a previous version of matplotlib (look in http://boxen.math.washington.edu/home/release/, e.g.

[sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-08 Thread Paul Mercat
On Monday, July 8, 2013 11:08:57 AM UTC+2, vdelecroix wrote: Le dimanche 7 juillet 2013 22:06:12 UTC+1, Paul Mercat a écrit : As it's recommanded, I give here the error I get when I try to compile sage 5.10 on my MacBook pro : ld: library not found for -lpng The problem comes from

[sage-devel] Error installing package matplotlib-1.2.1

2013-07-07 Thread Paul Mercat
Hello ! As it's recommanded, I give here the error I get when I try to compile sage 5.10 on my MacBook pro : --- gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/Applications/sage-5.10/local/include