Re: [sage-combinat-devel] Sage(-Combinat) tutorial during EJCIM 2014?

2014-01-22 Thread Matthieu Deneufchatel
Je veux bien donner un coup de main si c'est dans mes cordes.
Cordialement,
Matthieu





Le Mercredi 22 janvier 2014 9h38, Nicolas M. Thiery  
a écrit :
 
    Dear French Sage-combinat devs,

(this is about an upcoming Spring school for French PhD students at
the frontier of maths and computer science; if you are not based in
France, you may safely ignore this thread).

Sylvain Peyronnet m'a contacté pour savoir si nous souhaitions
intervenir comme les années précédentes lors de l'École Jeunes
Chercheurs 2014. Est-ce que certains d'entre vous seraient intéressés
pour participer resp. prendre cela en main?

Bonne journée!
                Nicolas

- Forwarded message from Sylvain Peyronnet  -
Date: Tue, 21 Jan 2014 20:56:02 +0100
From: Sylvain Peyronnet 
To: gdr...@gdr-im.fr
Subject: [gdr-im] EJCIM 2014 !

MERCI DE DIFFUSER LARGEMENT

Annonce pour l'EJC-IM 2014 :

Ecole Jeunes Chercheurs en Informatique Mathématique (EJC-IM) 2014
31 mars au 4 avril 2014 à Caen

https://ejcim2014.greyc.fr/

Bonjour à toutes et tous.

Le GDR Informatique Mathématique propose chaque année une école pour
les jeunes chercheurs. L'édition 2014 de ces EJC-IM est organisée par
l'équipe AMACC du GREYC, laboratoire de recherche en informatique de
l'Université de Caen Basse-Normandie (UCBN).

Elle aura lieu sur le campus 3 de l'UCBN, du lundi 30 mars au vendredi
4 avril 2014.
Des pré-inscriptions sont obligatoires et ouvertes à partir 24 janvier
et jusqu'au 28 février.

Nous invitons les jeunes chercheurs participants potentiels à se
pré-inscrire sur le site web dès le 24 janvier.

Les grands thèmes du GDR IM sont l'algorithmique, la combinatoire, le
calcul formel, l'arithmétique, la protection de l'information, la
géométrie, la logique et la complexité. L'une des vocations de ces
EJC-IM est de promouvoir l'ouverture des jeunes chercheurs à ces
thématiques et de renforcer la cohésion scientifique de la communauté
Informatique Mathématique. Le public de ces écoles est prioritairement
celui des doctorants et jeunes docteurs du GDR IM, mais aussi des
étudiants de Master ou des chercheurs d'autres GDR.

Cette année, l'école permettra d'aborder les thèmes suivants.

* Automates Cellulaires
* Algorithmique du web
* Exemples d'analyse d'algorithmes en arithmétique et en théorie de
l'Information
* Complexité de communication
* Cryptographie

Les jeunes chercheurs sont aussi invités à exposer leurs travaux, sous
la forme de présentations orales ou de posters, et ont ainsi
l'occasion d'interagir avec la communauté. Les cours qui représentent
15 à 20h de formation sont validés par la plupart des écoles
doctorales (attestation fournie sur demande).

Les frais d'hébergement du dimanche soir au vendredi midi et la
demi-pension (matin et midi) sont pris en charge par
l'organisation. Les frais de transport sont à la charge des
participants, ainsi que les frais d'inscription de 75 euros. Les
modalités de paiement seront communiquées dans les prochaines
semaines.

Le comité scientifique est composé de :

– Valérie Berthé (LIAFA, Paris)
– Philippe Langlois (LIRMM, Perpignan)
– Jean-Michel Muller (ENS Lyon)
– Sylvain Peyronnet (GREYC, Caen)
– Natacha Portier (LIP, ENS Lyon)
– Brigitte Vallée (GREYC, Caen)

Le comité d'organisation est composé de :

– Ali Akhavi (GREYC, Caen)
– Nicolas Bacquey (GREYC, Caen)
– Thomas Largillier (GREYC, Caen)
– Sylvain Peyronnet (GREYC, Caen)
– Natacha Portier (LIP, ENS Lyon)
– Gaëtan Richard (GREYC, Caen)
– Brigitte Vallée (GREYC, Caen)

Pour plus de détails, n'hésitez pas à consulter la page web de l'école
ou à contacter Sylvain Peyronnet (sylvain.peyron...@unicaen.fr).


- End forwarded message -
                Nicolas
--
Nicolas M. Thiéry "Isil" 
http://Nicolas.Thiery.name/

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

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


Re: [sage-combinat-devel] Dear Poset Users, tell me what you like

2014-01-09 Thread Matthieu Deneufchatel
Is it a good opportunity to ask a question about reviewing?
Who can review patches? If I read the Sage developper's Guide, every Sage user 
can do it; am I right?
But I think that you need to have some knowledge about the problems adressed by 
the patch in order to be useful. Are there rules, sorting of any sort...? I 
would be happy to help anyway! And I apologize if these questions have their 
answers on the web and if I did not search long enough.
Best,
Matthieu





Le Jeudi 9 janvier 2014 15h34, Nicolas M. Thiery  a 
écrit :
 
On Thu, Jan 09, 2014 at 10:40:22AM +0100, Nathann Cohen wrote:
>    Bon, a propos de ca... En regle generale, je n'aime pas beaucoup qu'on me
>    felicite ou qu'on me remercie pour quoi que ce soit, je ne sais jamais
>    quoi repondre.

Tu n'es pas obligé d'y répondre :-)

>    La, en l'occurrence, je n'ai pas besoin de remerciements mais
>    d'aide technique.

80% de mon mail était de l'aide technique, et les 20% de remerciements
ne m'ont pas pris du temps que j'aurais pu consacrer à autre
chose. Maintenant si tu préfères que je commence mes mails par des
insultes, je peux aussi!

>    Parce que meme si tu me dis que ca te plait de
>    voir les posets aller plus vite, ca reste la croix et la banniere
>    pour faire reviewer les patches. La y'a un grapheux qui
>    finalement va se taper la review des matrices de bits (#14589)
>    mais ca fait 8 mois que c'est en needs_review.  Simon s'est tape
>    toutes les reviews des backends immutables pour les posets,

Oui, je sais! Moi aussi j'ai du mal à faire reviewer mes patches.

>    et la apparemment il se tape le debug de ton patch #10963 (dans
>    lequel en passant tu t'auto-dispenses d'ecrire la doc).

Ça c'est mon deal avec Simon. Du débogage et de la review sur ses
patches, j'en ai fait un paquet. Quant au commentaire sur la doc, tu
peux te le mettre ou je pense. Les 2/3 du patch, c'est de la
doc. Alors je suis d'accord que ce n'est pas suffisant: le travail
d'infrastructure est un domaine particulièrement exigeant au niveau
documentation. Il y aura encore du travail à faire après le patch.
Mais dire que «je me dispense d'écrire la doc», ça me donne envie de
distribuer des coups de poings.

>    Tout ca pour dire qu'on a plus besoin de toi pour mettre les
>    mains dans le code

Je sais parfaitement qu'il y a un besoin énorme de review. Si tu veux
une réponse du berger à la bergère, j'ai plus besoin de toi pour
déposer un projet ANR pour me payer une délégation que pour me libérer
du temps que pour me faire culpabiliser.

Sérieusement: ton mail viens de m'énerver et me faire perdre 15
minutes, alors que j'étais en train d'écrire de la putain de doc.

Amitiés,
                Nicolas
--
Nicolas M. Thiéry "Isil" 
http://Nicolas.Thiery.name/


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

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


[sage-combinat-devel] Installation problem

2013-09-19 Thread Matthieu Deneufchatel
I just compiled sage-5.11 (which started without any problem) and ran sage 
-combinat install but sage do not want to start again after this.
I get the following message when I try sage -combinat upgrade
Testing that Sage starts...
[2013-09-19 17:40:27] Sage version 5.11, released 2013-08-13
Traceback (most recent call last):
  File "/home/matthieu/sage-5.11/local/bin/sage-eval", line 4, in 
    from sage.all import *
  File 
"/home/matthieu/sage-5.11/local/lib/python2.7/site-packages/sage/all.py", line 
125, in 
    from sage.combinat.all   import *
  File 
"/home/matthieu/sage-5.11/local/lib/python2.7/site-packages/sage/combinat/all.py",
 line 119, in 
    from binary_tree import (BinaryTree, BinaryTrees,
  File 
"/home/matthieu/sage-5.11/local/lib/python2.7/site-packages/sage/combinat/binary_tree.py",
 line 20
SyntaxError: Non-ASCII character '\xc3' in file 
/home/matthieu/sage-5.11/local/lib/python2.7/site-packages/sage/combinat/binary_tree.py
 on line 21, but no encoding declared; see 
http://www.python.org/peps/pep-0263.html for details
Sage failed to start up.
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and send the log file
  /home/matthieu/sage-5.11/logs/start.log
Describe your computer, operating system, etc.
Abort


What is the problem?
Best,

Matthieu

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


Re: [sage-combinat-devel] Installation problem

2013-09-19 Thread Matthieu Deneufchatel
I tried to install sage-combinat, saw that sage did not start anymore and then 
tried to upgrade.
Matthieu





 De : Anne Schilling 
À : sage-combinat-devel@googlegroups.com 
Envoyé le : Jeudi 19 septembre 2013 18h08
Objet : Re: [sage-combinat-devel] Installation problem
 

Hi Mathieu,

On 9/19/13 8:42 AM, Matthieu Deneufchatel wrote:
> I just compiled sage-5.11 (which started without any problem) and ran sage 
> -combinat install but sage do not want to start again after this.

Strange, I just pulled from the sage-combinat queue with sage-5.11 via

sage -combinat update

and applied all patches via

sage -hg qpush -a
sage -br

and it started fine for me.

> I get the following message when I try sage -combinat upgrade

Did you want upgrade or update?

Best,

Anne

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

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


Re: [sage-combinat-devel] New basis for an algebra

2013-07-11 Thread Matthieu Deneufchatel

Thank you Nicolas for your answer which was very useful. 

I have now another problem. 
In order to define the product of two primitive elements (P_l for l a Lyndon 
word), I think I need the structure equivalent to that of the 
CombinatorialFreeModule but in the case of monoids, something that others have 
already dreamt of: 
https://groups.google.com/forum/#!topic/sage-combinat-devel/E5aETiD7GNU. To be 
clear, I would like to have a monoid whose generators are indexed by Lyndon 
words.
Does it exist?
Matthieu




 De : Matthieu Deneufchatel 
À : "sage-combinat-devel@googlegroups.com" 
 
Envoyé le : Vendredi 5 juillet 2013 12h26
Objet : Re: [sage-combinat-devel] New basis for an algebra
 


I received this message long after I sent it. I had already posted the same 
message on sage-devel and Nicolas answered a few days ago 
(https://groups.google.com/forum/#!topic/sage-devel/viSUg_KFy1A).
But if you have something to add, please answer!
Matthieu




____
 De : Matthieu Deneufchatel 
À : sage-combinat-devel  
Envoyé le : Mardi 2 juillet 2013 19h48
Objet : [sage-combinat-devel] New basis for an algebra
 


I try to implement the Poincaré-Birkhoff-Witt basis of the free algebra. 
I defined the elements of this basis and a function which gives the expansion 
of an element of the free algebra on this basis; actually, it returns a 
dictionary whose keys are monomials and whose values are the corresponding 
coefficients.
I would like to define a new basis of the free algebra, but I don't know which 
structure I should use. Is there a "canonical way"? Should I use a 
CombinatorialFreeModule?
There might be some documentation I should have read before asking any 
question. Please tell me where I should have a look.
Best,
Matthieu
-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/groups/opt_out.

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




[sage-combinat-devel] New basis for an algebra

2013-07-04 Thread Matthieu Deneufchatel
I try to implement the Poincaré-Birkhoff-Witt basis of the free algebra. 
I defined the elements of this basis and a function which gives the expansion 
of an element of the free algebra on this basis; actually, it returns a 
dictionary whose keys are monomials and whose values are the corresponding 
coefficients.
I would like to define a new basis of the free algebra, but I don't know which 
structure I should use. Is there a "canonical way"? Should I use a 
CombinatorialFreeModule?
There might be some documentation I should have read before asking any 
question. Please tell me where I should have a look.
Best,
Matthieu

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




[sage-combinat-devel] Free Algebra and Words

2013-06-19 Thread Matthieu Deneufchatel
 I have been working on free algebras with Sage for a while and I could add 
some features that might be useful.
For example, I could implement the Poincaré-Birkhoff-Witt basis of a free 
algebra. To do so, I use the standard factorisation and the Lyndon 
factorisation of the word that corresponds to a monomial. Hence, I think that I 
should add a coercion of words into elements of the free algebra and conversely.
I do not know 
    if this is a good idea.
    where I have to put these "maps" (in the code of FreeAlgebraElement? of 
FreeMonoidElement? of FreeAlgebra?).
If anyone can help me...
Matthieu

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




[sage-combinat-devel] Non commutative symmetric functions expansion

2013-06-11 Thread Matthieu Deneufchatel
I am looking for the possibility of expanding non commutative symmetric 
functions over an alphabet.
Does it exist? Is it so obvious that I missed it?
Is it possible do the converse (obtain the expansion of a non commutative 
symmetric function in a certain basis)?
Best,
Matthieu

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




Re: [sage-combinat-devel] Free Algebra Element

2013-04-10 Thread Matthieu Deneufchatel
>I doubt this has ever worked:
In fact, my message was not clear. I test if type(a*b) == 
sage.algebras.free_algebra_element.FreeAlgebraElement
With older versions, type(a*b) == 
sage.algebras.free_algebra_element.FreeAlgebraElement 

which is not the case anymore.
But your advice is good, thanks !
Matthieu




 De : Nicolas M. Thiery 
À : sage-combinat-devel@googlegroups.com 
Envoyé le : Mercredi 10 avril 2013 15h33
Objet : Re: [sage-combinat-devel] Free Algebra Element
 
    Bonjour Matthieu,

On Wed, Apr 10, 2013 at 02:15:20PM +0100, Matthieu Deneufchatel wrote:
>    Do I miss something or is there a bug :
>    sage: R.=FreeAlgebra(QQ,2)
>    sage: a*b
>    a*b
>    sage: type(a*b)
>        
>'sage.algebras.free_algebra_element.FreeAlgebra_generic_with_category.element_class'>
>    sage:
>    
>type(a*b)==sage.algebras.free_algebra_element.FreeAlgebra_generic_with_category.element_class
>    ---
>    AttributeError                            Traceback (most recent call
>    last)
> 
>    /home/deneufchatel/ in ()
> 
>    AttributeError: 'module' object has no attribute
>    'FreeAlgebra_generic_with_category'

>    The same code used to give something consistent with older versions of
>    Sage (4.8 ?).

I doubt this has ever worked: the class
"FreeAlgebra_generic_with_category" is generated on the fly to add
generic code from the categories to the code of FreeAlgebra and
FreeAlgebraElement. For details, see:

    
http://www.sagemath.org/doc/reference/categories/sage/categories/category.html

On the other hand you can do something like:

    sage: type(a*b) == R.element_class

Cheers,
                Nicolas
--
Nicolas M. Thiéry "Isil" 
http://Nicolas.Thiery.name/

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

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




[sage-combinat-devel] Free Algebra Element

2013-04-10 Thread Matthieu Deneufchatel



Hello,
Do I miss something or is there a bug :
sage: R.=FreeAlgebra(QQ,2)
sage: a*b
a*b
sage: type(a*b)

sage: 
type(a*b)==sage.algebras.free_algebra_element.FreeAlgebra_generic_with_category.element_class
---
AttributeError    Traceback (most recent call last)

/home/deneufchatel/ in ()

AttributeError: 'module' object has no attribute 
'FreeAlgebra_generic_with_category'


The same code used to give something consistent with older versions of Sage 
(4.8 ?).

Matthieu Deneufchâtel

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




Re: [sage-combinat-devel] Installation on Mageia 2

2012-08-02 Thread Matthieu Deneufchatel
In fact, there is no problem: I made a mistake that explains why the 
compilation failed. Frédéric Chapoton helped me and everything is now in order.
Cheers,
Matthieu




 De : Nicolas M. Thiery 
À : sage-combinat-devel@googlegroups.com 
Envoyé le : Jeudi 2 août 2012 21h16
Objet : Re: [sage-combinat-devel] Installation on Mageia 2
 
    Dear Matthieu,

On Fri, Jul 27, 2012 at 02:46:12PM +0100, Matthieu Deneufchatel wrote:
>    I tried to compile sage 5.1 on Mageia 2. It did not work. Below is the log
>    file and the result of ../sage. Since it is the first time I compile a
>    program, I do not know what to do and I do not want to make a mistake.
>    Could anyone help me (or tell me if I send this email to a wrong google
>    group) ?

Since this is a general issue with Sage, please post this to
sage-devel or use the ask.sagemath.org website. You may want to google
first for something like "Sage Mageia No module named IPython".

Quick question that your log raise: did you run the command make from
the sage-5.1 directory?

Cheers,
                Nicolas
--
Nicolas M. Thiéry "Isil" 
http://Nicolas.Thiery.name/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: doctest failures

2012-07-28 Thread Matthieu Deneufchatel
Le problème venait bien des accents. Mais je me suis créé un autre problème : 
après avoir testé que la compilation était un succès, j'ai voulu faire un lien 
symbolique vers $SAGE_ROOT/sage. 


Comme je ne réussissais pas, j'ai dû supprimer un fichier qu'il ne fallait pas 
supprimer et la commande ./sage ne fonctionne plus même dans le répertoire de 
sage (la prochaine fois, je fais un alias !). 

[matthieu@localhost sage-5.1]$ pwd
/home/matthieu/sage-5.1

[matthieu@localhost sage-5.1]$ ls
COPYING.txt  data/  devel/  dochtml.log  install.log  ipython/  local/  
Makefile  README.txt  spkg/  start.log  tmp/  VERSION.txt


Y a-t-il une solution pour ne pas avoir à recommencer la compilation ?
Matthieu




 De : Frédéric Chapoton 
À : sage-combinat-devel@googlegroups.com 
Envoyé le : Vendredi 27 juillet 2012 17h57
Objet : [sage-combinat-devel] Re: doctest failures
 

Salut Matthieu,

il ne faut pas d'accents dans le chemin de sage : le mot Thèse avec un accent 
pose probleme, je crois...

ressaye d'installer dans un repertoire sans accent.

Fred

Le jeudi 19 juillet 2012 21:54:53 UTC+2, Martin a écrit :
I just wanted to test whether some experimental changes wouldn't break 
>anything and ran 
>
>sage -t devel/sage-combinat/sage/ combinat/ 
>
>I get quite a few failures, ugly errors, etc. 
>
>Which of these should I expect? 
>
>eg. 
>
>File "/groups/comb/rubey/sage-5.1/ devel/sage-combinat/sage/ 
>combinat/subsets_pairwise.py", line 95: 
>    sage: TestSuite(P).run() 
>Expected nothing 
>Got: 
>    Failure in _test_len: 
>    Traceback (most recent call last): 
>      File "/groups/comb/rubey/sage-5.1/ local/lib/python/site- 
>packages/sage/misc/sage_ unittest.py", line 279, in run 
>        test_method(tester = tester) 
>      File "/groups/comb/rubey/sage-5.1/ local/lib/python/site- 
>packages/sage/categories/ objects.py", line 95, in _test_len 
>        ln = len(self) 
>    TypeError: 'NoneType' object is not callable 
>    -- -- 
>    The following tests failed: _test_len 
>** ** ** 
>1 items had failures: 
>   1 of   8 in __main__.example_2 
>***Test Failed*** 1 failures. 
>
>and 3 (!!!) more  lines of output. 
>
>Martin 
>
-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/jhsSluFLBkMJ.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: doctest failures

2012-07-27 Thread Matthieu Deneufchatel
Merci de vote réponse. Maintenant que vous le soulignez, j'aurais dû penser à 
éviter les accents...

J'ai déplacé le dossier contenant sage : 

[matthieu@localhost Sage]$ mv sage-5.1/ ~
puis j'ai réessayé make et je crois que j'obtiens la même erreur...
Matthieu


[matthieu@localhost ~]$ cd sage-5.1/
[matthieu@localhost sage-5.1]$ make
cd spkg && \
"../spkg/pipestatus" \
    "env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \
    "tee -a ../install.log"
make[1] : on entre dans le répertoire « /home/matthieu/sage-5.1/spkg »
/home/matthieu/sage-5.1/spkg/pipestatus "sage-spkg ${SAGE_SPKG_OPTS} 
matplotlib-1.1.0 2>&1" "tee -a 
/home/matthieu/sage-5.1/spkg/logs/matplotlib-1.1.0.log"
make[1]: *** [installed/matplotlib-1.1.0] Erreur 1
make[1] : on quitte le répertoire « /home/matthieu/sage-5.1/spkg »
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
BROWSER=/usr/bin/www-browser
CANBERRA_DRIVER=pulse
COLORFGBG=15;0
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-q5NXAmObo5,guid=4418a60a1776b16ee1daee2f0027
DESKTOP_SESSION=default
DISPLAY=:0
DM_CONTROL=/var/run/xdmctl
GCONF_TMPDIR=/tmp
G_FILENAME_ENCODING=@locale
GS_LIB=/home/matthieu/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/matthieu/.gtkrc-2.0:/home/matthieu/.gtkrc-2.0-kde:/home/matthieu/.kde4/share/config/gtkrc-2.0
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:/home/matthieu/.gtkrc:/home/matthieu/.kde4/share/config/gtkrc
HISTCONTROL=ignoredups
HISTSIZE=1000
HOME=/home/matthieu
HOSTNAME=localhost.localdomain
INPUTRC=/etc/inputrc
KDE_COLOR_DEBUG=1
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=500
KDE_SESSION_VERSION=4
KONSOLE_DBUS_SERVICE=:1.63
KONSOLE_DBUS_SESSION=/Sessions/1
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR.UTF-8:fr
LC_ADDRESS=fr_FR.UTF-8
LC_COLLATE=fr_FR.UTF-8
LC_CTYPE=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_MESSAGES=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_SOURCED=1
LC_TELEPHONE=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LESSCHARSET=utf-8
LESSKEY=/etc/.less
LESS=-MM
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=matthieu
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.iso=01;31:*.jpg=01;35:*.jpeg=01;35:*.JPG=01;35:*.JPEG=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.ico=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01
;35:*.ogm=01;35:*.divx=01;35:*.xvid=01;35:*.3gp=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.gem=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:*.mp2=00;36:*.mod=00;36:*.xm=00;36:*.s3m=00;36:*.it=00;36:*.wma=00;36:*~=47;30:*.bak=47;30:*.swp=47;30:*.bck=47;30:*.bk=47;30:*.old=47;30:*.tmp=47;30:*.save=47;30:*.rpmsave=47;30:*.rpmnew=47;30:
MAIL=/var/spool/mail/matthieu
MAKEFLAGS=
MAKELEVEL=1
META_CLASS=download
MFLAGS=
MGA_MENU_STYLE=mageia
NLSPATH=/usr/share/locale/%l/%N
PATH=/home/matthieu/sage-5.1/spkg/bin:/home/matthieu/sage-5.1/local/bin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib64/qt4/bin:/home/matthieu/bin
PROFILEHOME=
PWD=/home/matthieu/sage-5.1/spkg
PYTHONDONTWRITEBYTECODE=1
PYTHONPATH=/home/matthieu/sage-5.1/local
PYTHONSTARTUP=/etc/pythonrc.py
QT4DOCDIR=/usr/share/doc/qt4
QTDIR=/usr/lib64/qt4
QTEST_COLORED=1
QT_PLUGIN_PATH=/home/matthieu/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/
SAGE_LOCAL=/home/matthieu/sage-5.1/local
SAGE_LOGS=/home/matthieu/sage-5.1/spkg/logs
SAGE_PARALLEL_SPKG_BUILD=
SAGE_ROOT=/home/matthieu/sage-5.1
SCREENDIR=/home/matthieu/tmp
SESSION_MANAGER=local/localhost.localdomain:@/tmp/.ICE-unix/2155,unix/localhost.localdomain:/tmp/.ICE-unix/2155
SHELL=/bin/bash
SHELL_SESSION_ID=f9811c081cfb400083565d69696a4862
SHLVL=5
SSH_ASKPASS=/usr/lib64/ssh/ssh-askpass
SYSTEMD_PAGER=/usr/bin/less -FR
TERM=xterm
TMPDIR=/tmp
TMP=/tmp
USER=matthieu
_=/usr/bin/env
WINDOWID=33554458
WINDOWPATH=1
XCURSOR_THEME=default
XDG_CONFIG_DIRS=/etc/xdg:/etc/

[sage-combinat-devel] Installation on Mageia 2

2012-07-27 Thread Matthieu Deneufchatel
Hello,
I tried to compile sage 5.1 on Mageia 2. It did not work. Below is the log file 
and the result of ../sage. Since it is the first time I compile a program, I do 
not know what to do and I do not want to make a mistake. Could anyone help me 
(or tell me if I send this email to a wrong google group) ?
Bests,
Matthieu Deneufchâtel

[matthieu@localhost sage-5.1]$ ./sage
--
| Sage Version 5.1, Release Date: 2012-07-09 |
| Type "notebook()" for the browser-based notebook interface.    |
| Type "help()" for help.    |
--
Traceback (most recent call last):
  File "/home/matthieu/Documents/Thèse/Sage/sage-5.1/local/bin/sage-ipython", 
line 18, in 
    import IPython
ImportError: No module named IPython
[matthieu@localhost sage-5.1]$




[matthieu@localhost sage-5.1]$ kwrite 
/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/logs/matplotlib-1.1.0.log
matplotlib-1.1.0

Extracting package 
/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/standard/matplotlib-1.1.0.spkg
-rw-r--r-- 1 matthieu matthieu 8607268 mai   14 14:36 
/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/standard/matplotlib-1.1.0.spkg
Finished extraction

Host system:
Linux localhost.localdomain 3.3.6-desktop-2.mga2 #1 SMP Thu May 17 16:25:59 UTC 
2012 x86_64 x86_64 x86_64 GNU/Linux

C compiler: gcc
C compiler version:
Utilisation des specs internes.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local/libexec/gcc/x86_64-unknown-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configuré avec: ../src/configure 
--prefix=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local 
--with-local-prefix=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local 
--with-gmp=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local 
--with-mpfr=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local 
--with-mpc=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local 
--with-system-zlib --disable-multilib  
Modèle de thread: posix
gcc version 4.6.3 (GCC) 

NOTE: Set SAGE_MATPLOTLIB_GUI to anything but 'no' to try to build the 
Matplotlib GUI.
Not building any matplotlib graphical backends.
patching file lib/matplotlib/__init__.py
patching file lib/matplotlib/finance.py
patching file lib/matplotlib/texmanager.py
patching file setupext.py
basedirlist is: ['/home/matthieu/Documents/Th\xc3\xa8se/Sage/sage-5.1/local']

BUILDING MATPLOTLIB
    matplotlib: 1.1.0
    python: 2.7.3 (default, Jul 27 2012, 14:33:32)  [GCC 4.6.3]
  platform: linux2

REQUIRED DEPENDENCIES
Traceback (most recent call last):
  File "setup.py", line 116, in 
    if not check_for_numpy():
  File 
"/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/build/matplotlib-1.1.0/src/setupext.py",
 line 534, in check_for_numpy
    import numpy
  File 
"/home/matthieu/Documents/Thèse/Sage/sage-5.1/local/lib/python2.7/site-packages/numpy/__init__.py",
 line 122, in 
    from numpy.__config__ import show as show_config
  File 
"/home/matthieu/Documents/Thèse/Sage/sage-5.1/local/lib/python2.7/site-packages/numpy/__config__.py",
 line 1
SyntaxError: Non-ASCII character '\xc3' in file 
/home/matthieu/Documents/Thèse/Sage/sage-5.1/local/lib/python2.7/site-packages/numpy/__config__.py
 on line 1, but no encoding declared; see 
http://www.python.org/peps/pep-0263.html for details
Error building matplotlib package.

real    0m0.228s
user    0m0.173s
sys    0m0.050s

Error installing package matplotlib-1.1.0

Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/logs/matplotlib-1.1.0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/build/matplotlib-1.1.0 and 
type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd 
'/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/build/matplotlib-1.1.0' && 
'/home/matthieu/Documents/Thèse/Sage/sage-5.1/sage' -sh)
When you are done debugging, you can type "exit" to leave the subshell.


-- 
You received this message because you are subscribed to the Google Groups 
"sage-combina

[sage-combinat-devel] Quasi shuffle product

2011-12-28 Thread Matthieu Deneufchatel
Hello,
I would like to work with the quasi shuffle product and I do not have the right 
structure at hand.

Is it possible to build a free algebra over an infinite alphabet ? Or an 
infinite ring of non commutative polynomials ? 
Best,

Matthieu Deneufchâtel

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re : [sage-combinat-devel] Installation problem

2011-12-04 Thread Matthieu Deneufchatel
I start sage with the command "sage". 


I tried 

[root@localhost /]# /usr/share/sage/sage -combinat install
but it does not work :

bash: /usr/share/sage/sage: est un dossier


Matthieu




 De : Nicolas M. Thiery 
À : sage-combinat-devel@googlegroups.com 
Envoyé le : Dimanche 4 Décembre 2011 14h53
Objet : Re: [sage-combinat-devel] Installation problem
 
On Sat, Dec 03, 2011 at 04:37:13AM -0800, Matthieu Deneufchâtel wrote:
> I don't know if I write to the right group. Please tell me if I am
> wrong.

That's definitely the right group!

> I use Sage 4.7. I tried to use the command sage -combinat install in
> the sage root directory and got the following error message:
> 
> [root@localhost sage]# sage -combinat install
> /bin/sh: /usr/share/sage/sage: No such file or directory
> Error: Cannot determine Sage version number from

You should use the same `sage` command as when starting `sage`. That
is typically:

    ./sage -combinat install

if you are in the root directory of Sage (mind the ./).

For me, the full path would be:

    /opt/sage/sage -combinat install

Cheers,
                Nicolas
--
Nicolas M. Thiéry "Isil" 
http://Nicolas.Thiery.name/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.