Announcement

Collapse
No announcement yet.

Bash script to run GpuOwl PRP under tmux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bash script to run GpuOwl PRP under tmux

    Code:
    #!/bin/bash
    
    set -o xtrace
    
    # Start tmux session for primenet instances
    tmux new-session -c /home/zzzz -s test -d 'watch -n 1 sensors'
    tmux split-window -d -c /home/zzzz/gpuowl -t test './gpuowl -dir /home/zzzz/gpuowl -user xxxx -block 400 -log 10000 -cpu cccc -device 0'
    tmux split-window -d -c /home/zzzz/gpuowl -t test './primenet.py -u xxxx -p yyyy --dirs /home/zzzz/gpuowl -t 3600 -w 150 --tasks 2'
    tmux select-layout -t test tiled
    tmux attach -t test
    This script opens 3 windows under a Tmux session:
    1. watch sensors window
    2. gpuowl window
    3. primenet.py window
Working...
X