Great Internet Mersenne Prime Search - as a daemon
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
mprimed
setup.sh
startmprime
uninstall.sh

README.md

mprime-gimps

Run Mersenne GIMPS Prime95 client -mprime- as a service/daemon on Debian Linux.

Getting Started

Have a read over at Mersenne for getting-started instructions.

Installing

The installation is prepared to be as turn-key as possible to the best of my ability, using setup.sh.

sudo apt-get install git wget -y
git clone https://github.com/ThatKalle/mprime-gimps.git
cd mprime-gimps/
sudo chmod a+x setup.sh
sudo ./setup.sh

With the installation at the Ready? (y/n) prompt you'll have to configure mprime for you and your computer.
There are 4 settings of basic interest. Keep the rest at defaults.

  1. Your user ID or "ANONYMOUS":
    Give it the User ID you created over at Mersenne.
    This is used to connect the computer to Your account.
  2. Optional computer name:
    This is used to identify this instance of mprime, give it a descriptive name - desktop-01
  3. Daytime/Nighttime stage 2 memory in MB (8):
    The default setting is to use 8MB of RAM, this is good if the machine is running mprime on the side, but should ideally be increased to increase performance.
    If desired.

Running

sudo /etc/init.d/mprimed {start|stop|restart|status|force-reload}
tail -f /var/log/mprime.log
tail -f /usr/sbin/mprime/prime.log
/usr/sbin/mprime/mprime -s

Environment

With the installation complete you'll have a few more folders, scripts, and one more user account on the machine.
User account: mprime
Files/Folders:
/etc/init.d/mprimed
/usr/sbin/mprime/*
/var/log/mprime.log
/var/run/mprimed.pid
/etc/logrotate.d/mprimed

Uninstalling

uninstall.sh has been created to remove what's installed, please note that it's dirty, ie, no pre-checks are done.
Use at own risk.

sudo apt-get install git -y
git clone https://github.com/ThatKalle/mprime-gimps.git
cd mprime-gimps/
sudo chmod a+x uninstall.sh
sudo ./uninstall.sh
sudo apt-get remove git wget -y

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments