Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save digitalspaceport/d8904efda4d5997a2f0e9caf31cff1c3 to your computer and use it in GitHub Desktop.
Save digitalspaceport/d8904efda4d5997a2f0e9caf31cff1c3 to your computer and use it in GitHub Desktop.
1 liner to compile MadMax Chia plotter for Centos 7.
yum -y update
yum install vim -y
yum install htop -y
yum install git -y
yum -y install epel-release -y
yum install cmake3 gmp-devel libsodium gmp-static libsodium-static -y
yum -y install centos-release-scl -y
yum -y install cmake3 -y
sudo alternatives --install /usr/local/bin/cmake cmake /usr/bin/cmake3 20 \
--slave /usr/local/bin/ctest ctest /usr/bin/ctest3 \
--slave /usr/local/bin/cpack cpack /usr/bin/cpack3 \
--slave /usr/local/bin/ccmake ccmake /usr/bin/ccmake3 \
--family cmake
yum install centos-release-scl -y
yum install scl-utils -y
yum install devtoolset-7 -y
scl enable devtoolset-7 bash
mkdir -v /mnt/madmax
mount -t tmpfs -o size=110G tmpfs /tmp/madmax
git clone https://github.com/madMAx43v3r/chia-plotter.git
cd chia-plotter
git submodule update --init
./make_devel.sh
cd build
./chia_plot -n 1 -r 16 -u 128 -t /mnt/ssdarray/ -2 /tmp/madmax/ -d /mnt/ssdarray/ -p a0506b13854fa750c8ff84fc12832c7a9e322197ad6e38e00b4412eb9d0ea048fa8003feb5e07dfa4a2e76dad29099a2 -f ab1ed315b8b84e14980a2da5f659d5d454bb966c508871b3d5fd5019badecc782b062b23138b9eaad3f0dc29e77976a2
@digitalspaceport
Copy link
Author

Please alter keys (unless you want to plot for me), and have /mnt/ssdarray already set up with whatever you want for non-ramdisk processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment