mersenneforum.org  

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

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

887 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

2·11·149 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
 

3×3,109 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

2·11·149 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 22:14.


Tue Mar 28 22:14:12 UTC 2023 up 222 days, 19:42, 0 users, load averages: 1.12, 1.08, 1.00

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔