You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing an invalid output directory (e.g. one which doesn't exist, or which can't be written to), the user will only find out when the SLOTHY optimization completes, which for complicated examples can take hours. When this happens, the time and cost of optimization is currently wasted, because SLOTHY fails without having stored the result anywhere. Additionally, it leaves behind a frustrated user.
Check if the output directory exists and is writable before starting SLOTHY optimization
Optional: Catch any error while storing the optimized code, and dump it to a temporary file or the std output in this case.
The text was updated successfully, but these errors were encountered:
When passing an invalid output directory (e.g. one which doesn't exist, or which can't be written to), the user will only find out when the SLOTHY optimization completes, which for complicated examples can take hours. When this happens, the time and cost of optimization is currently wasted, because SLOTHY fails without having stored the result anywhere. Additionally, it leaves behind a frustrated user.
The text was updated successfully, but these errors were encountered: