dcct optimize plot problem linux/ubuntu
-
Hi
I want to optimize my plot but I want to put my created optimized file into another drive.
Using dcct optimizer I can't find the right command to do so.
I know I may use "plot_optimizer_gui_1.0.3-j6jq" that I have download already, but I can not understand how to install and use it in linux/ubuntu.Thank you
-
@ccminer, Hello again
I have been plotting using MDCCT for about 6 days. The plotting is about finished and I am looking for optimization. Did you find an answer to this problem?
Thanks
-
@vadirthedark nope :(
-
Currently working on a solution using a modified dcct optimize file for linux.
For now if you modify the optimize.c file by changing the following section you can redirect the output wherever you like. It currently needs recompiling for each change, but recompiling is fast and trivial, so it works. I just have to brush up on my coding skills to integrate a manual change into the executable itself and add a fork to the git.
OLD
if(dir == NULL) {
sprintf(outputfile, "%llu_%llu_%llu_%llu", key, startnonce, nonces, nonces);
} else {
sprintf(outputfile, "%s/%llu_%llu_%llu_%llu",dir,key, startnonce, nonces, nonces);
}
#endifNEW
if(dir == NULL) {
sprintf(outputfile, "%llu_%llu_%llu_%llu", key, startnonce, nonces, nonces);
} else {
sprintf(outputfile, "/YOUR/DESTINATION/LOCATION/%llu_%llu_%llu_%llu", key, startnonce, nonces, nonces);
}
#endifUpdate:
If you get a not enough free space error, it's because it's checking the source drive, not the destination. Comment out the :// Enough free space? Linux only
//to it's
//#endifAny it'll bypass that check, although I'd suggest you double check your destination to make sure it has enough space, as you'll end up with a broken incomplete file if it runs out.