Repository navigation
How to run the distributed Chaffin method
Have a look at the instructions in the README file. You’ll need to install a C compiler, if you don’t have one already.
Before you start, you’ll need a working C compiler on your computer. If you know you have one, you can skip to the next section. If not, you can install one quite easily.
Open Terminal.app (it’s in Utilities), then type
xcode-select --install
and press return. A dialog box will pop up: click the Install button. Wait for the installer to finish.
The details of how to install the build tools vary depending on your Linux distribution:
-
Debian or Ubuntu:
sudo apt install build-essential -
RHEL, CentOS, Amazon Linux, etc:
yum install gcc make - Arch: build tools should already be included in the base installation
- Other: please edit this page to add instructions for other Linux distributions
To just run a single worker from scratch, once you have a working compiler, you can run:
git clone https://github.com/superpermutators/superperm.git
cd superperm/DistributedChaffinMethod
make
./DistributedChaffinMethod
If you want to specify a team name, so your team can take credit on the results page, add your team name like this:
./DistributedChaffinMethod team "Put your team name here!"
The worker is single-threaded, so it will only use one CPU core. If you want to use multiple cores, you can run multiple instances of the worker. For example, to run eight workers you could run:
for i in $(seq 1 8); do ./DistributedChaffinMethod & done