Ask Your Question
0

How could I notice that a SAGE program is running?

asked 6 years ago

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?

Preview: (hide)

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 ( 6 years ago )

3 Answers

Sort by » oldest newest most voted
1

answered 6 years ago

pizza gravatar image

updated 6 years ago

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

Preview: (hide)
link
1

answered 6 years ago

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.

Preview: (hide)
link
0

answered 6 years ago

tmonteil gravatar image

From a terminal, you can type:

top

or

htop

you will see the activity of the processors.

Preview: (hide)
link

Comments

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

ASH gravatar imageASH ( 6 years ago )

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 ( 6 years ago )

They're running on Windows.

Iguananaut gravatar imageIguananaut ( 6 years ago )

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: 6 years ago

Seen: 910 times

Last updated: Aug 15 '18