View difference between Paste ID: hsSLvHnD and gR2e1bp5
SHOW: | | - or go back to the newest paste.
1
#!/bin/bash
2
cd /home/code/miners/btm-miner/btm-miner
3
DRV=$( nvidia-smi -h |grep Interface | awk -Fv '{print $2}' | cut -d. -f1 )
4
if [ $DRV -lt 387 ];then
5
  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:cuda8
6
else
7
  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:cuda9
8
fi
9-
./miner -user yourwallet.yourworker
9+
./miner -I 8 -user yourwallet.yourworker