Ask Your Question

Romuald_314's profile - activity

2019-08-30 10:56:37 -0500 received badge  Popular Question (source)
2019-08-02 07:07:13 -0500 received badge  Famous Question (source)
2019-02-05 16:22:58 -0500 received badge  Popular Question (source)
2018-11-23 03:02:17 -0500 received badge  Notable Question (source)
2018-10-23 04:52:41 -0500 commented answer Error while compiling sage 8.3 on Ubuntu 16.04

Ok, so like I said all dependencies were satisfied (including gfortran) but it seems like I have a few problems in particular with the gfortran packages (broken ones...). I will try to solve them and keep you aware. I'll consider marking your answer as correct since my original problem is solved.

2018-10-22 14:13:53 -0500 answered a question Error while compiling sage 8.3 on Ubuntu 16.04

(this was meant to be a comment but it's too long)

So, the compilation process worked within my /home directory. However, after about an hour I got a real error this time:

***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):

* package: openblas-0.2.20.p2
  log file: /home/matthias/sage-8.4/logs/pkgs/openblas-0.2.20.p2.log
  build directory: /home/matthias/sage-8.4/local/var/tmp/sage/build/openblas-0.2.20.p2

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Makefile:31 : la recette pour la cible « all-start » a échouée
make[1]: *** [all-start] Erreur 1
make[1] : on quitte le répertoire « /home/matthias/sage-8.4 »
Makefile:13 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2

Here is the mentioned log.

So, at this point, I don't mind starting a new compilation from scratch, nevertheless, 1) Can I resume a failed compilation after a possible fix of what's amiss? 2) Why is that happening? Is there any risk some other package might do the same?

Thank you

2018-10-22 12:09:28 -0500 commented answer Error while compiling sage 8.3 on Ubuntu 16.04

Thanks for your answer, it is correct, I tried to do it on my data disk (still internal though). I'll try again checking these requirements with the newest sage in my /home as you said and tell you.

2018-10-21 07:29:28 -0500 asked a question Error while compiling sage 8.3 on Ubuntu 16.04

Hello,

So, I wanted to compile sage 8.3 on Xubuntu 16.04: I get this error: https://paste2.org/XYaDeFAL

I ran the command './congifure' beforehand, without any error. I also have every prerequisite up to date according to my Ubuntu.

Any ideas? I'm not an expert at all on compilation, Linux and stuff, but I've read in the sage documentation that all is automated and should work fine by itself so I'm quite surprised.

Thanks.

2018-10-15 16:52:13 -0500 received badge  Notable Question (source)
2018-06-28 03:07:48 -0500 received badge  Famous Question (source)
2018-05-19 09:15:12 -0500 received badge  Popular Question (source)
2018-04-29 14:59:29 -0500 commented answer Sage on Ubuntu17.10

Thanks a lot.

2018-04-29 14:57:56 -0500 commented answer Sage updates on ppa?

I'll be thinking about upgrading to 18.04 since it is also a LTS version. Thank you.

2018-04-29 06:10:41 -0500 commented answer Sage on Ubuntu17.10

As I see your answer to this question, I'm curious to know; would it be the solution to my recent similar one: https://ask.sagemath.org/question/421... ? Thanks

2018-04-27 06:45:22 -0500 received badge  Nice Question (source)
2018-04-22 05:32:15 -0500 commented answer Sage updates on ppa?

I'll be thinking about it. What do you mean by "maintain the PPA?" First, I'm not an expert. Second, according to what you said, it is actually discontinued...

2018-04-21 07:45:26 -0500 asked a question Sage updates on ppa?

Hi, I have been using sage on my ubuntu for at least 3 years now. Up to february of last year, I have been keeping it up to date thanks to the ppa: https://launchpad.net/~aims/+archive/... But it is now sage 8.0+, and the ppa is still at version 7.5. I really wonder why it is not kept updated anymore.

I tried to use some prebuilt binaries proposed for downloading on sagemath.org, however these solutions do not seem to be as simple and integrated to the system as the classic way to install sage. Thanks for answers.

2018-04-20 05:24:56 -0500 commented answer Variable 't' not found

Yes... Oh great! I had never thought of using this numerical integration function - I didn't know about it and I tried to define mine. You've just let me know about this latter.

This integral is given to be impossible to express in terms of standard mathematical functions by Wolfram Alpha.

I was still trying to integrate with the classic sage integrate function because I thought sage automatically switched to numerical methods; however, I've already had some surprises when evaluating integrals of absolute values functions - thus, positive - and it gave me some negative results!

By the way, I'm running sage 7.5.1 on a 2014-computer or so (acer V3 771G) on Xubuntu.

And you definitely gave a solution to my problem - as I said, my point is only to get fast verification on what I'm proving.

2018-04-20 01:36:23 -0500 commented answer Variable 't' not found

It seems to work as for the variable... but for some reason, this is extremely slow. For instance I could not get any result after 5 minutes of ongoing computing (I deliberately stopped it) for

x, t = SR.var('x t')
a = 0.5
plot(lambda x: integrate(cos(x*t)/sqrt(1-t), t, 0, sin(a)), (0, 10))

Anyway, I guess you solved my problem, this is probably another matter. Unless you have suggestions about it?

2018-04-19 16:06:04 -0500 asked a question Variable 't' not found

Hi there,

I was trying to simply plot some fonctions defined as integrals like this one:

var('t')
plot( integrate(cos(x*t),t,0,sin(a)), x, 0, 10)
# a is an angle such that 0 < a < pi/2 defined beforehand

to do some brief visual checks on what I'm working on. That one works perfectly.

Then, just adding a "/sqrt(1-t^2)" :

var('t')
plot( integrate(cos(x*t)/sqrt(1-t^2),t,0,sin(a)), x, 0, 10)

ruins everything: gives me the error message : "... ValueError: Variable 't' not found"

And in fact I also tried with "/(1-t^2)" instead or even "/(1-t)", same result.

I'm very surprised, and I can't understand that. Thanks for any help.


Here is the full report:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_91.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("dmFyKCd0JykKcGxvdCggaW50ZWdyYXRlKGNvcyh4KnQpL3QsdCwwLHNpbihhKSksIHgsIDAsIDEwKQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>

  File "/tmp/tmpW3H_J9/___code___.py", line 4, in <module>
    exec compile(u'plot( integrate(cos(x*t)/t,t,_sage_const_0 ,sin(a)), x, _sage_const_0 , _sage_const_10 )
  File "", line 1, in <module>

  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/decorators.py", line 554, in wrapper
    return func(*args, **options)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/plot/plot.py", line 1931, in plot
    G = funcs.plot(*args, **original_opts)
  File "sage/symbolic/expression.pyx", line 11383, in sage.symbolic.expression.Expression.plot (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:63333)
  File "sage/symbolic/expression.pyx", line 11424, in sage.symbolic.expression.Expression._plot_fast_callable (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:63626)
  File "sage/ext/fast_callable.pyx", line 456, in sage.ext.fast_callable.fast_callable (/usr/lib/sagemath//src/build/cythonized/sage/ext/fast_callable.c:4485)
  File "sage/symbolic/expression.pyx", line 11261, in sage.symbolic.expression.Expression._fast_callable_ (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:62248)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1579, in fast_callable
    return FastCallableConverter(ex, etb)()
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 226, in __call__
    return self.composition(ex, operator)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1545, in composition
    return self.etb.call(function, *ex.operands())
  File "sage/ext/fast_callable.pyx", line 734, in sage.ext.fast_callable.ExpressionTreeBuilder.call (/usr/lib/sagemath//src/build/cythonized/sage/ext/fast_callable.c:6980)
  File "sage/ext/fast_callable.pyx", line 609, in sage.ext.fast_callable.ExpressionTreeBuilder.__call__ (/usr/lib/sagemath//src/build/cythonized/sage/ext/fast_callable.c:5984)
  File "sage/symbolic/expression.pyx", line 11261, in sage.symbolic.expression.Expression._fast_callable_ (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:62248)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1579, in fast_callable
    return FastCallableConverter(ex, etb)()
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 217, in __call__
    return self.arithmetic(div, div.operator())
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1507, in arithmetic
    return reduce(lambda x,y: self.etb.call(operator, x,y), operands)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1507, in <lambda>
    return reduce(lambda x,y: self.etb.call(operator, x,y), operands)
  File "sage/ext/fast_callable.pyx", line 734, in sage.ext.fast_callable.ExpressionTreeBuilder.call (/usr/lib/sagemath//src/build/cythonized/sage/ext/fast_callable.c:6980)
  File "sage/ext/fast_callable.pyx", line 609, in sage.ext.fast_callable.ExpressionTreeBuilder.__call__ (/usr/lib/sagemath//src/build/cythonized/sage/ext/fast_callable.c:5984)
  File "sage/symbolic/expression.pyx", line 11261, in sage.symbolic.expression.Expression._fast_callable_ (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:62248)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1579, in fast_callable
    return FastCallableConverter(ex, etb)()
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 226, in __call__
    return self.composition(ex, operator)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1545, in composition
    return self.etb.call(function, *ex.operands())
  File "sage/ext/fast_callable.pyx", line 734, in sage.ext.fast_callable.ExpressionTreeBuilder.call (/usr/lib/sagemath//src/build/cythonized/sage/ext/fast_callable.c:6980)
  File "sage/ext/fast_callable.pyx", line 609, in sage.ext.fast_callable.ExpressionTreeBuilder.__call__ (/usr/lib/sagemath//src/build/cythonized/sage/ext/fast_callable.c:5984)
  File "sage/symbolic/expression.pyx", line 11261, in sage.symbolic.expression.Expression._fast_callable_ (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:62248)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1579, in fast_callable
    return FastCallableConverter(ex, etb)()
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 217, in __call__
    return self.arithmetic(div, div.operator())
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1507, in arithmetic
    return reduce(lambda x,y: self.etb.call(operator, x,y), operands)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1507, in <lambda>
    return reduce(lambda x,y: self.etb.call(operator, x,y), operands)
  File "sage/ext/fast_callable.pyx", line 734, in sage.ext.fast_callable.ExpressionTreeBuilder.call (/usr/lib/sagemath//src/build/cythonized/sage/ext/fast_callable.c:6980)
  File "sage/ext/fast_callable.pyx", line 609, in sage.ext.fast_callable.ExpressionTreeBuilder.__call__ (/usr/lib/sagemath//src/build/cythonized/sage/ext/fast_callable.c:5984)
  File "sage/symbolic/expression.pyx", line 11261, in sage.symbolic.expression.Expression._fast_callable_ (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:62248)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1579, in fast_callable
    return FastCallableConverter(ex, etb)()
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 212, in __call__
    return self.symbol(ex)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1528, in symbol
    return self.etb.var(SR(ex))
  File "sage/ext/fast_callable.pyx", line 681, in sage.ext.fast_callable.ExpressionTreeBuilder.var (/usr/lib/sagemath//src/build/cythonized/sage/ext/fast_callable.c:6561)
ValueError: Variable 't' not found
2018-04-17 09:04:38 -0500 received badge  Popular Question (source)
2018-04-17 09:04:38 -0500 received badge  Notable Question (source)