How to install superperms
on Red Hat Enterprise Linux

superperms

Daniel Llewellyn (diddledan)
  • Daniel Llewellyn (diddledan)
  • Science

Search for minimal Super Permutations

Search for minimal Super Permutations as part of a distributed computing project. More information can be found in these videos:

This article (https://www.quantamagazine.org/sci-fi-writer-greg-egan-and-anonymous-math-whiz-advance-permutation-problem-20181105/) in Quanta magazine also explains.

The search is based upon these research papers:

This snap was created by the Ubuntu Podcast community. We would be grateful if you could join the "Ubuntu Podcast" collective for this search so we can "win", but this is optional. Please also give the Ubuntu Podcast a listen in your podcatcher or at the UbuntuPodcast Website (https://ubuntupodcast.org/), and maybe join The Ubuntu Podcast Telegram chatroom (https://ubuntupodcast.org/telegram/).

Statistics for the search and team leaderboard (http://www.supermutations.net/ChaffinMethodResults/).

To run with your team set to Ubuntu Podcast:

superperms team "Ubuntu Podcast"

The default team is "Anonymous".

You can tell the program to run for a specified number of minutes, after which it will wait to finish the current task before quitting:

superperms timeLimit 120 team "Ubuntu Podcast"

This would tell the program to run for 120 minutes and then quit, after it has finished its current task.

You can also enforce a stricter time limit, using the option timeLimitHard:

superperms timeLimitHard 120 team "Ubuntu Podcast"

With this the program will run for 120 minutes and quit, within about 5 minutes of that quota, even if it is in the middle of a task.

A single client will use one CPU core, so if you want to dedicate more CPU time to the search you need to run the client multiple times - the standard is to run one client per CPU core in your PC.

This app will eat batteries on a laptop or tablet computer so it is advisable not to run this on such devices if they are not plugged-into a stable power outlet. The search will also produce a lot of heat.

The source code for this client is on GitHub (https://github.com/superpermutators/superperm).

Ongoing discussion about the search is held in the Google Group (https://groups.google.com/forum/#!forum/superpermutators).

Upstream Project: http://www.supermutations.net/ snapcraft.yaml Build Definition: https://github.com/diddlesnaps/superperms/blob/master/snap/snapcraft.yaml

Details for superperms

License
AGPL-3.0
Last updated
13 September 2019

Enable snaps on Red Hat Enterprise Linux and install superperms

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

Snap is available for Red Hat Enterprise Linux (RHEL) 7, from the 7.6 release onward, from the Extra Packages for Enterprise Linux (EPEL) repository.

It is not yet available in the EPEL 8 repository, and consequently, not yet available for RHEL 8 unless you build the RPM yourself.

The EPEL repository can be added to your system with the following command:

Adding the optional and extras repositories is also recommended:

sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms" sudo yum update

Snap can now be installed as follows:

Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:

To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:

Either log out and back in again or restart your system to ensure snap’s paths are updated correctly.

Install superperms

To install superperms, simply use the following command:

Other popular snaps…

See more...
See more in Featured

More things to do…

Get the snap store

Browse and find snaps from the convenience of your desktop using the snap store snap.

Learn more about snaps

Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.