setting CPP)?
Cheers,
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
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
version of it)
included in the PPA distro?
-leif
Before this I get:
Removing
/usr/lib/sagemath/local/lib/python2.7/site-packages/SciTools_-1.0-py2.7.egg-info
Writing
/usr/lib/sagemath/local/lib/python2.7/site-packages/SciTools_-1.0-py2.7.egg-info
cp: impossible de créer le fichier standard
... ;-) )
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
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
,
6.00]
Especially try preparse() of both; the latter returns a generator, while
the former returns a list.
I'm not sure what suddenly was meant to say; did the behaviour differ
in previous versions of Sage? (It doesn't in Sage 5.8, nor 5.2, say.)
-leif
--
() The ASCII Ribbon Campaign
leif wrote:
arojas wrote:
El miércoles, 12 de junio de 2013 23:01:52 UTC+2, leif escribió:
What does, in a Sage subshell ('./sage --sh'), the following give?
$ echo '#include gmp.h' gen_cf_gmp.cc
$ $CXX -I$SAGE_LOCAL/include -M gen_cf_gmp.cc | grep gmp.h
/opt/sage/local
if it didn't have
bits/c++config.h at all.
Before you make further attempts, could you save the offending cf_gmp.h
(and the corresponding config.log, from
spkg/build/singular-*/src/factory/ I think)?
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received this message
(formerly in $SAGE_ROOT/spkg/logs/).
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
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
leif wrote:
chexmix wrote:
In file included from ../kernel/si_gmp.h:4:0,
from ../kernel/structs.h:15,
from weight0.c:13:
../factory/cf_gmp.h:2501:28: fatal error: bits/c++config.h: No such file
or directory
#include bits/c++config.h
leif wrote:
What does, in a Sage subshell ('./sage --sh'), the following give:
$ echo '#include gmp.h' gen_cf_gmp.cc
$ $CXX -M gen_cf_gmp.cc | grep gmp.h
Oh, forgot: And what does in contrast
$ $CXX -I$SAGE_LOCAL/include -M gen_cf_gmp.cc | grep gmp.h
give?
-leif
(Do that in some
gmp.h
Thanks,
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
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
Stephen Montgomery-Smith wrote:
On 06/12/2013 11:04 AM, leif wrote:
chexmix wrote:
I ran a script session to capture the build output.
P.S.:
You don't have to do that.
There's $SAGE_ROOT/logs/install.log (cumulative, usually mostly
unreadable when 'make' is run with multiple jobs
arojas wrote:
El miércoles, 12 de junio de 2013 23:01:52 UTC+2, leif escribió:
What does, in a Sage subshell ('./sage --sh'), the following give?
$ echo '#include gmp.h' gen_cf_gmp.cc
$ $CXX -I$SAGE_LOCAL/include -M gen_cf_gmp.cc | grep gmp.h
/opt/sage/local/include/gmp.h /usr
.)
Tedious, of course...
A /bit/ more automated:
sage: var(','.join([str(v) for v in a[0].variables()]))
or rather
sage: var(','.join([str(v) for v in a[0].rhs().variables()]))
To replace all occurrences, you can then e.g. also do
sage: [ eqn.subs(z38=3) for eqn in a ]
-leif
--
() The ASCII
leif wrote:
robin hankin wrote:
hello, sage 5.9
If solve() gives an unspecificed integer, how do I substitute a
particular value into the expression?
subs() does not work as expected/desired because the free variables
don't seem to be defined.
sage: a=solve(sin(x)==0,x,to_poly_solve='force
kcrisman wrote:
On Wednesday, June 12, 2013 8:09:02 PM UTC-4, leif wrote:
robin hankin wrote:
hello, sage 5.9
If solve() gives an unspecificed integer, how do I substitute a
particular value into the expression?
subs() does not work as expected/desired
]:
...
is identical to
for M in [1..N]:
...
since (e.g.) [1..0] yields the empty list.
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To unsubscribe from this group and stop receiving
of them.
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
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
leif wrote:
Emil wrote:
I'd like to know if it's possible to get the filename of a script that's
been run using the load or attach command at the sage: prompt.
If I insert a print __name__ in the script I just get __main__.
I know __name__ isn't the right thing, since I'm not dealing
into some folder of an older one.
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
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
Emil wrote:
Thanks Leif. inspect.getfile() doesn't seem to do what I want.
The situation is that I have a number of scripts, s1.sage, s2.sage, etc,
and I'd like them to be able to write to a '.js' file with the same name
as their filenames, e.g. s3.sage would write to s3.js, etc. I thought I
Georgi Guninski wrote:
This fails with syntax error, but works if Nf.v is on new line:
K.Z=ZZ[]
for D in [ 1 .. 20]:
try: Nf.v=NumberField(Z**2-D)
except Exception,e:
print e
That's a Sage preparser bug, but it's bad style anyway... ;-)
-leif
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
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
leif wrote:
Mike wrote:
Is it possible (in Sage 5.9) to do high-precision simple integration
(e.g. of polynomials)?
The following is an example of what doesn't work: while the coefficients
of q are known to 30 digits, the coefficients of the integrals are known
to at most 15.
a=RealField(100
sage: f.truncate(x,3)
x^2*y^4 + x*y + x + y + 1
sage: f.truncate(x,3).truncate(y,3)
x*y + x + y + 1
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To unsubscribe from this group
Volker Braun wrote:
socket.gethostname() returns illegal hostname, thats great. Apple, what
the heck!
ROFL.
I first thought the apostrophe may come from the path of the Sage
installation.
Worth a ticket?
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received
Volker Braun wrote:
On Monday, June 3, 2013 8:47:17 AM UTC+1, leif wrote:
Worth a ticket?
Not sure; Apparently OSX does escape illegal characters usually, though
clearly some people get bitten by this. Might be dependent on whether
the name was entered during installation / upgraded from
setting
up / invoking shell commands I think) where we could run into trouble.
For starters, you just broke the sage cleaner again.
? I just quoted the changes that have been made.
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received this message because you
: No module named _ssl
Install OpenSSL and rebuild Python. I.e., in the VM do:
$ sudo apt-get install libssl-dev
$ ./sage -f spkg/standard/python-*
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received this message because you are subscribed to the Google Groups
*think* a binary distribution might work as well, but I'm not sure.)
-leif
I am running this on a kubuntu virtual machine (VMWare) but I don't see that
should matter. Is there another way to achieve this? Can I just download and
unzip the archive? If this is the case, where do I unzip it to? Any
installation is probably better (safer and less error-prone)
as well.
Just to make sure:
Does /usr/share/sage-5.9/devel/sagenb/sagenb/misc/sphinxify.py exist?
-leif
===
--
| Sage
package for this, for
convenience? (It would also be slightly smaller than PARI's .tgz ...)
-leif
On Wednesday, May 15, 2013 8:07:48 PM UTC+8, John Cremona wrote:
On 15 May 2013 10:47, John Cremona john.c...@gmail.com
The PARI package in Sage only has the small database of modular
(i.e., there's a version in
$SAGE_ROOT/local/bin/), just to sort out such issues.
-leif
On Wednesday, May 15, 2013 2:28:33 PM UTC-5, John H Palmieri wrote:
On Wednesday, May 15, 2013 12:08:57 PM UTC-7, Ben wrote:
I am trying to help someone install patches on their sage
middle columns,
which is CR LF in hexadecimal notation.)
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
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
in /Sage's/
documentation, and on #14523 [1], we're wondering whether it
could/should be removed, although this would presumably be done on
another ticket.)
-leif
[1] http://trac.sagemath.org/sage_trac/ticket/14523#comment:13 ff.
[2]
http://sagemath.org/doc/reference/misc/sage/misc
, which could speed up things significantly if you call it
repeatedly.
It could also (optionally) use PARI's prime table instead of a
modulo-30 wheel.
-leif
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr
and/or Ubuntu 11.10). (For earlier Sage versions,
i.e. 4.7.1 and some 4.7.2.alpha*, a different Symmetrica spkg is
needed as well as setting LDFLAGS=-ldl for the Singular 3-1-1-4
spkg.)
The R/readline issue is meanwhile tracked at
http://trac.sagemath.org/sage_trac/ticket/11970
.
-leif
--
To post
swapping, which of
course slows down the build process or may even freeze your machine
[at least for a while].)
[I'm not sure whether that's mentioned anywhere in the Sage
documentation, but rather doubt it is.]
-leif
[1] http://www.gnu.org/software/make/manual/make.html#Options-Summary
--
To post
On 27 Okt., 19:12, Volker Braun vbraun.n...@gmail.com wrote:
On Thursday, October 27, 2011 11:01:19 AM UTC-4, leif wrote:
Setting MAKE to make -jN when (re-)building Sage doesn't limit the
*total* number of build jobs to N;
It does limit the total number of build jobs within the current
On 28 Okt., 01:51, Eric Kangas eric.c.kan...@gmail.com wrote:
plot([derivative((f(x), a) for a in [0,1,..3]], (x,0,2*pi), color = ())
Just curious:
Any reason to use [0,1,..3] instead of just [0..3] or even the pure
Python syntax: range(4) ?
-leif
--
To post to this group, send email
]
sage: srange(0.0,pi+pi/3,pi/3.0)
[0.000, 0.333*pi, 0.667*pi, pi]
-leif
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit
101 - 140 of 140 matches
Mail list logo