[sage-devel] Running sage on ubuntu server VM under W8

2012-11-22 Thread MartinX
I am experimenting with a VM under W8 Hyper-V under ubuntu 12.10 server. The aim is to have the vm automatically launch and run sage notebook so I just connect via the browser as needed whenever in w8. I have installed Sage-5.4 with openssl.py. ptestlong has succeeded so I am content I have

[sage-devel] erf - numerical calculation tracs

2012-08-10 Thread MartinX
I am slightly puzzled. Trac #1173, #13050 and #13003 all aim to improve numerical calculation of erf() and are still open. In the meantime, at least as far as 5.2 is concerned, it appears that erf() has been updated too be consistent with the template developed in #11143 and now uses mpmath a

[sage-devel] Re: Integrate v Derivative Implementation for Symbolics

2012-07-27 Thread MartinX
Yes, I have simply tweaked log_integral, to get Li and it is the linear term that is my headache. I can't see Li in any of the integrators, but I can get a valid integration if I return Li as li(x)-li(2) in _eval(). But to me that seems untidy. It would be nice if _eval returned Li(x) but pas

[sage-devel] Integrate v Derivative Implementation for Symbolics

2012-07-27 Thread MartinX
I have had a go at implementing trac #3401, symbolic Li, and would like to override the behaviour of integrate(), but I can't see how to do it. We have the _derivative_ method in BuiltinFunction to define the derivative of a function but no equivalent _integrate_ method. Is there reason why

Re: [sage-devel] Re: Code duplication and aliases in methods

2012-07-11 Thread MartinX
If the intent is to control the namespace and break up into a number of small files but retain tab auto completion and view docs then perhaps this is strategy to consider: http://www.artima.com/weblogs/viewpost.jsp?thread=254507 -- -- To post to this group, send an email to sage-devel@googleg

Re: [sage-devel] Code duplication and aliases in methods

2012-06-21 Thread MartinX
And if you apply the solution in the cython module itself, the methods will only be bound to the class if the module is imported into your session. For example extending with file myfunctions.pyx : from sage.graphs.graph import Graph as g import types def testme(g): return g g.testme=ty

[sage-devel] Re: Ubuntu 11.10 testers needed

2012-01-14 Thread MartinX
Successful build with the sage atlas.spkg using 'fast' default arch, but if I build with environment set to use my own atlas ( also 3.8.4) matplotlib won't build; it thinks numpy is not installed. Not sure if this is specific to 4.8 as I have only just got my atlas up and running. All but, three te

[sage-devel] Re: Problem install graphviz because of duplicate entry in libpng12.pc

2011-08-24 Thread MartinX
4.7.1 On Aug 22, 1:07 pm, Jeroen Demeyer wrote: > On 2011-08-22 00:38, MartinX wrote: > > With which version of Sage is this? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroup

[sage-devel] Problem install graphviz because of duplicate entry in libpng12.pc

2011-08-21 Thread MartinX
Graphviz would not install as pkg-config was not reading the pangocairo.pc in the grphviz configure file in the sage environment so it was not setting the includes correctly. Cause is a duplication of SAGE_ROOT definition in sage's local libpng12.pc. This problem with the libpng.pc file also fea

[sage-devel] Building graphviz on ubuntu-11.04

2011-07-21 Thread MartinX
I have managed to get graphviz to build on ubuntu. It appears that the sage environment confuses configure and it can't find a number of header files. Adding the following options to configure in the spkg- install file resolves the problem for me: PANGOCAIRO_CFLAGS="-pthread -I/usr/include/pang

[sage-devel] Re: Try not to cripple performance for everyone

2010-06-17 Thread MartinX
On Jun 13, 2:25 pm, "Dr. David Kirkby" wrote: > > 1) Make is unset on all platforms. Would it not be wiser to find out where > problems exist, and do things like this for only one platform, or one > distribution? > I have tried a parallel build of Atlas without success (using GCC4.2.2). But the

[sage-devel] Re: Sage 4.4.2 sources - Atlas failed to build

2010-06-01 Thread MartinX
On May 31, 4:45 pm, "Dr. David Kirkby" wrote: > On 05/31/10 04:26 PM, MartinX wrote: > > > > >> You could try making a package using the latest (unstable) ATLAS snapshot. > >> The > >> ChangeLog shows many new processors added since the re

[sage-devel] Re: Sage 4.4.2 sources - Atlas failed to build

2010-05-31 Thread MartinX
> > You could try making a package using the latest (unstable) ATLAS snapshot. The > ChangeLog shows many new processors added since the release in Sage. > Successful build using ATLAS 2.9.24 directly on LAPACK 3.2.1 tar file today - no failures running checks and timing stages which is encouragin

[sage-devel] Re: Sage 4.4.2 sources - Atlas failed to build

2010-05-30 Thread MartinX
On May 30, 10:20 pm, "Dr. David Kirkby" wrote: > > It looks to me like ATLAS does not know about your CPU, so is running it's > tuning routine, then somehow manages to screw up when it creates the file with > tuning parameters. I've no idea why that might be. > > Ideally what you would want to

[sage-devel] Sage 4.4.2 sources - Atlas failed to build

2010-05-30 Thread MartinX
I am trying to build Sage from source in Puppy 4.3.1 Linux but atlas will not build. I have successfully built 4.3.4 and 4.2.1 in the past. The only significant change is the hardware. I now have a Intel 750i on a Asus p7p55d motherboard and 4Gig DDR3 ram instead of a Intel Dual Core. Now well