Ask Your Question
0

How could I notice that a SAGE program is running?

asked 2018-07-15 13:20:48 +0100

ASH gravatar image

I am new on SAGE. When I run a time consuming algorithm using sage on Jupyter, there is no sign on Jupyter command window showing the program is still running. I only should wait until the results appear on the Jupyter command line. Is there a way I could be noticed if something is still running by sage or not?

edit retag flag offensive close merge delete

Comments

Could you be more specific? What exactly is the code you're trying to run, and in what interface are you running it? Did you enter some code in the notebook? I would suggest looking up tutorials on how to use the Jupyter notebook. If you want to see if your code is, say, using the CPU open the Windows Task Manager and just sort processes by CPU usage. Sage will show up as a python2.7 process since Sage is written in Python.

Iguananaut gravatar imageIguananaut ( 2018-07-16 11:48:54 +0100 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2018-08-15 10:06:53 +0100

pizza gravatar image

updated 2018-08-15 10:08:27 +0100

If you are using Cocalc, you will see a green or blue bar when a programme is running.

edit flag offensive delete link more
1

answered 2018-08-15 18:48:29 +0100

eric_g gravatar image

In the Jupyter notebook, you can see that Sage is running by looking at the small circle at the right of "SageMath 8.3" in the right part of the header bar: if the circle is filled, then Sage is running.

edit flag offensive delete link more
0

answered 2018-07-15 13:31:14 +0100

tmonteil gravatar image

From a terminal, you can type:

top

or

htop

you will see the activity of the processors.

edit flag offensive delete link more

Comments

What do you mean by terminal? Sorry I am a beginner.

ASH gravatar imageASH ( 2018-07-15 14:23:09 +0100 )edit

Sorry, I am new on SAGE. Running SAGE, I have tow windows; one for Sage 8.2 Notebook Server and the other for Jupyter. Nothing happens when I type top or htop on the first window. When I type that on Jupyter command window I see this: <function top="" at="" 0x6fffbe307d0=""> I still do not know if sage is running the algorithm or not.

ASH gravatar imageASH ( 2018-07-16 03:00:06 +0100 )edit

They're running on Windows.

Iguananaut gravatar imageIguananaut ( 2018-07-16 11:49:06 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-07-15 13:20:48 +0100

Seen: 877 times

Last updated: Aug 15 '18