|
@@ -186,10 +186,15 @@ make -j6
|
|
if [ -f cuda.sh ]; then rm cuda.sh ;fi
|
|
if [ -f cuda.sh ]; then rm cuda.sh ;fi
|
|
cat <<'EOF'>> cuda.sh
|
|
cat <<'EOF'>> cuda.sh
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
-./bladebit_cuda \
|
|
|
|
--c xch10yjksfwm8s66z32qy35x950608hk8l67vmsur4rwpaanpkd6ks3qhfw5nk \
|
|
|
|
--f 8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373 \
|
|
|
|
-diskplot -t1 /nvme0/plotting/ -t2 /nvme1/plotting/ /farm/farm0/Plots/
|
|
|
|
|
|
+POOL=a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a
|
|
|
|
+FARM=8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
|
|
|
|
+OUT=/farm/farm0/Plots
|
|
|
|
+for i in {1..5}
|
|
|
|
+do
|
|
|
|
+./bladebit_cuda --no-direct-io -p $POOL -f $FARM -z 7 cudaplot -d 0 --disk-16 -t1 /raid/plotting $OUT
|
|
|
|
+done
|
|
|
|
+#sudo reboot
|
|
|
|
+#/home/wareck/miners/chia-miner/hpool-miner-chia -config /home/wareck/miners/chia-miner/config.yaml
|
|
EOF
|
|
EOF
|
|
if [ -f flex.sh ]; then rm flex.sh ;fi
|
|
if [ -f flex.sh ]; then rm flex.sh ;fi
|
|
cat <<'EOF'>> flex.sh
|
|
cat <<'EOF'>> flex.sh
|
|
@@ -199,17 +204,8 @@ FRM=8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7c
|
|
OUT=/media/Partage/Plots-nft/
|
|
OUT=/media/Partage/Plots-nft/
|
|
./bladebit -f $FRM -c $CRT diskplot --cache 100G -t1 /nvme1/plotting/ -t2 /nvme1/plotting/ $OUT
|
|
./bladebit -f $FRM -c $CRT diskplot --cache 100G -t1 /nvme1/plotting/ -t2 /nvme1/plotting/ $OUT
|
|
EOF
|
|
EOF
|
|
-if [ -f cuda_h9.sh ]; then rm cuda_h9.sh ;fi
|
|
|
|
-cat <<'EOF'>> cuda_h9.sh
|
|
|
|
-#!/bin/bash
|
|
|
|
-POOL=a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a
|
|
|
|
-FARM=8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
|
|
|
|
-OUT=/farm/farm4/Plots
|
|
|
|
-./bladebit_cuda -p $POOL -f $FARM -z 7 cudaplot -d 0 --disk-16 -t1 /nvme0/plotting $OUT
|
|
|
|
-EOF
|
|
|
|
chmod +x cuda.sh
|
|
chmod +x cuda.sh
|
|
chmod +x flex.sh
|
|
chmod +x flex.sh
|
|
-chmod +x cuda_h9.sh
|
|
|
|
echo -e "\e[97mDone.\e[0m"
|
|
echo -e "\e[97mDone.\e[0m"
|
|
}
|
|
}
|
|
|
|
|