Ask Your Question

Romuald_314's profile - activity

2024-08-03 09:14:21 +0200 received badge  Notable Question (source)
2024-08-03 09:14:21 +0200 received badge  Popular Question (source)
2024-08-03 09:14:21 +0200 received badge  Famous Question (source)
2021-08-22 07:07:16 +0200 received badge  Popular Question (source)
2021-08-22 07:07:16 +0200 received badge  Notable Question (source)
2020-12-04 18:04:28 +0200 received badge  Notable Question (source)
2020-11-20 09:46:13 +0200 received badge  Famous Question (source)
2020-11-04 16:11:32 +0200 received badge  Famous Question (source)
2020-10-18 06:03:21 +0200 received badge  Nice Question (source)
2020-05-26 09:36:24 +0200 received badge  Notable Question (source)
2020-05-26 09:36:24 +0200 received badge  Popular Question (source)
2019-12-20 20:57:33 +0200 received badge  Famous Question (source)
2019-12-05 22:09:11 +0200 received badge  Famous Question (source)
2019-08-30 17:56:37 +0200 received badge  Popular Question (source)
2019-08-02 14:07:13 +0200 received badge  Famous Question (source)
2019-02-05 23:22:58 +0200 received badge  Popular Question (source)
2018-11-23 10:02:17 +0200 received badge  Notable Question (source)
2018-10-23 11:52:41 +0200 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 21:13:53 +0200 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 19:09:28 +0200 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 14:29:28 +0200 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 23:52:13 +0200 received badge  Notable Question (source)
2018-06-28 10:07:48 +0200 received badge  Famous Question (source)
2018-05-19 16:15:12 +0200 received badge  Popular Question (source)
2018-04-29 21:59:29 +0200 commented answer Sage on Ubuntu17.10

Thanks a lot.

2018-04-29 21:57:56 +0200 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 13:10:41 +0200 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 13:45:24 +0200 marked best answer 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-27 13:45:22 +0200 received badge  Nice Question (source)
2018-04-25 16:37:49 +0200 marked best answer 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