Maybe SageCell doesn't have the optional package "tides" installed. This is
the same error I see on my own computer without "tides".
On Thursday, April 16, 2020 at 9:26:21 AM UTC-7, slelievre wrote:
>
> Here is the error after executing the original poster's code in SageCell.
>
> ---------------------------------------------------------------------------CalledProcessError
> Traceback (most recent call
> last)<ipython-input-1-6fda4f94ff14> in <module>() 8 z0 = Integer(27)
> 9 T =
> RealNumber('15.586522107161747275678702092126960705284805489972439358895215783190198756258880854355851082660142374')--->
> 10 sol = desolve_tides_mpfr(f, [x0, y0, z0],Integer(0) , T, T,
> RealNumber('1e-100'), RealNumber('1e-100'), Integer(100)) # optional - tides
> 11 print(sol)
> /home/sc_serv/sage/local/lib/python3.7/site-packages/sage/calculus/desolvers.py
> in desolve_tides_mpfr(f, ics, initial, final, delta, tolrel, tolabs, digits)
> 1887 + os.path.join('-L$SAGE_LOCAL','lib ') +
> '-lmpfr -lgmp -lm -O2 -w ' + 1888
> os.path.join('-I$SAGE_LOCAL','include ') ,-> 1889
> shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 1890
> subprocess.check_call(os.path.join(tempdir, 'runme'), shell=True,
> stdout=subprocess.PIPE, stderr=subprocess.PIPE) 1891 outfile =
> open(fileoutput)
> /home/sc_serv/sage/local/lib/python3.7/subprocess.py in
> check_call(*popenargs, **kwargs) 345 if cmd is None: 346
> cmd = popenargs[0]--> 347 raise CalledProcessError(retcode, cmd)
> 348 return 0 349
> CalledProcessError: Command 'gcc -o
> /home/sc_work/.sage/temp/sc-2B/23183/dir_rwnrlkk7/runme
> /home/sc_work/.sage/temp/sc-2B/23183/dir_rwnrlkk7/*.c
> $SAGE_LOCAL/lib/libTIDES.a $LDFLAGS -L$SAGE_LOCAL/lib -lmpfr -lgmp -lm -O2
> -w -I$SAGE_LOCAL/include ' returned non-zero exit status 1.
>
>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/18706f73-8228-4646-9989-82fc2795414e%40googlegroups.com.