[sage-support] After fresh compile, sage starts fine. Upon restart, it doesn't know it was installed

2020-05-05 Thread Christopher Duston
I'm working on an install script for Slackware, which seems to work - at least, running "sage" after compiling everything gets sage to run as expected. However, a few days later: $ sage It seems that you are attempting to

Re: [sage-support] After fresh compile, sage starts fine. Upon restart, it doesn't know it was installed

2020-05-05 Thread Dima Pasechnik
On Tue, May 5, 2020 at 4:00 PM Christopher Duston wrote: > > I'm working on an install script for Slackware, which seems to work - at > least, running "sage" after compiling everything gets sage to run as expected. > > However, a few days later: > > $ sage > **

Re: [sage-support] After fresh compile, sage starts fine. Upon restart, it doesn't know it was installed

2020-05-05 Thread Duston, Christopher
bash-4.3$ set | grep SAGE bash-4.3$ No response, so no environmental variables set there. On Tue, May 5, 2020 at 11:53 AM Dima Pasechnik wrote: > On Tue, May 5, 2020 at 4:00 PM Christopher Duston > wrote: > > > > I'm working on an install script for Slackware, which seems to work - at > least,

Re: [sage-support] After fresh compile, sage starts fine. Upon restart, it doesn't know it was installed

2020-05-05 Thread Dima Pasechnik
On Tue, May 5, 2020 at 9:05 PM Duston, Christopher wrote: > > bash-4.3$ set | grep SAGE > bash-4.3$ > > No response, so no environmental variables set there. the error message you see comes from src/bin/sage: # Prepare for running Sage, either interactively or non-interactively. sage_setup() {

[sage-support] Sagemath saving results

2020-05-05 Thread Mauro Weber
Hello, I’m using Sagemath to filter some specific graphs from the general graphs using these codes: “I = graphs(n) for G in I: if G.is_tree(): if (G.cartesian_product(G)).matching(value_only = True) == n*n/2: G.show()” The problem is that there are a large number of graphs to filter par

Re: [sage-support] After fresh compile, sage starts fine. Upon restart, it doesn't know it was installed

2020-05-05 Thread Duston, Christopher
Oh man, you are right, and it means the SlackBuilds Package installer is doing something I wasn't exactly aware of: $ sage -sh Starting subshell with Sage environment variables set. Don't forget to exit when you are done. Beware: * Do not do anything with other copies of Sage on your system.

Re: [sage-support] After fresh compile, sage starts fine. Upon restart, it doesn't know it was installed

2020-05-05 Thread Dima Pasechnik
On Wed, May 6, 2020 at 12:38 AM Duston, Christopher wrote: > > Oh man, you are right, and it means the SlackBuilds Package installer is > doing something I wasn't exactly aware of: > > $ sage -sh > > Starting subshell with Sage environment variables set. Don't forget > to exit when you are done.