Quote:
Just looking lower the heat when running scripts overnight. Guessing i should go with 4 to start then?
4 should lower the heat considerably. If it's a desktop you may consider getting a new fan and/or cleaning your existing setup (especially the heatsink). If it's a laptop you may consider buying a cooling pad if you are doing many hours long constant calculations.
Quote:
hello again , my english is not so great , what you mean is that when i save a full tree and then i load it for example some days after and try to node lock something maybe pio will have problems to solve to good accuracy ?
also when you say "the solver remembers it's far away in the calculations" you mean since the calculation where made some time ago , pio will have problems remembering everything and thus is its better to just make a new fresh tree to avoid this?
It's not about being long time ago but about being many iterations into solving. Simplifying things a bit the solver takes big steps when it starts solving (knowing the solution is very bad still) and smaller more careful steps when the solution becomes better to not disturb the balance too much. If you have already good solution and node-lock something radically different in the important part of the tree the solver doesn't know that and will continue thinking the solution is already quite good.
Quote:
Hello, I want to convert my full size saves to micro in order to be able to make reports in a reasonable time. I thought about creating a php file that converts the text file with the board list to a command line like this:
We will add a tool to convert all the saves in the future. For now you in fact need to generate that script. Maybe choosing PHP for the task isn't the best. In Python (please install the new version 3.6 or newer) it would be:
Code:
import os
import os.path
def gen_script(path):
to_convert = []
for root, dirs, files in os.walk(path):
for name in files:
if (os.path.splitext(name))[1] == '.cfr':
input_file = os.path.join(root, name)
output_file = os.path.join(root, "small", name)
to_convert.append((input_file, output_file))
for files in to_convert:
print(f'load_tree "{files[0]}"')
print(f'dump_tree "{files[1]}"')
print(f'echo {files[0]} DONE!')
print("")
You then call the function like this:
Code:
gen_script(r"C:\PioSOLVER\mysaves_to_convert")
"r" before the string is important and then you can edit the path to point to your folder.
The script saves small saves to "small" subfolder in your save folder. It takes care to filter non save files as well so it won't crash if you have scripts or other files in there.
This is still not ideal because the solver will waste a lot of time disposing of the trees. It would be better to re-start the solver for every tree to save time but this is a bit more complicated. Let me know if the script worked
Last edited by punter11235; 09-25-2018 at 02:53 AM.