mersenneforum.org  

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

Closed Thread
 
Thread Tools
Old 2003-11-19, 01:52   #1
Drooling_Sheep
 
Aug 2003

2·3 Posts
Default Linux

I've been using Prime95 under win xp for 6 months now, and i just set up a linux box (i'm new to linux) running mandrake 9.2.

i downloaded mprime.tar.gz and extracted and ran it. as far as i can tell it just got work and ran one self test (1280K) and hasn't done anything since. the only thing that told me it did anything at all was the creation of files. no dialogs or anything popped up. is this normal behavior? if it is is there a way to make it act like windows version and change settings not shown in the .ini's? if it's not normal behavior do i need the staticly linked version?

thanks for your help
Drooling_Sheep is offline  
Old 2003-11-19, 01:58   #2
GP2
 
GP2's Avatar
 
Sep 2003

3×863 Posts
Default

The Linux version is a non-graphical version.

You shouldn't need the statically-linked version.

The Windows version usually gets installed so that it automatically starts up each time you reboot. The Linux version doesn't have an install procedure, you have to manually start it after each reboot (or manually set it up to restart each time).

You can tell if mprime is running by running the "top" program. If it's there, and your system is idle, it should be using most of the CPU time.

If it's not running, go to the program's directory and run "./mprime -d"... that manually starts it to run in your current command-line window.
GP2 is offline  
Old 2003-11-19, 01:58   #3
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

43·199 Posts
Default

Start it up with

./mprime -m

Then you will get a pile of menus to work with...

Attach or post your results.txt file and your worktodo.ini here so we can look at them...
Xyzzy is offline  
Old 2003-11-19, 01:59   #4
Prime Monster
 
Prime Monster's Avatar
 
Aug 2002

22·5·13 Posts
Default

Start the client with the -m parameter, mprime -m, and you should see output from it.

That it has performed a selftest indicates that it has requested and received an exponent. You can check this by looking for a worktodo.ini file in the same directory as the client.

PM
Prime Monster is offline  
Old 2003-11-19, 02:06   #5
GP2
 
GP2's Avatar
 
Sep 2003

258910 Posts
Default

One other thing:

The server that automatically assigns exponents is a bit flaky, sometimes it's down.

If it happened to be down at the moment you ran mprime for the first time, you wouldn't be able to download your initial allotment of exponents and start crunching. Perhaps that's the problem.
GP2 is offline  
Old 2003-11-19, 02:07   #6
GP2
 
GP2's Avatar
 
Sep 2003

3·863 Posts
Default

Quote:
Originally posted by Prime Monster
Start the client with the -m parameter, mprime -m, and you should see output from it.
Uh no, the -d option is for output.

The -m option is for the menu.
GP2 is offline  
Old 2003-11-19, 12:48   #7
Prime Monster
 
Prime Monster's Avatar
 
Aug 2002

4048 Posts
Default

Quote:
Originally posted by GP2
Uh no, the -d option is for output.

The -m option is for the menu.
If you start the client with the -m option and then select option 5: Test/Continue , you will get output to the screen.

PM
Prime Monster is offline  
Old 2003-11-19, 16:22   #8
QuintLeo
 
QuintLeo's Avatar
 
Oct 2002
Lost in the hills of Iowa

7008 Posts
Default

To automatically start up mprime with output, I use the following command in /etc/rc.d/rc.local (I run Slackware, you may have to put the line elsewhere in Mandrake, or other LINUX versions - depends on where your startup scripts files are stored):

(cd /Mersenne ; exec ./mprime -d > /dev/tty10 2>&1) &

I don't actually have a /dev/tty10 set up on my machines, so this ends up as an "output only" display, which is nice from a security standpoint.

The same line SHOULD work in cron, but will probably generate an error message about "mprime already running" every time it's run after the first, unless mprime crashed for some reason.

I also "tweek" the display parameter so that I get a line of output about once an hour on each machine, but that's personal preference.

I deliberately set the keep amount of work onhand parameter high - usually 60 or 90 days on most of my machines - 'cause sometimes a machine will finish a factor, not be able to contact PrimeNet (server or connection down problem), crunch through a trial factor on it's next worktodo entry in a day or less, and then need *another* factor to work on. I've had a couple cases where my faster machines ran out of work during extended PrimeNet downtime, if I didn't do my best to keep 3 factors available in worktodo.

As far as the type of work to do - the defaults work out pretty well, and get updated every so often as new versions of Prime show up.

Last fiddled with by QuintLeo on 2003-11-19 at 16:24
QuintLeo is offline  
Old 2003-11-22, 05:50   #9
Drooling_Sheep
 
Aug 2003

2·3 Posts
Default

Thank you all very much.

it works now
Drooling_Sheep is offline  
Closed Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD Linux support fivemack GPU Computing 1 2015-12-11 03:28
yafu on linux bsquared YAFU 80 2013-04-24 21:15
A few questions on Linux. kracker GPU Computing 3 2012-08-17 21:57
64-bit CD or DVD Linux henryzz Linux 15 2008-06-29 12:30
Prime95 (32-bit) on 64-bit Linux OK? fes016 Software 1 2007-10-29 01:50

All times are UTC. The time now is 18:36.


Sun Feb 5 18:36:55 UTC 2023 up 171 days, 16:05, 1 user, load averages: 0.84, 0.83, 0.79

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.

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