![]() |
|
|
#1 |
|
Aug 2002
Rovereto (Italy)
9F16 Posts |
Hi all!
Recentely I've decided to learn a bit more about Linux, since I get bored with Windows blue Deaths and want to try to set a diskless LAN (Thank you Alf!). I've installed Mandrake 8.2 but mprime 22.9, even it seems to detect the CPU correctely, doesn't uses the SSE2 George's optimization. As a result, "Pepe", a 2.0 Ghz P4 is working relatively slowly... What's going wrong? Regards |
|
|
|
|
|
#2 |
|
Sep 2002
29610 Posts |
look in the undoc.txt
make it use it there is a option you add to prime.ini |
|
|
|
|
|
#3 |
|
Aug 2002
6516 Posts |
See the thread below, 'Why it kept saying I got a P3'.
It was FreeBSD in that case. I ended up recompiling the kernel with an option to enable SEE2. I wonder if your Linux has the same problem. |
|
|
|
|
|
#4 | |
|
Aug 2002
Rovereto (Italy)
3·53 Posts |
Quote:
ops: ops: Few questions from a Linux absolute novice: I've ran mprime from an ordinary shell window with the command ./mprime - m -w/[path of win98 shared working directory], since sometimes I boot Win as well. Well, mprime seems to take its config files from this shared dir but it is saving its back-up files (PXXXXXXXX) just in its linux dir, not in the shared one. What do I have to do? How to be sure that mprime starts everytime the system boot? If I close the terminal do I close mprime as well? That is: in Linux click on "X" is like to kill an application? Is a good sensation to have once again some command to type on a console (it remember me the ancient times...) but I've lost familiarity with this, so,please, be patient... Thanks for any help in advance! Regards |
|
|
|
|
|
|
#5 | |
|
Aug 2002
22×5×13 Posts |
From the readme.txt
Quote:
If you want to start mprime automatically at startup, then add the start cmd to your /etc/inittab file (or whateverit is called in Mandrake) Alf |
|
|
|
|
|
|
#6 |
|
Aug 2002
865810 Posts |
You can use "nohup" to run the program even though you have closed the window... It will redirect all the screen output to a file for you... I ran mlucas before, and not mprime, but the basic concept is the same...
[code:1]nohup nice -19 ./mlucas &[/code:1] You could just put it into your crontab, but that is a bit more work... If you want to go that route, just let us know... |
|
|
|
|
|
#7 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
17·487 Posts |
Quote:
|
|
|
|
|
|
|
#8 |
|
Aug 2002
Rovereto (Italy)
3·53 Posts |
Wow! I've got answers from the GIMPS fleet admirals...
Thank you Alf, Thank you Mike and Thank you George! :D I'm going to follow yours advices right now... |
|
|
|
|
|
#9 |
|
Aug 2002
2·32·13·37 Posts |
One thing about running the process in the background that I forgot to mention is that it is hard to remember if it is running or not... There are several ways to approach this problem...
1) You can use prstat to view the system processes... 2) You can use tail to display the output file to the console... I think in Linux you would use top for number one... I don't know what types of output files mprime generates, but mlucas uses a file that is named pxxxxxxx.stat, where the x is the exponent... It is written to every 2000 iterations... So if you want to take a quick look at the last few entries you can type "tail pxxxxxxx.stat" and the last 10 lines will be displayed... When you use nohup only stuff that would appear on the screen goes to the nohup file... Since we invoked mlucas with a "&" to put it into the background, nothing should ever be written to this file... Now, if you like to watch output all the time but you still want the process to run in the background without worrying that it may stop if you close the window, set it up like before and run "tail -f pxxxxxxx.stat"... What will happen is the first 10 lines of pxxxxxxx.stat will be displayed, and when any new lines are added to the file it will echo them to the screen as well... The nice thing about doing it this way is if you kill the tail command or close the window, mlucas continues working... The other nice thing is it uses virtually no resources to tail output... Even after several days of running it will have used only a second or two of CPU... You'll have to adjust some of what I wrote above to Linux, but the basic concept is the same... |
|
|
|
|
|
#10 | |
|
Aug 2002
101 Posts |
Quote:
I always run % ./mprime -B It will be there unless you reboot or kill it. |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| short runs or long runs | MattcAnderson | Operazione Doppi Mersennes | 3 | 2014-02-16 15:19 |
| Finishing mprime runs | bill-p | Software | 1 | 2009-12-08 17:45 |
| Who runs prime95 ECM? | hj47 | Software | 3 | 2009-10-07 15:21 |
| My CPU Runs at 100% | Unregistered | Software | 16 | 2004-08-10 13:34 |
| Dual Processor Pentium 4 runs Slow! | brodin | Hardware | 5 | 2004-04-28 23:12 |