![]() |
![]() |
#1 |
Nov 2008
Rosenheim, Germany
1816 Posts |
![]()
Recently I got a 4 year old Linux server as a gift but I'm not familiar with linux yet.
Trying to install mprime I came into some trouble. Opening mprime from the Gnome GUI (compared to what I would do from a Windows GUI) doesn't start an mprime window, but in the background mprime must have talked to the primenet server. In prime.log there were some lines added which show this had happened. The readme file, which is part of the mprime259.tar.gz package I downloaded, refers to prime95 and a windows installation and didn't help me. Could anybody give me some hint so that I get mprime running properly? Thank you in advance. lidocorc |
![]() |
![]() |
![]() |
#2 |
Aug 2002
Termonfeckin, IE
24×173 Posts |
![]()
mprime is command-line only.
|
![]() |
![]() |
![]() |
#3 |
Oct 2008
n00bville
2D816 Posts |
![]()
There is a thread where I explain how I installed the Linux version (with autorun on bootup) ... http://mersenneforum.org/showthread....ghlight=linux+ If you're not familiar with Linux I suggest you read some HOWTOs how to handle it (create directories and other stuff on the command line).
Last fiddled with by joblack on 2009-11-01 at 07:51 |
![]() |
![]() |
![]() |
#4 |
Nov 2008
Rosenheim, Germany
23×3 Posts |
![]()
Thank you, joblack. That's it, what I was looking for.
|
![]() |
![]() |
![]() |
#5 |
Nov 2009
2 Posts |
![]()
Hi, I've been running Prime 95 for years, but now I want to add a box running ubunu Hardy Heron. I got all the files unzipped and such. but when I run mprime -m in the terminal, the terminal just closes up. Not sure if I should also refer to above link or what is even supposed to happen when it's actually running. Thanks for any help getting started.
|
![]() |
![]() |
![]() |
#6 | |
Oct 2008
n00bville
23·7·13 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Nov 2009
2 Posts |
![]()
sorry for being totally confused... how do I know it's running? how do I see the assignments or output or anything?
Basically: how do I get this thing started? thanks |
![]() |
![]() |
![]() |
#8 |
Aug 2002
Termonfeckin, IE
24×173 Posts |
![]()
Run it with mprime -d - which will output everything to the console. The worktodo.txt contains the queued work and results.txt the finished work.
|
![]() |
![]() |
![]() |
#9 |
Oct 2008
n00bville
23×7×13 Posts |
![]()
You should use the init bash script I have written in the mprime linux thread. So you don't have to start it for yourself. You can see in this thread how to (re-)run it in a later time.
Of course you could always start it in a shell with ./mprime but if you close the shell (or logout or the shell (for instance konsole) crashs) mprime will be closed with it. You can always use the command top and mprime should be lurking in the top of the process display. If you only start it with mprime -m it isn't calculating anything (you're just editing your configuration or checking other stuff). You can run several instances (which isn't recommended). If there is a mprime running that you don't want to have you can always kill it with killall mprime and restart it (under root) with /etc/init.d/mprime start Every changes you have made with mprime -m while the program is already running will be overwritten so make changes only if no other instance is running. Kind of user unfriendly but the community and the Linux mprime programmer doesn't seem to mind about that ... Last fiddled with by joblack on 2009-11-06 at 20:55 |
![]() |
![]() |
![]() |
#10 | |
Oct 2008
n00bville
23×7×13 Posts |
![]() Quote:
./mprime -m (in the mprime directory) to setup your worker threads and what you want to calculate After setting up your configuration (threads, cpu and memory usage, ...) press 5 and enter to exit After that you start the mprime program to work on it (as described earlier). While mprime is running you can always check the progress by starting ./mprime -m and press 3 for the actual status ... Don't add any exponents because they will most likely be overwritten (if oyu want to change something permanently kill the worker mprime and then use mprime -m -> exit and restart mprime ...). Kind of odd but you will get the idea of it. --- PS: And don't forget to read the Linux Autostart thread (link at the top of this thread). Last fiddled with by joblack on 2009-11-06 at 21:02 |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing YAFU 1.34 on Linux | Romuald | YAFU | 12 | 2015-12-06 09:52 |
mprime and linux | Echoblade | Information & Answers | 3 | 2007-06-24 22:28 |
How to Compile mprime Under Linux | Blaise Pascal | Software | 12 | 2005-01-13 14:40 |
Instructions for using Mprime under Linux | tha | Software | 7 | 2004-01-12 18:45 |
MPrime on Linux | optim | Software | 13 | 2003-12-06 04:27 |