Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cd /home/code/miners/btm-miner/btm-miner
- DRV=$( nvidia-smi -h |grep Interface | awk -Fv '{print $2}' | cut -d. -f1 )
- if [ $DRV -lt 387 ];then
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:cuda8
- else
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:cuda9
- fi
- ./miner -I 8 -user yourwallet.yourworker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement