[sage-devel] sage -br rebuilds things that were not changed

2016-09-08 Thread Marco Cognetta
Hello, I have been writing some code for sage and have encountered the following problem. When running ./sage -br, it goes through a long cythonizing step every time, even on files that have not been changed. I have played around with it a little and if I run ./sage -br, wait for it to finish (

[sage-devel] Re: What is "do_system"?

2016-09-08 Thread Simon King
Hi Leif, On 2016-09-09, leif wrote: > No, it's presumably really (in) the C library function system() [1], in > Python os.system(). (I doubt you abuse it to write to or read from files.) *I* don't. But it seems that the third party code I'm using does. There, I see the lines sprintf(buffer

[sage-devel] Re: What is "do_system"?

2016-09-08 Thread leif
leif wrote: > Simon King wrote: >> Hi Nils, hi Leif, >> >> On 2016-09-08, leif wrote: Googling suggests that this might be a part of glibc: https://github.com/lattera/glibc/blob/master/sysdeps/posix/system.c#L52 >> >> Aha! Since I expected it to be related with (c)python, I duckduck

[sage-devel] Re: What is "do_system"?

2016-09-08 Thread leif
Simon King wrote: > Hi Nils, hi Leif, > > On 2016-09-08, leif wrote: >>> Googling suggests that this might be a part of glibc: >>> >>> https://github.com/lattera/glibc/blob/master/sysdeps/posix/system.c#L52 > > Aha! Since I expected it to be related with (c)python, I duckduckwent > for "python d

[sage-devel] Re: What is "do_system"?

2016-09-08 Thread Simon King
Hi Nils, hi Leif, On 2016-09-08, leif wrote: >> Googling suggests that this might be a part of glibc: >> >> https://github.com/lattera/glibc/blob/master/sysdeps/posix/system.c#L52 Aha! Since I expected it to be related with (c)python, I duckduckwent for "python do_system", but to no avail. Than

[sage-devel] Re: What is "do_system"?

2016-09-08 Thread leif
Nils Bruin wrote: > On Thursday, September 8, 2016 at 12:52:47 PM UTC-7, Simon King wrote: > > Hi! > > Trying to profile some code with %crun, I get lots of hits in the > function do_system. However, a function of that name does not appear in > the code. So, what does do_system do

[sage-devel] 404 in Sage Installation Guide

2016-09-08 Thread leif
The link to README.txt ("Be sure to read the file ..." [!]) http://www.sagemath.org/mirror/win/README.txt referenced in http://doc.sagemath.org/html/en/installation/binary.html#microsoft-windows gives a 404, for whatever reason. Besides that, the Sage wiki page [1] linked to from http://w

[sage-devel] Re: What is "do_system"?

2016-09-08 Thread Nils Bruin
On Thursday, September 8, 2016 at 12:52:47 PM UTC-7, Simon King wrote: > > Hi! > > Trying to profile some code with %crun, I get lots of hits in the > function do_system. However, a function of that name does not appear in > the code. So, what does do_system do, where is it from, and what is >

[sage-devel] Re: segmentation fault in sage 7.3

2016-09-08 Thread Stan
I have both, one locally compiled version, which I upgraded from 7.x, and one freshly installed binary. Same problem on both. Seems that save_session() and load_session() causes all sorts of problems, especially when using jupyter. On Thursday, September 8, 2016 at 11:45:32 PM UTC+2, leif wrote

[sage-devel] Re: segmentation fault in sage 7.3

2016-09-08 Thread leif
Stan wrote: > Dear all, > > I am on debian jessy 64bit and after installing sage 7.3 Does that mean you took a pre-built binary, or did you build from source? -leif > I keep getting > segfault for the same worksheets that run smoothly in sage 6.8. I have > now managed to isolate a small exampl

[sage-devel] What is "do_system"?

2016-09-08 Thread Simon King
Hi! Trying to profile some code with %crun, I get lots of hits in the function do_system. However, a function of that name does not appear in the code. So, what does do_system do, where is it from, and what is calling it? Best regards, Simon -- You received this message because you are subscrib

Re: [sage-devel] segmentation fault in sage 7.3

2016-09-08 Thread Stan
I'm sorry, I forgot to mention this step: load_session('leaf_chamber_eqs_PM.sobj') (as opposed to a = load('leaf_chamber_eqs_PM.sobj') My apologies! Cheers Stan On Thursday, September 8, 2016 at 3:53:57 PM UTC+2, vdelecroix wrote: > > The download link is > > > https://cloud.sagemath.com/34b4b6

Re: [sage-devel] segmentation fault in sage 7.3

2016-09-08 Thread Stan
By the way, the problem persists no matter whether the .sobj file was created using sage 6.8 or 7.3. On Thursday, September 8, 2016 at 4:35:13 PM UTC+2, Stan wrote: > > Thanks for correcting the link. The .sobj file was generated by > save_session(), and contains several dictionaries, variable

[sage-devel] Re: ReST References in Sphinx and uniqueness

2016-09-08 Thread leif
John H Palmieri wrote: > It also takes less time if you don't include plots: maybe 5 minutes for > me instead of 8. But sooner or later we'll have to split combinat I think, as you mentioned, since with N threads you're just waiting faster (or rather "in parallel") for the last part to finish, sim

[sage-devel] Request reviewers for #20745: simplicial sets

2016-09-08 Thread John H Palmieri
Hello all, In the spring and summer, I worked on implementing simplicial sets in Sage. The ticket is now ready for review, and I would welcome reviewers. Please take a look: https://trac.sagemath.org/ticket/20745. Cheers, John -- You received this message because you are subscribed to the

[sage-devel] Re: Poisson algebra module

2016-09-08 Thread 'Peter Banks' via sage-devel
On Monday, September 5, 2016 at 3:30:53 PM UTC+1, Travis Scrimshaw wrote: > >>- The class KontsevichGraph is a subclass of DiGraph; however, it >>would only ever be used in calculating the Star product of a Poisson >>bracket. Should it live in the new poisson module or in the graph

Re: [sage-devel] Re: ReST References in Sphinx and uniqueness

2016-09-08 Thread John H Palmieri
On Monday, September 5, 2016 at 5:56:48 PM UTC-7, Andrew wrote: > > In any large document, such as the sage manuals, there are bound to be > uniqueness issues with the choice of labels for references. The best way to > resolve this is for us to start using a specified format for the > referenc

Re: [sage-devel] Re: ReST References in Sphinx and uniqueness

2016-09-08 Thread John H Palmieri
It also takes less time if you don't include plots: maybe 5 minutes for me instead of 8. On Monday, September 5, 2016 at 10:59:19 PM UTC-7, Johan S. R. Nielsen wrote: > > > Regarding speed, there are two issues: > > > > 1. Building the documentation from scratch. I don't know if we can > exp

[sage-devel] Re: Weekend workshop BIRS: SageMath development related to K3 surfaces (March 2016)

2016-09-08 Thread Frédéric Chapoton
Maybe the authors/users of the Chow package for sage would be interested ? Probably not Sorger, who is busy being currently head of mathematics in CNRS. http://www.math.sciences.univ-nantes.fr/~sorger/chow_en.html Frederic Le jeudi 8 septembre 2016 16:00:37 UTC+2, Simon Brandhorst a écrit : >

Re: [sage-devel] segmentation fault in sage 7.3

2016-09-08 Thread Stan
Thanks for correcting the link. The .sobj file was generated by save_session(), and contains several dictionaries, variable definitions etc. I did actually recreate it in sage 7.3 as I thought it might have been a compatibility issue with sage 6.8, so if it is corrupt, there is some problem tha

[sage-devel] Weekend workshop BIRS: SageMath development related to K3 surfaces (March 2016)

2016-09-08 Thread Simon Brandhorst
Ursula Whitcher and I are planning to apply to hold a weekend workshop at BIRS next March. The idea is to do SageMath development related to K3 surfaces and irreducible holomorphic symplectic manifolds (IHSMs/Hyperkähler). Their geometry is accessible through their second integral cohomology gro

Re: [sage-devel] segmentation fault in sage 7.3

2016-09-08 Thread Vincent Delecroix
The download link is https://cloud.sagemath.com/34b4b62a-2621-47c8-9bda-cde3a855f995/raw/leaf_chamber_eqs_PM.sobj (the link by the OP is a HTML page that displays the content of the file) There seems to be a problem with the content of your leaf_chamber_eqs_PM.sobj file. Namely the dictionary

[sage-devel] segmentation fault in sage 7.3

2016-09-08 Thread Stan
Dear all, I am on debian jessy 64bit and after installing sage 7.3 I keep getting segfault for the same worksheets that run smoothly in sage 6.8. I have now managed to isolate a small example, which I uploaded to cloud.sagemath, where it does not give a segfault message, but just runs forever.

Re: [sage-devel] Add psutil as standard package

2016-09-08 Thread William Stein
On Thursday, September 8, 2016, Jeroen Demeyer wrote: > On 2016-09-07 17:08, William Stein wrote: > >> like running top and parsing the output... >> > > Yes, there was a big "WTF?" moment when I saw that :-) Imagine it is early 2006, that there are only two users of sage, and you don't know if

[sage-devel] Re: Upgrade to Singular 4.x

2016-09-08 Thread leif
Grayson Jorgenson wrote: > Hi, > > I also think the new answer is likely still correct. The output in the > example is truncated to save space: > C.resolution_of_singularities(extend=True) returns a tuple with the > other elements giving maps between the patches and back to the original > curve. I

[sage-devel] Re: Add psutil as standard package

2016-09-08 Thread leif
Jeroen Demeyer wrote: > On 2016-09-07 15:09, leif wrote: >>[x] Use it in other places as well >>(related to multiprocessing, such as >> doctesting, docbuilding, building the >> Sage library -- in the long run) > > It's not a multiprocessing package. It's

Re: [sage-devel] Add psutil as standard package

2016-09-08 Thread Jeroen Demeyer
On 2016-09-07 17:08, William Stein wrote: like running top and parsing the output... Yes, there was a big "WTF?" moment when I saw that :-) -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails

Re: [sage-devel] Re: Add psutil as standard package

2016-09-08 Thread Jeroen Demeyer
On 2016-09-07 15:09, leif wrote: [x] Use it in other places as well (related to multiprocessing, such as doctesting, docbuilding, building the Sage library -- in the long run) It's not a multiprocessing package. It's more a replacement for typical Unix