Distributed Computing Scripts
Linux Distributed Computing Scripts
Copyright © 2018 Teal Dulcet
Great Internet Mersenne Prime Search (GIMPS)
Prime95/MPrime
Downloads, sets up and runs Prime95.
wget https://raw.github.com/tdulcet/Distributed-Computing-Scripts/master/mprime.sh -qO - | bash -s -- [PrimeNet User ID] [Computer name] [Type of work] [Idle time to run]
To run Prime95 for Stress/Torture Testing, see the Testing and Benchmarking scripts.
CUDALucas
Downloads, builds, sets up and runs CUDALucas. Downloads, sets up and runs the Python script from Mlucas for automated PrimeNet assignments.
wget https://raw.github.com/tdulcet/Distributed-Computing-Scripts/master/cudalucas.sh -qO - | bash -s -- <PrimeNet Password> [PrimeNet User ID] [Type of work] [Idle time to run]
Mlucas
Downloads, builds, sets up and runs Mlucas. Supports x86 Intel and AMD and ARM CPUs, but only recommended for ARM CPUs, which Prime95/MPrime does not support. Prime95/MPrime is faster than Mlucas on x86 CPUs. Run: wget https://raw.github.com/tdulcet/Linux-System-Information/master/info.sh -qO - | bash -s
to output your system information, including CPU and architecture.
This script follows the recommended instructions on the Mlucas README for each architecture and CPU and is currently for testing only.
wget https://raw.github.com/tdulcet/Distributed-Computing-Scripts/master/mlucas.sh -qO - | bash -s -- <PrimeNet Password> [PrimeNet User ID] [Type of work] [Idle time to run]
Organizations
For installing on multiple computers to a shared or network directory. Developed for use by the PSU Computer Science Graduate Student Organization.
Prime95/MPrime
wget https://raw.github.com/tdulcet/Distributed-Computing-Scripts/master/mprime2.sh -qO - | bash -s -- <Computer number> [PrimeNet User ID] [Computer name] [Type of work] [Idle time to run]
CUDALucas
wget https://raw.github.com/tdulcet/Distributed-Computing-Scripts/master/cudalucas2.sh -qO - | bash -s -- <Computer number> <PrimeNet Password> [PrimeNet User ID] [Type of work] [Idle time to run]
BOINC
Downloads, installs and sets up BOINC.
wget https://raw.github.com/tdulcet/Distributed-Computing-Scripts/master/boinc.sh -qO - | bash -s -- <Project URL> <E-mail> <Password>
OR
wget https://raw.github.com/tdulcet/Distributed-Computing-Scripts/master/boinc.sh -qO - | bash -s -- <Project URL> <Account Key>
This script can be used with any project that uses BOINC.
Folding@home
Downloads, installs and sets up Folding@home.
wget https://raw.github.com/tdulcet/Distributed-Computing-Scripts/master/folding.sh -qO - | bash -s -- [Username] [Team number] [Passkey] [Power]
These scripts should work on Ubuntu and any Linux distribution that can use the apt package manager.
Contributing
Pull requests welcome!