[sage-support] Probleme runing Sage in a chroot.

2009-03-12 Thread Thierry Dumont
I have problems runing sage in a chroot jail. Sage version: 3.3 I followed what is written in http://www.sagemath.fr/doc/inst/node10.html After installing the chroot I copied all the sage tree from a former installation, outside the chroot (may be the problem is here ?) Everything thing in

[sage-support] changing the login page of the notebook.

2009-03-16 Thread Thierry Dumont
I woild like to modify the login page of the notebook. I found the file login.template in data/extcode/notebook/templates But ecen after changing the file, restarting the notebook (and reloading the page), I do not see anychange. Is there some compilation mechanism for these web pages ?

[sage-support] Another twistd server is running, PID 8301

2009-03-18 Thread Thierry Dumont
Hello, As (maybe) you remember I starting the installation of my university wide Sage server. One idea is to launch 2 Sage servers on each machine (one machine has 32Gb ram and 4x2 cores). So: I create a sage user, in /home/sage I create two directories. In the first one I do:

[sage-support] Re: Another twistd server is running, PID 8301

2009-03-18 Thread Thierry Dumont
William Stein a écrit : On Wed, Mar 18, 2009 at 5:46 AM, Thierry Dumont tdum...@math.univ-lyon1.fr wrote: Hello, As (maybe) you remember I starting the installation of my university wide Sage server. One idea is to launch 2 Sage servers on each machine (one machine has 32Gb ram and 4x2

[sage-support] Re: Another twistd server is running, PID 8301

2009-03-18 Thread Thierry Dumont
William Stein a écrit : Try notebook('local_notebook', port=8001,secure=True,address='',open_viewer=False,accounts=True) Ok this works fine ! Thanks Yours t. -- - French universities are on a permanent strike! Have a look at the International Call:

[sage-support] Re: Disabled person using SAGE

2009-03-21 Thread Thierry Dumont
meitnik a écrit : Hi all, I am legally blind, legally deaf, some limited finger mobility, and some learning disabilities too (all from Rubella). I enjoy mathematics and programming but due to my limited income Mathematica is just out of my reach even for the Home edition. A friend told me

[sage-support] Printing /debugging

2009-03-23 Thread Thierry Dumont
As I want to modify Sage (introducing ldap identification), I need to modify some parts of Sage, mainly avatars.py. It is not yet working correctly :-( and for debugging I put some print instructions in the code; for example in the class FailedLogin I put a print statement in __init__. I

[sage-support] avatars.py (and others): which one ?

2009-03-27 Thread Thierry Dumont
I need to make changes to avatars.py I find 3 versions of this script in the sage tree: ./devel/sage-main/build/lib.linux-x86_64-2.5/sage/server/notebook/avatars.py ./devel/sage-main/build/sage/server/notebook/avatars.py ./devel/sage-main/sage/server/notebook/avatars.py (the same is true for

[sage-support] Re: avatars.py (and others): which one ?

2009-03-27 Thread Thierry Dumont
? Do tou mean: sage --clone nameofclone= creates a copy the we make changes in nameofclone and sage -br tranfers the changes in the main branch ? Yours t. On Fri, Mar 27, 2009 at 1:25 AM, Thierry Dumont tdum...@math.univ-lyon1.fr wrote: I need to make changes to avatars.py I find 3 versions

[sage-support] Security problem...

2009-04-04 Thread Thierry Dumont
I am always preparing me Sage University wide server.. I think I have a big security problem: Sage create users (looking for this in my ldap server, but this changes nothing from a public server where every one can create an account). One an account is created, I can access and *destroy* all

[sage-support] problem with server_pool.

2009-04-27 Thread Thierry Dumont
I am trying to use Sage (3.4) with a server pool *and* ldap identification. - As user sage I run the notebook with the following parameters: notebook(port=8001,secure=True,address='',server_pool=['sa...@localhost'],open_viewer=False,accounts=True) sage1 is an other Unix user, and I can ssh from

[sage-support] Question about identification.

2008-06-26 Thread Thierry Dumont
for all the french mathematiciens. In my University, there is an Active Directory :-( for the students. Did somebody developed this? Is someone interested by such development? Yours t.d. -- Thierry Dumont. Institut Camille Jordan -- Mathematiques-- Univ. Lyon I,43 Bd du 11 Novembre 1918, 69622

[sage-support] Re: Question about identification.

2008-06-26 Thread Thierry Dumont
Harald Schilly a écrit : Thierry Dumont wrote: Did somebody developed this? Is someone interested by such development? Hi, I'm interested and I think a lot others as well. LDAP authentification, and others, are key to widespread use of Sage. AFAIK somebody has worked on that, but I don't

[sage-support] C/ Fortran/ .... code generation ?

2008-07-05 Thread Thierry Dumont
or Fortran code; I know large industrial societies wich use, say, Maple only to do this. So, this will be great to have this sort of feature in Sage. yours Thierry Dumont Math. Dpt, Lyon, France. --~--~-~--~~~---~--~~ To post to this group, send email

[sage-support] Re: C/ Fortran/ .... code generation ?

2008-07-05 Thread Thierry Dumont
mabshoff a écrit : Nope, I think Harald misunderstood you. The goal is to specify say some finite element and then have logic to produce C or Fortran code that can be dumped to file and then copy and pasted into someones C or Fortran code without the need to depend on Sage. I have seen

[sage-support] problem installing polymake.

2008-07-10 Thread Thierry Dumont
dvipng-1.8 extra_docs-20070208 fricas-1.0.2 gcc-4.2.1 graphviz-2.16.1.p0 jmol-11.5.2-src-v2 kash3_osx-2006.01.31 lrs-4.2b.p0 mpi4py-0.3.1 openmpi-1.1.4 polymake-2.2.p4 valgrind_3.3.0 Thank you in advance! -- Thierry Dumont. Institut Camille Jordan -- Mathematiques-- Univ. Lyon I,43 Bd du 11

[sage-support] Trying to install all (Sage 3.0.3)

2008-07-11 Thread Thierry Dumont
Ubuntu 8.0.3, and Sage version is 3.0.3 I hope this will be usefull. t.d. -- Thierry Dumont. Institut Camille Jordan -- Mathematiques-- Univ. Lyon I,43 Bd du 11 Novembre 1918, 69622 - Villeurbanne Cedex - France. [EMAIL PROTECTED] web: http://math.univ-lyon1.fr/~tdumont begin:vcard

[sage-support] Performance problem, and a more basic question.

2008-07-15 Thread Thierry Dumont
the lisp (lisp.run). Why the lisp ? Yours, very sincerely. -- Thierry Dumont. Institut Camille Jordan -- Mathematiques-- Univ. Lyon I,43 Bd du 11 Novembre 1918, 69622 - Villeurbanne Cedex - France. [EMAIL PROTECTED] web: http://math.univ-lyon1.fr/~tdumont begin:vcard fn:Thierry Dumont

[sage-support] Using Sage with a large number of undergraduate students.

2008-10-06 Thread Thierry Dumont
I would like to know if someone as used Sage with undergraduate students. My question is mainly a question about the material which would be necessary. We are currently building a project (this means: asking for money, doing a lot a bureaucracy and so on) on Sage in my University: the idea is to

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-07 Thread Thierry Dumont
William Stein a écrit : If your hardware is pretty good (which the OP's hardware is), the problem is definitely the webserver and notebook interface. Running many sage sessions at once gets around this. ok, if I understand correctly, running many servers (listening on different ports)

[sage-support] server_pool problem.

2009-09-14 Thread Thierry Dumont
Hi, something I do not understand. 0) I have 2 users: sage and sage1 (on the same machine). 1) Logged in as sage, I can do ssh sa...@localhost some_command without passwd (authorized_keys2 in ~sage1/.ssh) 2) Now I launch the notebook:

[sage-support] On the problem error loading the sage libraries

2009-09-15 Thread Thierry Dumont
Some days (and weeks) ago Serge Salamanka posted a message about the message error loading the sage libraries he got when trying to use a pool of servers. I cannot find any answer in the sage-support archive. Is it fixed ? I have exactly the same problem on my machine (Debian Lenny, AMD 64).

[sage-support] An other problem...

2009-09-26 Thread Thierry Dumont
Since my last mail... I changed one or two things: I create a directory, exactly like http://wiki.sagemath.org/SageVirtualBox (this should not be specific to VBox). I add my 2 users sage and sage1 to a group sageusers. chmod g+w nbfiles I create the notebook.py file like this: from sage.all

[sage-support] Re: An other problem...

2009-09-26 Thread Thierry Dumont
, md5, sys No remote temporary directory (option server_tmpdir) specified, using /tmp/ on sa...@localhost LOOKATPATH ... and nothing. The LD_LIBRARY_PATH is *empty*, and thus also SAGE_ORIG_LD_LIBRARY_PATH. Is it the problem? Yours t.d. Thierry Dumont a écrit : Since my last mail... I changed

[sage-support] Re: sage notebook issue

2009-09-28 Thread Thierry Dumont
Koch Peer-Joachim a écrit : Hi, we are running a sage notebook for the members of our institute. In the moment the users can create an account login and use the notebook. One user has forgotten his password. How can I change the passsword of the user ? The notebook is started with nohup

[sage-support] Wich directories must be in LD_LIBRARY_PATH ?

2009-09-28 Thread Thierry Dumont
Trying to solve my problem: THERE WAS AN ERROR LOADING THE SAGE LIBRARIES. Try starting Sage from the command line to see what the error is when launching the notebook with a server_pool, I added manually the path: $SAGE_ROOT/local/lib (with $SAGE_ROOT hard coded). This changed nothing.

[sage-support] Re: strange Permission denied problem

2009-09-29 Thread Thierry Dumont
ma...@mendelu.cz a écrit : On 26 zář, 15:27, Thierry Dumont tdum...@math.univ-lyon1.fr wrote: ... strange only for me I hope. I have similar problem. As I undesrstand, if the user sage runs program sage and user sageuser is in server_pool, then .sage directory should be writeable

[sage-support] Re: strange Permission denied problem

2009-09-29 Thread Thierry Dumont
Super.. Question: can we have users of the pool on different machines now? (the directory beiing shared by nfs), and having the same groups on the different machines? William Stein a écrit : On Tue, Sep 29, 2009 at 1:00 PM, ma...@mendelu.cz ma...@mendelu.cz wrote: On 26 zář, 15:27, Thierry

[sage-support] Re: strange Permission denied problem

2009-09-29 Thread Thierry Dumont
William Stein a écrit : 2009/9/29 Thierry Dumont tdum...@math.univ-lyon1.fr: Super.. Question: can we have users of the pool on different machines now? (the directory beiing shared by nfs), and having the same groups on the different machines? In theory, yes, if you are willing to edit

[sage-support] Re: Wich directories must be in LD_LIBRARY_PATH ?

2009-10-05 Thread Thierry Dumont
William Stein a écrit : On Mon, Sep 28, 2009 at 5:53 AM, Thierry Dumont tdum...@math.univ-lyon1.fr wrote: Trying to solve my problem: THERE WAS AN ERROR LOADING THE SAGE LIBRARIES. Try starting Sage from the command line to see what the error is Make it so when the remote (worksheet

[sage-support] Sage / Gap: memory size question.

2009-10-22 Thread Thierry Dumont
One of our Sage users want to make computations with Gap, from inside Sage. So his commands are: sage gap.console() then he can read his Gap program, start to run it, but the program aborts by lack of memory. Classically, he uses gap directly, by typing: gap -o 4G (to get 4 Giga Bytes). Is

[sage-support] Re: Need help in starting a sage server

2009-11-11 Thread Thierry Dumont
William Stein a écrit : On Wed, Nov 11, 2009 at 6:22 PM, Kwankyu ekwan...@gmail.com wrote: Hi, I have a problem starting a sage server after, I think, upgrading to Ubuntu 9.10 server edition. It just hangs at the point Generating a 2048 bit RSA private key... See the following transcript:

Re: [sage-support] Easiest method to solve a PDE

2009-12-18 Thread Thierry Dumont
Carlos Córdoba a écrit : Hi, I know this is not a general mathematical forum, but I hope you can help me. I have this PDE: \frac{dB}{dt} = F(x,y,z)B(x,y,z) - G(x,y,z)\nabla B(x,y,z) and I don't know how to solve it numerically. What would be the easiest method to do it? It can be in

Re: [sage-support] Easiest method to solve a PDE

2009-12-19 Thread Thierry Dumont
William Stein a écrit : On Fri, Dec 18, 2009 at 11:53 PM, Thierry Dumont tdum...@math.univ-lyon1.fr wrote: Carlos Córdoba a écrit : Hi, I know this is not a general mathematical forum, but I hope you can help me. I have this PDE: \frac{dB}{dt} = F(x,y,z)B(x,y,z) - G(x,y,z)\nabla B(x,y,z

Re: [sage-support] Re: ndsolve??

2010-03-28 Thread Thierry Dumont
Rajeev a écrit : Hi, sage has gsl as one of the included packages, which is very good for numerical solution of differential equations. have a look at examples on the wikipage - http://wiki.sagemath.org/interact/diffeq 'Vector Field with Runga-Kutta-Fehlberg' by Schilly is one of my favorites. i

Re: [sage-support] Re: Inverses of Large Sparse Matrices

2010-04-09 Thread Thierry Dumont
Alec Mihailovs a écrit : On Apr 9, 8:59 pm, William Stein wst...@gmail.com wrote: A 5000x5000 matrix just isn't really that big, IMHO... That's true - should work in just few seconds - I meant REALLY big matrices - actually, sometimes such a thing should work faster even for not that big

[sage-support] Question about numerical linear algebra.

2010-04-11 Thread Thierry Dumont
I want to use RDF linear algebra. As far as i understand, operations are implemented using numpy/scipy. But many things differ from a direct call to scipy modules; for example: (computing the Singular Value Decomposition of a matrix): sage: A=matrix(RDF,[[1,3,2],[1,2,3],[0,5,2],[1, 1, 1]])

Re: [sage-support] Importing worksheet permission denied error

2010-04-16 Thread Thierry Dumont
Le 16/04/2010 17:35, William Stein a écrit : On Friday, April 16, 2010, kcrismankcris...@gmail.com wrote: Has anyone ever seen this when importing worksheets? Permission denied: '/home/notebook/sage_notebook/worksheets/kcrisman/2/ cells/37' In this case, I saved something from my laptop

[sage-support] RDF Sparse matrix.

2010-04-30 Thread Thierry Dumont
I have questions about RDF (and CDF) sparse matrices. How are they implemented? -for dense matrices, sage uses Scipy matrices and this is transparent. -but, how are sparse matrices (RDF,CDF) implemented? 1) Are they Scipy matrices ? 2) if yes: there are different data structures for

Re: [sage-support] RDF Sparse matrix.

2010-04-30 Thread Thierry Dumont
Le 30/04/2010 18:54, Robert Bradshaw a écrit : O sage: m = matrix(RDF, 5, sparse=True) sage: type(m) type 'sage.matrix.matrix_generic_sparse.Matrix_generic_sparse' So it's our completely generic sparse implementation, stored as a dictionary of non-zero entries.

Re: [sage-support] Re: Using LiE

2010-06-03 Thread Thierry Dumont
To compile Lie you must (or your systeme administrator) add some tools on your machine: -bison -the ncurses lib. On an Ubuntu machine, I installed (apt-get): libncurses5, libncursesw5 , ncurses-base ncurses-bin and bison. It will take 5 minutes to your administrator. Then it will be ok. t.d.

Re: [sage-support] Re: Using LiE

2010-06-04 Thread Thierry Dumont
Le 04/06/2010 11:17, John Cremona a écrit : Brilliant suggestion. I installed libncurses5-dev and then installing lie worked. (And then I found your message, afterwards). Here is an awkward fact: when I run our system-wide install (e.g. on the server) the command optional_packages() fails

Re: [sage-support] Re: XPPAUT and Sage

2010-06-11 Thread Thierry Dumont
As a marginal remark, PyDSTools use Radau code from Hairer and Wanner, which a much more robust method than all what is included in GSL (and Scipy). The tools for integrating ODEs available in Sage are far from being the best available. t.d. -- To post to this group, send email to

Re: [sage-support] Notebook Login and registration of users : Legacy DB or LDAP

2010-06-20 Thread Thierry Dumont
Le 20/06/2010 16:14, Patrick ABOU BAKAR a écrit : I know that SAGE contains its own installation of pretty much of all the modules it depends on.. My assumption is that there is a table that holds the username and password of the users as they sign up.. What SGBD is used for it? (SQLite,

[sage-support] How to install a customized version of sagenb?

2010-09-06 Thread Thierry Dumont
I want to patch sagenb (to add ldap identification). I did it some time ago by modifying notebook.py, avatars.py in in a cloned verion of Sage. Now that we have a separate package sagenb, what is the best way to proceed ? I can download sagenb, untar it, make my modifications and then??? Or

Re: [sage-support] Re: Arbitrary precision in Cython NumPy?

2010-09-18 Thread Thierry Dumont
Le 18/09/2010 16:31, KvS a écrit : Hi again, I hope you don't mind me bumping this thread one more time. I started experimenting with trying a few things for fast arbitrary precision computations using Cython. Above it was suggested to use MPFR directly, so without the RealNumber wrapper, as

[sage-support] Lot of segfaults...

2010-10-16 Thread Thierry Dumont
Hello, On our Sage server, we have a lot a students doing simple computer algebra. Our version of Sage is 4.5.3 on Debian Lenny. We have a lot of segfaults in maxima: 2329777.996283] maxima[26150]: segfault at 7fff13abfa30 ip 7fa21cac8921 sp 7fff13abfa30 error 6 in

Re: [sage-support] Re: Having trouble getting *ultra* high precision in this infinite sum calculation...

2010-12-13 Thread Thierry Dumont
Why not compute in QQ? Sage is done for this...: sage: s1=sum(10^(-q^2/1) for q in range(-1,1)) (wait some time...) sage: s2=sum(10^(-k^2/1) for k in range(-2,2)) (drink a large cup of coffee).. then: sage: t=s1-s2 sage: float(t) 0.0 ok, let's try more precise: sage:

[sage-support] sage upgrade on MacOs, Japanese envirinment.

2011-03-02 Thread Thierry Dumont
One of my colleagues uses a Macintosh with a Japanese environment. He cannot upgrade sage (4.6.1).Here is a transcription of what happens. Any idea? gcc version 4.2.1 (Apple Inc. build 5664) abort: unknown encoding: x-mac-japanese, please

[sage-support] sage -upgrade problem...

2011-03-30 Thread Thierry Dumont
It seems that there is a problem with content.wuala.com. sage -upgrade Automatically selected server content.wuala.com (http://content.wuala.com/contents/phatsphere/edoras/sage-mirror/). Downloading packages from

[sage-support] libgmp bug?

2011-06-14 Thread Thierry Dumont
Dear Colleagues, Using 4.7, we got the following bug,... Sage-4.7 was obtained by upgrading from source the last preceeding version. Here is the gdb run. Yours t.d. germoni@damysos:~$ sage -gdb -- | Sage Version 4.7, Release

[sage-support] which system is called ?

2011-09-17 Thread Thierry Dumont
For a small introduction to Sage, I want to show what is really called, for a set of problems, depending on, say, the field we use: Example: from sage.misc.citation import get_systems A=Matrix(RDF,[[1,3,2],[1,4,2],[0,5,2]]) B=vector(RDF,[1,2,3]) get_systems ('A.solve_left(B)') ['numpy',

[sage-support] Picture visualization in the notebook ?

2011-10-17 Thread Thierry Dumont
Dear sage-support, Is there a possibility ti visualize a Picture in the notebook ? For example: we read a .png image, and we would like to modify it, treat it and so on (we know how to to this with sage); at the end visualize the result in the notebook (we do not know how to do this...). yours

[sage-support] trouble upgrading from 4.7.1 to 4.7.2...

2011-11-04 Thread Thierry Dumont
Hello, sage -upgrade ... Do you want to continue [y/N]? y There are uncommitted changes in the Sage root repository. Aborting. 1) I did not change anything in the Sage repository since the installation of 4.7.1, except the sage script in SAGE_ROOT. I did not get this message at the

[sage-support] Apologize for: trouble upgrading from 4.7.1 to 4.7.2...

2011-11-05 Thread Thierry Dumont
I apologize for my preceding e-mail (04/11); I recall that I got the message: sage -upgrade ... Do you want to continue [y/N]? y There are uncommitted changes in the Sage root repository. Aborting. Actually, this was the first time I got this message (I have made at least 5 upgrades in the

[sage-support] Bug when running in the notebook, not in command line.

2012-02-22 Thread Thierry Dumont
Hello, We use sage 4.8 The following line: W=WeylGroup(F4) works in command line, BUT do not work when evaluated in the Notebook: Error message is: Traceback (most recent call last): File stdin, line 1, in module File _sage_input_4.py, line 10, in module exec

Re: [sage-support] Re: Java crash with plot3d

2012-03-08 Thread Thierry Dumont
Le 08/03/2012 14:44, Jori Mantysalo a écrit : On Mon, 5 Mar 2012, P Purkayastha wrote: It works here on vanilla sage-4.8, sage-4.8+new flask notebook+new jmol, and sage-5.0beta2+new flask notebook+new jmol with both opera-11.61 and firefox-10.0.2 on Gentoo 64 bit. java is the 64bit variety

[sage-support] Graphviz do not build (Sage 5.0/Ubuntu 10.04)

2012-06-01 Thread Thierry Dumont
Trying: sage -i graphviz... I get: mv -f .deps/no_demand_loading.Tpo .deps/no_demand_loading.Po make[3]: *** Pas de règle pour fabriquer la cible « ../../plugin/pango/libgvplugin_pango.la », nécessaire pour « dot_builtins ». Arrêt. make[3]: quittant le répertoire «

Re: [sage-support] LDAP (or AD or...) again

2012-11-22 Thread Thierry Dumont
Le 22/11/2012 08:53, Jori Mantysalo a écrit : Getting back to this old question... Version 5.4. has been released. How to set up ldap? Or some kind of external authentication, like CAS or AD? Has anyone made this? I'm stuck with old errors (this time Failed to load application: No module named

Re: [sage-support] Does SAGE support bifurcation analysis?

2013-02-24 Thread Thierry Dumont
Le 22/02/2013 15:18, Piero a écrit : Is there any support of bifurcation analysis in SAGE? Alternatively, are there binding tools to AUTO or XPPAUT? Many thanks Not yet, as far as I know. This would be great to integrate this in Sage! t.d. -- You received this message because you are

[sage-support] Problem installing 5.10 withy ppa on Ubuntu 13.04

2013-06-22 Thread Thierry Dumont
Hi, Install fails with: Error installing package scitools++ Before this I get: Removing

Re: [sage-support] Problem installing 5.10 withy ppa on Ubuntu 13.04

2013-06-22 Thread Thierry Dumont
spkg should be fixed, as far as I can see. Regards, Jan Yes, I apologize... it is a scitools problem... yours t. On 22 June 2013 12:54, Thierry Dumont tdum...@math.univ-lyon1.fr mailto:tdum...@math.univ-lyon1.fr wrote: Hi, Install fails

Re: [sage-support] n-dimensional numerical integration

2013-06-30 Thread Thierry Dumont
Le 29/06/2013 14:21, Martin Albrecht a écrit : Hi all, do we have n-dimensional numerical integration in Sage? All I can find is 3D, but what about higher dimensions? Cheers, Martin MMhhh... I do not know any (free) library doing n-dimensional numerical integration with n large. And so,

[sage-support] Polynomial question.

2013-12-11 Thread Thierry Dumont
Hello, all, I am going to manipulate Legendre (P) polynomials. So I do something like this: sage: P.x=QQ[] sage: #generate de first Lagrange polynomial sage: s=[legendre_P(i,x) for i in [0..2]] sage: print s [1, x, 3/2*x^2 - 1/2] sage: #now, look at the parents sage: s[0].parent() Integer Ring

[sage-support] ppa 6.0

2014-01-09 Thread Thierry Dumont
Dear colleagues, Will there be a ppa version of 6.0 ? Since I need to install sage on about 20 machines, the *.deb is nice But I have time t.d. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop

[sage-support] sage 6.0: cannot build graphviz

2014-01-19 Thread Thierry Dumont
I cannot install graphviz: sage -i graphviz... make[3]: *** Pas de règle pour fabriquer la cible « ../../plugin/pango/libgvplugin_pango.la », nécessaire pour « dot_builtins ». Arrêt. make[3]: quittant le répertoire «

[sage-support] LDAP and START_TLS in the notebook (sage 6.0) ?

2014-01-22 Thread Thierry Dumont
Hello, may be you remember I made a patch to (old) versions of the notebook to use ldap. But, I am switching to sage 6.0, and I want to use ldap again. So, I installed (system wide) libldap2-dev libsasl2-dev and openssl Then in sage: ./sage -sh (sage-sh) easy_install python-ldap Ok. Then

Re: [sage-support] Re: ppa 6.0

2014-02-12 Thread Thierry Dumont
Le 10/02/2014 17:07, slelievre a écrit : Jan Groenewald prepared a PPA for Sage 6.1.1, see his post on sage-release: https://groups.google.com/d/msg/sage-release/qhQ2BPM34Z0/kmneDmNsuroJ Great, it works fine. Thanks! May be it would be good to make mirrors of the ppa? Nawadays I download

[sage-support] Big problem with ppa (6.1).

2014-02-24 Thread Thierry Dumont
Dear all, I have juste installed 6.1 with the Ubuntu ppa on my lab's machines...: apt-get nstall sagemath-upstream-binary sagemath-optional (we are in LTS, Ubuntu 12.04); The directories: sloane/ jones/ are installed in / !!! (yes: i say /) idem if I do: sage -i sage-mode a directory

Re: [sage-support] Re: Computational geometry in the plane: in Sage?

2014-04-22 Thread Thierry Dumont
Le 22/04/2014 18:33, leif a écrit : Volker Braun wrote: On Tuesday, April 22, 2014 4:43:43 PM UTC+1, tdumont wrote: I am in 6.1.1; as far as as know, I have built sage from source, using the system Atlas blasand I have just upgraded from Ubuntu 13.10 to 14.04. Could the problem

[sage-support] knowing which {packae, library} is used.

2014-10-17 Thread Thierry Dumont
I apologize for this question: I am sure I have seen the answer somewhere, but I cannot find int.. I run some sage code: for example I solve a linear system with coefficients in QQ, then an other one with coefficients in RDF. I want to list which library (package) is used in both cases. This

Re: [sage-support] Infinite loop in matrix.change_ring

2015-05-08 Thread Thierry Dumont
Le 08/05/2015 10:23, Vincent Delecroix a écrit : Bonjour Thierry, Could you post your matrices Prec, M, mfeEast? I am not able to reproduce the problem with change_ring... Vincent Hello Vincent. Yes, I join a part of my code, which reproduces the problem... Yours t. -- You received this

[sage-support] Infinite loop in matrix.change_ring

2015-05-08 Thread Thierry Dumont
Hello, I have 2 matrices: Prec and M. sage: Prec.parent Full MatrixSpace of 4 by 4 dense matrices over Rational Field sage: M.parent() Full MatrixSpace of 4 by 4 dense matrices over Rational Field sage: Prec.is_symetric() True ok. I also know that Prec is positive. Then, I do: sage:

Re: [sage-support] Infinite loop in matrix.change_ring

2015-05-08 Thread Thierry Dumont
Le 08/05/2015 11:00, Vincent Delecroix a écrit : On 08/05/15 10:52, Thierry Dumont wrote: Le 08/05/2015 10:23, Vincent Delecroix a écrit : Bonjour Thierry, Could you post your matrices Prec, M, mfeEast? I am not able to reproduce the problem with change_ring... Vincent Hello Vincent. Yes

Re: [sage-support] Re: Algebraic Field or Symbolic Ring ?

2015-07-01 Thread Thierry Dumont
Le 01/07/2015 08:23, Ralf Stephan a écrit : On Tuesday, June 30, 2015 at 1:24:23 PM UTC+2, tdumont wrote: Why is xxc in Symbolic Ring and not in Algebraic Field? mxx and xxc are essentialy the same thing, no ? When you input sqrt(2) it is not clear which object you want, Sage

[sage-support] Algebraic Field or Symbolic Ring ?

2015-06-30 Thread Thierry Dumont
I have found something a bit strange for me: sage: xx=QQ(2) sage: xx.parent() Rational Field ok... sage: xxc=xx.sqrt() sage: xxc.parent() Symbolic Ring Why not, but now: sage: M1=matrix(QQ,1,1,[2]) sage: M1.parent() Full MatrixSpace of 1 by 1 dense matrices over Rational Field sage:

[sage-support] playing with sage and jupyterhub: some (small) problems.

2015-07-30 Thread Thierry Dumont
Hi, With a colleague well known here (N. T. from Orsay) we started to play with Jupyterhub and Sage during a rainy social day of the congress of the French Society for Applied Maths (SMAI). Actually, building a Jupyterhub server is something easy, and running Sage in it also. But there remain

Re: [sage-support] Ipython notebook : mathjax availability depends on the way one starts sage...

2015-10-23 Thread Thierry Dumont
This seems related to the problem I had when running sage under jupyter hub, and also in jupyter (the later: launching jupyter, then sage 6.0beta1): -some parts of the documentation (the documentation in the sage tree) cannot be accessed (FAQs for example). But now (since 6.0beta1?), jsmol

Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-10 Thread Thierry Dumont
Le 10/10/2015 22:32, Jeroen Demeyer a écrit : On 2015-10-10 21:24, Emmanuel Charpentier wrote: In [2]: %display simple solve(x^2+1==0,x,to_poly_solve="force") Out[2]: [] Huh ? Works for me... In any case, it would be very unlikely that a Sage command actually gives different output in the

Re: [sage-support] Re: problem with nfs or... what ? (7.0)

2016-01-27 Thread Thierry Dumont
Le 27/01/2016 16:42, Volker Braun a écrit : On Tuesday, January 26, 2016 at 12:43:28 PM UTC-5, tdumont wrote: For binary distributions, we can install it at any place we want, no? What is the difference? The binary is built with a long path and comes with a script that search it with

Re: [sage-support] Install Sage failed both on 64 bit as on 32 bit Linux Mint

2016-01-30 Thread Thierry Dumont
Le 30/01/2016 22:49, Paul van Gorsel a écrit : First I ran a 64 bits Linux Mint Debian Edition, unfortunately the installation of Sage failed. Than I installed a 32 bit version (Linux Mint 17.3), the same thing happened. This is my laptop: HP-ProBook-4520s Linux pgo-HP-ProBook-4520s

[sage-support] problem with nfs or... what ? (7.0)

2016-01-25 Thread Thierry Dumont
Hello, I have tried to switch from 6.10 to 7.0, but... I have some problems. 1) Let me fist explain the architecture of our client/server installation: -We have a nfs server (Debian + Zfs) which export a directory (/srv/local64) to a large number of clients (all Ubuntu 14.O4-LTS) but with

Re: [sage-support] Re: problem with nfs or... what ? (7.0)

2016-01-26 Thread Thierry Dumont
Le 25/01/2016 15:37, Volker Braun a écrit : The directory path has to match, if its different on server and client then you have to compile it on the client (or mount on the server in the same path first). Ok it's working. But is it something new ? For binary distributions, we can install it

[sage-support] Strange behavior with RealField(n)

2016-02-21 Thread Thierry Dumont
I have students who want to compute decimals of pi...so, what can we do with RealField(n) ? I make the following script (pi.sage): for p in [2..10]: R=RealField(10^p) pii=4*atan(R(1)) print p,R,pii Then, using sage 7.0 or 7.1.beta4:

Re: [sage-support] Strange behavior with RealField(n)

2016-02-21 Thread Thierry Dumont
Le 21/02/2016 20:40, John Cremona a écrit : Try RealField(500).pi() and similar. Yes, it works... but my small piece of code should also give correct results... thanks. t. On 21 Feb 2016 18:10, "Thierry Dumont" <tdum...@math.univ-lyon1.fr <mailto:tdum...@math.univ-lyon1.fr

[sage-support] Fwd: Re: Strange behavior with RealField(n)

2016-02-22 Thread Thierry Dumont
Message transféré Sujet : Re: Strange behavior with RealField(n) Date : Mon, 22 Feb 2016 10:17:30 +0100 De : paul zimmermann <paul.zimmerm...@inria.fr> Pour : Thierry Dumont <tdum...@math.univ-lyon1.fr> Copie à : nbr...@sfu.ca [please forward to sage-support, I am

Re: [sage-support] Benchmark linear system solve (sage x python(jupyter))

2016-04-04 Thread Thierry Dumont
Le 30/03/2016 22:33, jmarcellopere...@ufpi.edu.br a écrit : start = time.time() x = np.linalg.solve(A,B) end = time.time() print(end - start) I have tried this juste now; sage version is 7.0 I get : 1) first version: CPU times: user 6.88 s, sys: 76 ms, total: 6.95 s Wall time: 2.03 s

Re: [sage-support] Re: Problem installing database_gap-4.7.9 (sage-7.1)

2016-04-21 Thread Thierry Dumont
Le 21/04/2016 19:35, Volker Braun a écrit : Linking with gsl is a known problem for the binary, should be fixed in 7.2 Actually, using a compiled buymyself 7.2 version, I have no problem. No other solution than compiling? t.d. On Thursday, April 21, 2016 at 6:12:35 PM UTC+2, tdumont

[sage-support] Compilation of 7.6.beta1 on Ubuntu 16-10

2017-01-31 Thread Thierry Dumont
When trying to compile 7.6.beta1, which installed Python3, I got a cython problem (cmp...): [sagelib-7.6.beta1] [353/465] Cythonizing sage/rings/morphism.pyx [sagelib-7.6.beta1] [sagelib-7.6.beta1] Error compiling Cython file: [sagelib-7.6.beta1]

Re: [sage-support] Compilation of 7.6.beta1 on Ubuntu 16-10

2017-01-31 Thread Thierry Dumont
Le 31/01/2017 à 11:49, Jeroen Demeyer a écrit : > On 2017-01-31 09:42, Thierry Dumont wrote: >> When trying to compile 7.6.beta1, which installed Python3, I got a >> cython problem (cmp...): > > That's not news... Nobody ever said that Sage works with Python 3. >

Re: [sage-support] Compilation of 7.6.beta1 on Ubuntu 16-10

2017-01-31 Thread Thierry Dumont
Le 31/01/2017 à 12:30, Jeroen Demeyer a écrit : > On 2017-01-31 12:24, Thierry Dumont wrote: >> I just git clone sage, then checkout origin/develop and make. >> Then after some time, Python 3 is installed and compiled. > > Are you really sure about that? Did you set the SAG

Re: [sage-support] Re: Error building 7.5.1

2017-01-17 Thread Thierry Dumont
Le 17/01/2017 à 00:09, Volker Braun a écrit : > You can force a particular architecture with > > OPENBLAS_CONFIGURE="TARGET=PRESCOTT" make -p openblas > > Yes! it works, thanks. Otherwise there are solutions when the vitual machine is run by KVM/libvirt: 1) if you add in the

[sage-support] Error building 7.5.1

2017-01-16 Thread Thierry Dumont
I tried to install 7.5.1 from source on an Ubuntu 14.04 (yes, I have no choice). This fails when compiling openblas-0.2.19.p0, when building libopenblas_banias-r0.2.19.a. ar -ru ../libopenblas_banias-r0.2.19.a samax_k.o samin_k.o . . ar: sgemm_kernel.o: No such file or directory. In

Re: [sage-support] jupyter lab

2016-08-20 Thread Thierry Dumont
Le 20/08/2016 à 08:09, HG a écrit : > I am testing jupyter lab, all my kernels are recognized except one : sage ? > Is there a way to config it manually to be used in jupyterlab ? > Regards > Henri > THis is the first time I heard about jupyter lab ! (things evoluate very fast...). But, in my

Re: [sage-support] Sage always crashes

2016-09-02 Thread Thierry Dumont
Le 01/09/2016 à 21:29, Pierre-Yves Bienvenu a écrit : > Hi, I'm trying to use Sage 7.3 on Ubuntu. I've downloaded the archive, > used archive manager to extract it and got a directory SageMath. Inside > I double click the sage executable. The terminal opens and after a lot > of lines starting

[sage-support] huge virtual memory size when launching 7.3

2016-08-30 Thread Thierry Dumont
I have two computers, and sage installed on both: 1) Ubuntu 12.04 , sage-7.3 on an nfs mount,y 2) Ubuntu 16.04, sage-7.3 on a local system, on a ssd. With the first one, sage starts slowly (as could be expected!), and I have time to look at sage starting with "top". And during the starting

Re: [sage-support] huge virtual memory size when launching 7.3

2016-08-30 Thread Thierry Dumont
Le 30/08/2016 à 19:06, William Stein a écrit : > On Tue, Aug 30, 2016 at 9:56 AM, Thierry Dumont > <tdum...@math.univ-lyon1.fr> wrote: >> I have two computers, and sage installed on both: >> >> 1) Ubuntu 12.04 , sage-7.3 on an nfs mount,y >> >> 2)

Re: [sage-support] Re: huge virtual memory size when launching 7.3

2016-08-31 Thread Thierry Dumont
Le 31/08/2016 à 00:19, Volker Braun a écrit : > On Tuesday, August 30, 2016 at 11:03:39 PM UTC+2, leif wrote: > > 48 GB claimed by *every* Sage process here > > > Its a tiny fraction of the 128TB address space. We are not talking about > used RAM here. > > which is *total* (not free!)

[sage-support] Stange behavior with QQbar[z]

2016-11-07 Thread Thierry Dumont
Something strange (at least for me). I am computing with polynomials in QQbar[z]. So I do: sage: P.=QQbar[] And I define 2 polynomials N and D. Coefficients of N and D are all real, algebraic numbers (say like QQbar(sqrt(3))) and I consider the rational fraction R=N/D sage: R.parent()

Re: [sage-support] Re: Stange behavior with QQbar[z]

2016-11-08 Thread Thierry Dumont
Le 08/11/2016 à 08:43, Vincent Delecroix a écrit : > Concerning representation of algebraic numbers, it is printed as an > exact rational if and only if it is stored as an exact rational. It > will be if the method exactify has been called on the underlying > representation of the number. Here is

  1   2   >