mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2011-01-14, 01:15   #1
dchmelik
 
Dec 2010

7 Posts
Default using GIMPS on GNU/Linux?

I downloaded the 64-bit GIMPS for GNU/Linux, but when I run it, it seems to do nothing. Once I got into some menu, but there does not seem to be much I can do in there either. How are you supposed to use this?
dchmelik is offline   Reply With Quote
Old 2011-01-14, 02:18   #2
joblack
 
joblack's Avatar
 
Oct 2008
n00bville

25·23 Posts
Default

Quote:
Originally Posted by dchmelik View Post
I downloaded the 64-bit GIMPS for GNU/Linux, but when I run it, it seems to do nothing. Once I got into some menu, but there does not seem to be much I can do in there either. How are you supposed to use this?
You have to setup the configuration with

./mprime -m

exit the program after configuration

You can start the program either in a shell with

./mprime &

(problem - the program stops after closing the shell)

or use one of the init autostart scripts presented in the forum.

Check with

top

if the program is running.
joblack is offline   Reply With Quote
Old 2011-01-14, 03:20   #3
KingKurly
 
KingKurly's Avatar
 
Sep 2010
Annapolis, MD, USA

2×32×11 Posts
Default

After following the suggestions from joblack, I have only one piece of advice to add. I normally run mprime inside of screen.

Example: screen mprime/mprime -m

Then you use option 4 to start all the workers. (This assumes that you've already done the configuration step.) To detach, type Ctrl-A, d. If you want to re-attach to the session, you can do 'screen -r' at the prompt. The program will continue to run in the background unless the system is rebooted.

If you don't care about keeping that close of an eye on it or being able to change options while it's running, you could instead use joblack's idea of simply running it in the background with the ampersand.
KingKurly is offline   Reply With Quote
Old 2011-01-14, 11:26   #4
joblack
 
joblack's Avatar
 
Oct 2008
n00bville

2E016 Posts
Default

Quote:
Originally Posted by KingKurly View Post
After following the suggestions from joblack, I have only one piece of advice to add. I normally run mprime inside of screen.

Example: screen mprime/mprime -m

Then you use option 4 to start all the workers. (This assumes that you've already done the configuration step.) To detach, type Ctrl-A, d. If you want to re-attach to the session, you can do 'screen -r' at the prompt. The program will continue to run in the background unless the system is rebooted.

If you don't care about keeping that close of an eye on it or being able to change options while it's running, you could instead use joblack's idea of simply running it in the background with the ampersand.
Screen is fine but you have to restart the script every time you restart the computer (which costs time). If you (re-)start your computer regularly you might invest the 10 minutes to copy/paste and adjust the startup script for future convience. (search for debian script in the forum - you might adjust it to SuSE as well) ;)
joblack is offline   Reply With Quote
Old 2011-01-14, 21:23   #5
KingKurly
 
KingKurly's Avatar
 
Sep 2010
Annapolis, MD, USA

2×32×11 Posts
Default

Quote:
Originally Posted by joblack View Post
Screen is fine but you have to restart the script every time you restart the computer (which costs time). If you (re-)start your computer regularly you might invest the 10 minutes to copy/paste and adjust the startup script for future convience. (search for debian script in the forum - you might adjust it to SuSE as well) ;)
What is this "restart the computer" you're talking about? Yes, your advice probably is better in the event that your computer actually gets restarted with any frequency.
KingKurly is offline   Reply With Quote
Old 2011-01-14, 22:35   #6
joblack
 
joblack's Avatar
 
Oct 2008
n00bville

25·23 Posts
Default

Quote:
Originally Posted by KingKurly View Post
What is this "restart the computer" you're talking about? Yes, your advice probably is better in the event that your computer actually gets restarted with any frequency.
Yes I know your concern but even for a hardcore user you have to restart sometimes (e.g. after a kernel (security) update).
joblack is offline   Reply With Quote
Old 2011-01-14, 23:25   #7
Commaster
 
Jun 2010
Kiev, Ukraine

3×19 Posts
Default

Quote:
Originally Posted by joblack View Post
but even for a hardcore user you have to restart sometimes (e.g. after a kernel (security) update).
I assume, a really hardcore user would benefit from kexec-tools :)
Commaster is offline   Reply With Quote
Old 2011-01-19, 01:41   #8
dchmelik
 
Dec 2010

7 Posts
Default

Quote:
Originally Posted by joblack View Post
You have to setup the configuration with

./mprime -m

exit the program after configuration

You can start the program either in a shell with

./mprime &

(problem - the program stops after closing the shell)

or use one of the init autostart scripts presented in the forum[...]
I did get into the configuration menu and try a couple things, but it is not really clear what to do there. If I am able to configure it I would like to use an init script. I will try again and look for those scripts.
dchmelik is offline   Reply With Quote
Old 2011-01-19, 02:05   #9
moebius
 
moebius's Avatar
 
Jul 2009
Germany

10110000102 Posts
Default

Quote:
Originally Posted by dchmelik View Post
I did get into the configuration menu and try a couple things, but it is not really clear what to do there.
I think however that mprime's operating is intuitive.
What exactly fails?
moebius is offline   Reply With Quote
Old 2011-01-25, 00:49   #10
joblack
 
joblack's Avatar
 
Oct 2008
n00bville

2E016 Posts
Default

Quote:
Originally Posted by Commaster View Post
I assume, a really hardcore user would benefit from kexec-tools :)
That doesn't work if you have to exchange broken hardware but you get the drift.
joblack is offline   Reply With Quote
Old 2011-01-29, 09:17   #11
dchmelik
 
Dec 2010

78 Posts
Default

Quote:
Originally Posted by moebius View Post
I think however that mprime's operating is intuitive.
What exactly fails?
As I said, the help/instructions.

Last fiddled with by dchmelik on 2011-01-29 at 09:19
dchmelik is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run MFAKTC in Linux? Rodrigo GPU Computing 52 2020-01-24 16:37
64-bit CD or DVD Linux henryzz Linux 15 2008-06-29 12:30
Linux Drooling_Sheep Software 8 2003-11-22 05:50
Problem With 23.5 and Linux Blaise Pascal Software 7 2003-08-23 01:02
GIMPS software for Sony PS/2 Linux? delta_t Software 5 2002-12-06 17:36

All times are UTC. The time now is 16:27.


Fri Jul 7 16:27:12 UTC 2023 up 323 days, 13:55, 0 users, load averages: 1.91, 2.07, 1.73

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.

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