wareck il y a 1 an
Parent
commit
299fe1e173
2 fichiers modifiés avec 21 ajouts et 17 suppressions
  1. 1 0
      build_cube.sh
  2. 20 17
      options/chia.sh

+ 1 - 0
build_cube.sh

@@ -553,6 +553,7 @@ sudo cat <<'EOF'>> /etc/hosts
 192.168.1.8     miniserver miniserver gogserver.dnsalias.com
 192.168.1.10    nzxt
 192.168.1.11    garage
+192.168.1.12	blade
 192.168.1.254   mafreebox.freebox.fr
 192.168.1.200   node
 

+ 20 - 17
options/chia.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 set -e
 Gui=No #can be Yes No or Only
-Version=4.3
+Version=4.6
 MadMax=Yes
 GigaHorse=Yes
 BladeBit=Yes
@@ -141,17 +141,19 @@ git submodule update
 cd build
 cat <<'EOF'>> go.sh
 #!/bin/bash
-./chia_plot -n 1 -r 4 -u 128 -t /nvme0/plotting/ -2 /nvme0/plotting/ -d /media/Partage/Plots/ \
--p a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a \
--f 8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
+POOL=a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a
+FARM=8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
+OUT=/media/Partage/Plots/
+./chia_plot -p $POOL -f $FARM -n 1 -r 6 -u 128 -t /nvme0/plotting/ -2 /nvme0/plotting/ -d $OUT
 EOF
 chmod +x go.sh
 
 cat <<'EOF'>> nft.sh
 #!/bin/bash
-./chia_plot -n 1 -r 4 -u 128 -t /nvme0/plotting/ -2 /nvme1/plotting/ -d /media/Partage/Plots-nft/ \
--p a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a \
--f 8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
+POOL=a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a
+FARM=8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
+OUT=/media/Partage/Plots-nft/
+./chia_plot -p $POOL -f $FARM -n 1 -r 4 -u 128 -t /nvme0/plotting/ -2 /nvme1/plotting/ -d $OUT
 EOF
 chmod +x nft.sh
 echo -e "\e[97mDone.\e[0m"
@@ -170,21 +172,21 @@ if [ ! -d build ];then mkdir build;fi
 cd build
 cmake ..
 make -j6
-cat <<'EOF'>> hpool.sh
+cat <<'EOF'>> cuda.sh
 #!/bin/bash
 ./bladebit_cuda \
--p a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a \
+-c xch10yjksfwm8s66z32qy35x950608hk8l67vmsur4rwpaanpkd6ks3qhfw5nk \
 -f 8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373 \
 diskplot -t1 /nvme0/plotting/ -t2 /nvme1/plotting/ /farm/farm0/Plots/
 EOF
 cat <<'EOF'>> flex.sh
 #!/bin/bash
-./bladebit_cuda \
--c xch10yjksfwm8s66z32qy35x950608hk8l67vmsur4rwpaanpkd6ks3qhfw5nk \
--f 8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373 \
-diskplot -t1 /nvme0/plotting/ -t2 /nvme1/plotting/ /farm/farm0/Plots/
+CRT=xch10yjksfwm8s66z32qy35x950608hk8l67vmsur4rwpaanpkd6ks3qhfw5nk
+FRM=8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
+OUT=/media/Partage/Plots-nft/
+./bladebit -f $FRM -c $CRT diskplot --cache 100G -t1 /nvme1/plotting/ -t2 /nvme1/plotting/ $OUT
 EOF
-chmod +x hpool.sh
+chmod +x cuda.sh
 chmod +x flex.sh
 echo -e "\e[97mDone.\e[0m"
 }
@@ -216,9 +218,10 @@ sudo mv distrib_chia.sh /usr/local/bin/
 
 cat <<'EOF'>> ~/go.sh
 #!/bin/bash
-./chia_plot -G -r 6 -z 1447 -C 8 -n -1 -t /nvme0/plotting/ -2 /nvme1/plotting/ -d @192.168.1.100 \
--c xch10yjksfwm8s66z32qy35x950608hk8l67vmsur4rwpaanpkd6ks3qhfw5nk \
--f 8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
+CRT=xch10yjksfwm8s66z32qy35x950608hk8l67vmsur4rwpaanpkd6ks3qhfw5nk
+FRM=8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
+OUT=@192.168.1.100
+./chia_plot -c $CRT -f $FRM -G -r 6 -z 1447 -C 8 -n -1 -t /nvme0/plotting/ -2 /nvme1/plotting/ -d $OUT
 EOF
 chmod +x ~/go.sh
 cp ~/go.sh ~/chia/chia-gigahorse/cpu-plotter/linux/x86_64/