mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2011-08-04, 09:05   #1
Unregistered
 

24×3×23 Posts
Default mprime

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
  Reply With Quote
Old 2011-08-04, 11:41   #2
Brian-E
 
Brian-E's Avatar
 
"Brian"
Jul 2007
The Netherlands

1100110000112 Posts
Default

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.
Brian-E is offline   Reply With Quote
Old 2011-08-04, 16:25   #3
Unregistered
 

27318 Posts
Default

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
  Reply With Quote
Old 2011-08-05, 09:17   #4
Brian-E
 
Brian-E's Avatar
 
"Brian"
Jul 2007
The Netherlands

33×112 Posts
Default

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 .
Brian-E is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
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

All times are UTC. The time now is 08:20.

Thu Dec 3 08:20:07 UTC 2020 up 4:31, 0 users, load averages: 1.07, 1.12, 1.03

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.