Ask Your Question
0

How could I notice that a SAGE program is running?

asked 2018-07-15 06:20:48 -0500

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 04:48:54 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
1

answered 2018-08-15 03:06:53 -0500

pizza gravatar image

updated 2018-08-15 03:08:27 -0500

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 11:48:29 -0500

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 06:31:14 -0500

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 07:23:09 -0500 )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-15 20:00:06 -0500 )edit

They're running on Windows.

Iguananaut gravatar imageIguananaut ( 2018-07-16 04:49:06 -0500 )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 06:20:48 -0500

Seen: 91 times

Last updated: Aug 15