saad khalid wrote:
> Hello everyone:
> 
> I ran a computation on SMC that i figured would take some time. I'm
> generating 8000 groups, I believe, which is a slow process. Generating
> one group can take a few seconds, so I would expect generating 8000
> groups to take 10-ish hours. However, this computation has been running
> for over 70 hours now, I believe. I keep the page from stopping by
> running some simple arithmetic on the side, so that the page stays
> active. It still says it is running but I can't tell if it actually is.
> The RAM usage on the page used to be going up but now it has stopped at
> 1198mb. Is there any way for me to know if the computation is still
> active, or how far it has gotten, without interrupting it?

Get the PID and look at the process (e.g. "ps x | grep -w NNNNN" in a
shell, where NNNNN is the PID).

I guess

sage: macaulay2.pid()

gives you the PID.


There are certainly smarter ways on SMC.


-leif

> 
> Here is the code I ran:
> 
> |
> reset()
> macaulay2.eval("""
> K = toField(QQ[zet]/(zet^8 - zet^6 + zet^4 - zet^2 + 1))
> needsPackage "InvariantRing"
> A = []
> B = []
> C = []
> for a1 from 1 to 20 do (for a2 from 1 to 20 do (for a3 from 1 to 20 do A
> = A|[matrix{{zet^(a1),0,0},{0,zet^(a2),0},{0,0,zet^(a3)}}] ) )
> for i from 0 to (#A-1) do B = B|[generateGroup({A#i},K)]
> for j from 0 to (#A-1) do C = C|[toString molienSeries B#j]
> """)
> |


-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to