[sage-support] problems with mpir in upgrading to Sage 5.9

2013-05-04 Thread pong
Sage complains with when building the package mpir-2.6.0.p2. I broswed 
through the logs and it looks like complains about the complier which the 
one my sage using is gcc-4.6.3 (I think). 

I think it might be a similar to the one that I had in upgrading to sage 
5.7: 
http://trac.sagemath.org/sage_trac/ticket/14201 

So I tried sage -f gcc-4.7.2.p1.spkg. 

Resulted also in an error:
checking for gcc... gcc
checking for C compiler default output file name... 
configure: error: in 
`/home/pong/sage-current/spkg/build/gcc-4.7.2.p1/gcc-build':
configure: error: C compiler cannot create executables
See `config.log' for more details.

Looks like I can't fix this again, so hopefully someone can help me out 
here.
I attached the two log files. 

Thanks in advance

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




gcc-4.7.2.p1.log
Description: Binary data


mpir-2.6.0.p2.log
Description: Binary data


[sage-support] Conversion of DifferentialForm to a Symbolic form

2013-05-04 Thread nonlinear
Sage 5.4.1 running under Oracle VM on Windows 8.
Hi, I got the following code that does total differentiation off a Sage blog:
x, y, z = var('x, y, z')
U = CoordinatePatch((x, y, z))
F = DifferentialForms(U)
f = F(x^2 + y + sin(z)); f
g = f.diff(); g 
cos(z)*dz + 2*x*dx + dy

How do I convert g to a symbolic form where dx, dy, and dz are also symbolic 
variables? I need to assign values to all variables via a for loop.  Also, is 
it possible for g to be a 3x3 symbolic matrix?  Thanks much, mahlon

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-support] Re: problem with gurobi backend in Sage 5.9 under Mac OS X 10.6.8

2013-05-04 Thread Nathann Cohen
Gloops ! You are right !

Gurobi is built if the two files exist, and the first of those is : 
SAGE_INC + "gurobi_c.h"
Looks like the value of SAGE_INC changed and does not end with a '/' 
anymore.

A patch fixes that. Very short patch, by the way :-)

http://trac.sagemath.org/sage_trac/ticket/14531

In the meantime, you can either apply the patch or. Create a symbolic 
link toward gurobi_c.h whose name is not "include/gurobi_c.h" but 
"includegurobi_c.h". Should work too :-D

Nathann 

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-support] Re: problem with gurobi backend in Sage 5.9 under Mac OS X 10.6.8

2013-05-04 Thread Daniel Friedan
Installing gurobi works fine in Sage-5.8 also.  So the problem first 
appeared in Sage-5.9.

On Saturday, May 4, 2013 12:10:42 AM UTC-4, Daniel Friedan wrote:
>
> The gurobi backend does not seem to get built in Sage-5.9 under Mac OS X 
> 10.6.8.  I'm running sage-5.9-OSX-64bit-10.6-x86_64-Darwin-app.  I have 
> gurobi461 (the last version for OS 10.6.8).  It works in Sage-5.7 (after 
> the installation method described below).
>
> I copied from Sage-5.7 to Sage-5.9 the links 
> Contents/Resources/sage/local/{lib/libgurobi.so,include/gurobi_c.h}.  Then, 
> in Contents/Resources/sage/, I ran './sage -b'.  The output contained no 
> mention of gurobi.
>
> When I run Sage-5.9 and attempt to use solver="Gurobi" I get "ImportError: 
> No module named gurobi_backend."  (The corresponding installation of CPLEX 
> works fine in Sage-5.9.)
>
> Daniel Friedan
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [sage-support] Re: Problem with sagetex with a large file (many sage calculations)

2013-05-04 Thread Dan Drake
On Fri, 03 May 2013 at 01:34PM -0700, Volker Braun wrote:
> Can you open a trac ticket with a minimal testcase? I realize that 
> "minimal" means pretty lengthy for your problem, but without any way to 
> reproduce it this is not going to get fixed.

Yes, please open a ticket with a testcase. I'd like to see what is
happening. 

Dan

--
---  Dan Drake
-  http://math.pugetsound.edu/~ddrake
---


signature.asc
Description: Digital signature