[sage-support] Re: How can one recompile a standard package (without rebuilding the whole thing) ?

2015-10-28 Thread John H Palmieri


On Wednesday, October 28, 2015 at 11:48:13 AM UTC-7, Emmanuel Charpentier 
wrote:
>
> Mirabile dictu, it worked ! But it's a strange thing : AFAIK, ./configure 
> is used to adapt a source to the specifics of a platform. This (usually) 
> does not change between recompilations.
>

> Except that Sagemath source carries a lot of its own buildig platform (e. 
> g. gcc...). Is that the explanation ?
>
 
I believe that the configure script detects the version of each Sage 
package it needs to install, so if you want to update a package, you need 
to run ./configure so that it knows to build the new one instead of the old 
one.

  John

 

>
> Thanks, John !
>
> Le mercredi 28 octobre 2015 18:32:06 UTC+1, John H Palmieri a écrit :
>>
>>
>>
>> On Wednesday, October 28, 2015 at 10:19:51 AM UTC-7, Emmanuel Charpentier 
>> wrote:
>>>
>>> Case in point : Trac#19469 . 
>>> This ticket will solve an annoying quirk un the Ipython notebook.
>>>
>>> I tested it successfully on one installation, by recompiling the whole 
>>> hog ( make distclean && make ).
>>>
>>> I have another installation, now up to 6.10beta1. I did successfully :
>>> git trac checkout 
>>> make (rebuilds the documentation, by the way...)
>>>
>>
>> Try 
>>
>> ./configure
>> make
>>
>> (although there is an open ticket which would make ./configure 
>> unnecessary).
>>
>>   John
>>
>>
>>> The resulting Sage still has the "old" behaviour.
>>>
>>> I also tried ./sage -b in $SAGE_ROOT. Same result.
>>>
>>> Is there a way to force the recompilation-reinstallation of the Ipythobn 
>>> notebook ? I know that neither ./sage -i notebook or ./sage -f notebook 
>>> work : these calls fail with complaining that they cannot find the source 
>>> tarball... Further attempts to use this installation fail with the same 
>>> error (sage has somehow registered that the Ipytho notebook is missing and 
>>> tries to install it, unsuccessfully...).
>>>
>>> What am I missing ?
>>>
>>>

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


Re: [sage-support] Re: How can one recompile a standard package (without rebuilding the whole thing) ?

2015-10-28 Thread Emmanuel Charpentier
Thanks, Jeroen ! I'll have a look at this : I still have yet another 
machine to upgrade to #19469 : I'll try to install #19443 first, and use 
this to update #19469 as a test.

HTH,

--
Emmanuel Charpentier

Le mercredi 28 octobre 2015 19:41:33 UTC+1, Jeroen Demeyer a écrit :
>
> On 2015-10-28 18:32, John H Palmieri wrote: 
> > (although there is an open ticket which would make ./configure 
> unnecessary). 
> That's #19443, which needs review. 
>

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


[sage-support] Re: How can one recompile a standard package (without rebuilding the whole thing) ?

2015-10-28 Thread Emmanuel Charpentier
Mirabile dictu, it worked ! But it's a strange thing : AFAIK, ./configure 
is used to adapt a source to the specifics of a platform. This (usually) 
does not change between recompilations.

Except that Sagemath source carries a lot of its own buildig platform (e. 
g. gcc...). Is that the explanation ?

Thanks, John !

Le mercredi 28 octobre 2015 18:32:06 UTC+1, John H Palmieri a écrit :
>
>
>
> On Wednesday, October 28, 2015 at 10:19:51 AM UTC-7, Emmanuel Charpentier 
> wrote:
>>
>> Case in point : Trac#19469 . This 
>> ticket will solve an annoying quirk un the Ipython notebook.
>>
>> I tested it successfully on one installation, by recompiling the whole 
>> hog ( make distclean && make ).
>>
>> I have another installation, now up to 6.10beta1. I did successfully :
>> git trac checkout 
>> make (rebuilds the documentation, by the way...)
>>
>
> Try 
>
> ./configure
> make
>
> (although there is an open ticket which would make ./configure 
> unnecessary).
>
>   John
>
>
>> The resulting Sage still has the "old" behaviour.
>>
>> I also tried ./sage -b in $SAGE_ROOT. Same result.
>>
>> Is there a way to force the recompilation-reinstallation of the Ipythobn 
>> notebook ? I know that neither ./sage -i notebook or ./sage -f notebook 
>> work : these calls fail with complaining that they cannot find the source 
>> tarball... Further attempts to use this installation fail with the same 
>> error (sage has somehow registered that the Ipytho notebook is missing and 
>> tries to install it, unsuccessfully...).
>>
>> What am I missing ?
>>
>>

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


Re: [sage-support] Re: How can one recompile a standard package (without rebuilding the whole thing) ?

2015-10-28 Thread Jeroen Demeyer

On 2015-10-28 18:32, John H Palmieri wrote:

(although there is an open ticket which would make ./configure unnecessary).

That's #19443, which needs review.

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


[sage-support] Re: How can one recompile a standard package (without rebuilding the whole thing) ?

2015-10-28 Thread John H Palmieri


On Wednesday, October 28, 2015 at 10:19:51 AM UTC-7, Emmanuel Charpentier 
wrote:
>
> Case in point : Trac#19469 . This 
> ticket will solve an annoying quirk un the Ipython notebook.
>
> I tested it successfully on one installation, by recompiling the whole hog 
> ( make distclean && make ).
>
> I have another installation, now up to 6.10beta1. I did successfully :
> git trac checkout 
> make (rebuilds the documentation, by the way...)
>

Try 

./configure
make

(although there is an open ticket which would make ./configure unnecessary).

  John


> The resulting Sage still has the "old" behaviour.
>
> I also tried ./sage -b in $SAGE_ROOT. Same result.
>
> Is there a way to force the recompilation-reinstallation of the Ipythobn 
> notebook ? I know that neither ./sage -i notebook or ./sage -f notebook 
> work : these calls fail with complaining that they cannot find the source 
> tarball... Further attempts to use this installation fail with the same 
> error (sage has somehow registered that the Ipytho notebook is missing and 
> tries to install it, unsuccessfully...).
>
> What am I missing ?
>
>

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


[sage-support] How can one recompile a standard package (without rebuilding the whole thing) ?

2015-10-28 Thread Emmanuel Charpentier
Case in point : Trac#19469 . This 
ticket will solve an annoying quirk un the Ipython notebook.

I tested it successfully on one installation, by recompiling the whole hog 
( make distclean && make ).

I have another installation, now up to 6.10beta1. I did successfully :
git trac checkout 
make (rebuilds the documentation, by the way...)

The resulting Sage still has the "old" behaviour.

I also tried ./sage -b in $SAGE_ROOT. Same result.

Is there a way to force the recompilation-reinstallation of the Ipythobn 
notebook ? I know that neither ./sage -i notebook or ./sage -f notebook 
work : these calls fail with complaining that they cannot find the source 
tarball... Further attempts to use this installation fail with the same 
error (sage has somehow registered that the Ipytho notebook is missing and 
tries to install it, unsuccessfully...).

What am I missing ?

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


[sage-support] tikz

2015-10-28 Thread HG
Hi,

\sagestr{(polytopes.permutahedron(4)).projection().tikz([4,5,6],45,scale=0.75, 
facet_color='red',vertex_color='yellow',opacity=0.3)}
\newcommand{\polytopeimg}[4]{\sagestr{(#1).projection().tikz(#2,#3,#4)}}
\newcommand{\polytopeimgopt}[9]{\sagestr{(#1).projection().tikz(#2,#3,#4,#5,#6,#7,#8,#9)}}
Polytope = polytopes.great_rhombicuboctahedron()
plot(Polytope)

It works fine in sage -n, I want to try RLC circuitikz but I have found 
nothing about doing it in sage notebook. It works with  ipython python2 but 
as it is latex it should work like polytope.
Anybody has tried it ?

Best regards
Henri

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


Re: [sage-support] Re: When will Sage be available for OS X 10.11 El Capitan?

2015-10-28 Thread Szabolcs Horvát
Thanks!  I wasn't aware of the beta builds.  I'm downloading it now
(going to take a while).

On 28 October 2015 at 13:28, Volker Braun  wrote:
> The 6.10.beta1 binary should work, feel free to test and report back:
>
> http://files.sagemath.org/osx/intel/index.html
>
>
>
> On Wednesday, October 28, 2015 at 12:34:06 PM UTC+1, Szabolcs Horvát wrote:
>>
>> Dear All,
>>
>> When will Sage be available for OS X 10.11 El Capitan?
>>
>> I see that ticket 19370 has been closed for nearly two weeks now, but
>> there is not download for 10.11.  I do not want to disable SIP, nor do I
>> want to build Sage from source.
>>
>> I would like to know if we can expect a 10.11-compatible build soon or if
>> we need to wait until the 6.10 release (which I guess is quite some time
>> away).
>>
>> Szabolcs
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/R-62P4ex5EA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

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


[sage-support] Re: When will Sage be available for OS X 10.11 El Capitan?

2015-10-28 Thread Volker Braun
The 6.10.beta1 binary should work, feel free to test and report back:

http://files.sagemath.org/osx/intel/index.html



On Wednesday, October 28, 2015 at 12:34:06 PM UTC+1, Szabolcs Horvát wrote:
>
> Dear All,
>
> When will Sage be available for OS X 10.11 El Capitan?
>
> I see that ticket 19370 has been closed for nearly two weeks now, but 
> there is not download for 10.11.  I do not want to disable SIP, nor do I 
> want to build Sage from source.
>
> I would like to know if we can expect a 10.11-compatible build soon or if 
> we need to wait until the 6.10 release (which I guess is quite some time 
> away).
>
> Szabolcs
>

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


[sage-support] When will Sage be available for OS X 10.11 El Capitan?

2015-10-28 Thread Szabolcs Horvát
Dear All,

When will Sage be available for OS X 10.11 El Capitan?

I see that ticket 19370 has been closed for nearly two weeks now, but there 
is not download for 10.11.  I do not want to disable SIP, nor do I want to 
build Sage from source.

I would like to know if we can expect a 10.11-compatible build soon or if 
we need to wait until the 6.10 release (which I guess is quite some time 
away).

Szabolcs

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


Re: [sage-support] sudden amnesia in sage worksheet

2015-10-28 Thread Jeroen Demeyer

On 2015-10-28 09:18, Stan Schymanski wrote:

Dear all,

I ran a series of computations in a sage workheet using the "Evaluate
all" button, which takes a whole night. When I checked this morning, I
realised that while running a particular cell towards the end, the
computation was aborted half way through without an error message and
all subsequent cells just returned:
NameError: name 'fun_Ta_gsv_arrays' is not defined


I think most likely the underlying Sage process just crashed. 
Unfortunately, the Sage notebook gives absolutely no feedback about this.


Jeroen.

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


[sage-support] Re: sudden amnesia in sage worksheet

2015-10-28 Thread Stan Schymanski
Update: After restarting the worksheet, memory usage goes down to 972.36, 
so there seem to have been some data in memory but just not accessible. 
However, I am not sure if get_memory_usage() gives the memory usage of the 
worksheet or the whole notebook and I did things in other worksheets before 
restarting.

On Wednesday, October 28, 2015 at 9:18:42 AM UTC+1, Stan Schymanski wrote:
>
> Dear all,
>
> I ran a series of computations in a sage workheet using the "Evaluate all" 
> button, which takes a whole night. When I checked this morning, I realised 
> that while running a particular cell towards the end, the computation was 
> aborted half way through without an error message and all subsequent cells 
> just returned:
> NameError: name 'fun_Ta_gsv_arrays' is not defined
>
> When checking, I found out that all my objects defined in this worksheet 
> had disappeared from memory. Since there was no error message, I am tapping 
> in the dark. Any ideas? I'm suspecting some memory issues, but not sure how 
> to check that. get_memory_usage() after the amnesia returns 1076.37, but I 
> have no idea if this is an indication that my arrays are still stored 
> somewhere and only the pointers are gone or if all is gone. 
>
> Thanks for your help already!
>
>
>
>

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


[sage-support] sudden amnesia in sage worksheet

2015-10-28 Thread Stan Schymanski
Dear all,

I ran a series of computations in a sage workheet using the "Evaluate all" 
button, which takes a whole night. When I checked this morning, I realised 
that while running a particular cell towards the end, the computation was 
aborted half way through without an error message and all subsequent cells 
just returned:
NameError: name 'fun_Ta_gsv_arrays' is not defined

When checking, I found out that all my objects defined in this worksheet 
had disappeared from memory. Since there was no error message, I am tapping 
in the dark. Any ideas? I'm suspecting some memory issues, but not sure how 
to check that. get_memory_usage() after the amnesia returns 1076.37, but I 
have no idea if this is an indication that my arrays are still stored 
somewhere and only the pointers are gone or if all is gone. 

Thanks for your help already!



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