Post
Topic
Board Development & Technical Discussion
Re: How to use brainflayer on each cpu core ? multithreaded ?
by
nunucbka
on 17/01/2019, 18:33:26 UTC

sleep: missing operand

For what is here "sleep" ?

run script in such a way:
Code:
./{script_name} N

Where 'N' is the number of seconds what processes will work for. If you want brainflayer to work with one start value only just remove following rows:
Code:
while 2>1
do
and also replace last 2 rows
Code:
sleep $tosleep
done
with
Code:
wait
kill $(pgrep brainflayer | echo $(tr '\n' ' '))