![]() |
![]() |
#1 |
887 Posts |
![]()
I am running mprime.
For some reason I lost the connection to the server. If I log in again starting ./mprime -m (as I did initially) - in order to get control - I get the message "another mprime" is running. Yes of course - but - how do I get controll over my running session again? Thanks in advance Helmut |
![]() |
![]() |
#2 |
"Brian"
Jul 2007
The Netherlands
2·11·149 Posts |
![]()
If your internet connection is in order, mprime will normally be able to re-establish the connection itself (it retries periodically).
However, if for whatever reason you want to restart mprime, then obviously you need to stop the process which is already running first. Use the "ps" command to see running processes (options depend on your OS but I in many cases it is ps -ef to see all processes, another I have encountered requires ps ax ). Then use kill <process number> . mprime saves its current progress before stopping. You can then restart in the way you want to. Sorry if this is all already obvious. If so, you need to give more details about what the problem is precisely. |
![]() |
![]() |
![]() |
#3 |
3×3,109 Posts |
![]()
Thanks for your hint.
I am running 12 workers (7x24) on a Sun X4270 under Ubuntu 10.10 I startet the thing with ./mprime -m Now, for some reason I lost the connection to this server. After reconnect am again ./mprime -m I had the following situation: 0) All workers are still running 1) <3> gives me, as normal the potential end dates back 2) <4> gives me test/continue (????? I mean, it is running !!) 3) Issuing test/continue (<4>) it brings back "another mprime is running" 4) My problem is, that I do not get any screen output every 20000 iterations (in my case) example "Iteration: 29720000 / 50816569 [58.48%]. Per iteration time: 0.070 sec." I need this information mainly to observe the speed "Per iteration time......" and secondly to see the exact percentage of done work. So - how go I get the screen output back for each worker after XXX iterations? By the way: applying ./mprime -h shows me also the option -aXXX. If I would run different mprimes concurrently - is there a monitoring command to observe them concurrently? Thanks from Germany Helmut |
![]() |
![]() |
#4 |
"Brian"
Jul 2007
The Netherlands
2·11·149 Posts |
![]()
I too originally had problems when I tried to have the output permanently on the screen - after originally starting up a particular work unit (LL test in my case) with screen output and not managing to get that output back when I continued the test after the computer had been switched off. So I'm interested in any help from others that might be given here.
These days I don't bother with screen output and watch the progress in the files results.txt and prime.log . This allows me to calculate the per-iteration time in LL-tests easily and see progress in all types of work. A useful thing to know if you don't already, is that the progress through the test is given in the file prime.log each time there is an update to the server ("Sending expected completion date....") in the codes it sends as a URL. You need then to look at the data item "...&p=NN.NNNN..." - that is the percentage of the way through this work unit. If you stop the process it will write its progress in an even more obvious manner in the file results.txt . |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
mPrime over SSH | Vincanis | Information & Answers | 4 | 2011-06-30 13:36 |
./mprime -B in 257 | Lazlow | PrimeNet | 3 | 2008-10-29 20:40 |
64 bit mprime? | aaronl | Linux | 1 | 2005-11-10 16:50 |
ECM using gmp-ecm and mprime on a P4 | geoff | Factoring | 60 | 2004-12-02 07:16 |
Problem with mprime (Fixed with mprime -d) | antiroach | Software | 2 | 2004-07-19 04:07 |