-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing directories of generations that initialized but terminated immediately #1044
Comments
Is there only a This can also be an issue when running with We could check if |
Yes there are tables and attributes as well, not just the Using |
Yes, I agree that including partial generations (or even simulations that haven't started) in analysis will be important for some analysis plots, especially for debugging issues. I think the best way to handle the status would be creating a function in Simulation that writes whatever status is passed to it to the status file ( |
Each sim firetask already returns success/failure status code. Currently, when running via Fireworks on GCloud, DockerTask writes the status, the shell output, and other info to a Also when running via Fireworks, the status gets stored in the launchpad DB. I like the idea of BTW, Python 3.5 added a handy function os.scandir() that'd make
(That's going into |
Is that fireworks that writes the code to file? Where does it end up? It still might be better handled in
It could be good to unify with |
After the Firetask raises an exception or returns normally, Fireworks records info in the launchpad DB including moving the task state to
Good idea. It could write structured text to the console (and thus to
It's OK if suboptimal for (BTW The DockerTask log does (I think) include stderr as well as stdout, also some preamble and conclusion. Example:
The last line could be better worded. The payload firetask inside Docker was not killed by the timeout. It wasn't killed due to Out Of Memory unless the Docker code changed how it indicates that status. I do not know what killed it! |
When simulations break right after a new generation initialized, they leave behind a
out/[simOutDir]/[variant]/[seed]/generation_######/
directory which contains a000000/simOut/shell.log
output that looks like this:When trying to run
runscripts/manual/analysisMultigen.py
orrunscripts/manual/analysisCohort.py
in a directory containing this "phantom generation" directory, the analysis would fail with the following error message:This could be fixed easily by removing the "phantom generation" directory, but for larger runs, one would need to go into each seed and check the last generation's
shell.log
. It would be nice to have a way to automatically delete these "phantom generation" directories or exclude them from analysis.The text was updated successfully, but these errors were encountered: