Код: Выделить всё
for i in {0..705..13}
do
run -t 200:00 -c 1 -m 270 python3 code.py $i $((i + 13))
sleep 0.1
done
Код: Выделить всё
l_random_portions = np.arange(1000, 1800000000+2.5*10**6, 2.5*10**6)[int(sys.argv[1]):int(sys.argv[2])]
print(f'\nRandom portions from {min(l_random_portions)} to {max(l_random_portions)} tokens will be selected')
Код: Выделить всё
Traceback (most recent call last):
File "code.py", line n, in
print(f'\nRandom portions from {min(l_random_portions)} to {max(l_random_portions)} tokens will be selected')
ValueError: min() arg is an empty sequence
srun: error: slurm21: task 0: Exited with exit code 1
Подробнее здесь: https://stackoverflow.com/questions/790 ... ash-orders