Handling references to __main__ in a python debugging tool
As I continue to build an automatic checkpointing solution for python scripts,
I ran into an interesting issue involving references to __main__
.
exploring the world with 1s and 0s
Welcome to my website! My topics of interest are distributed systems, storage/databases, compilers, and programming languages. I also dabble in generative art from time to time. You can find my blog here where I will write about my professional/research interests. My newer personal website and personal blog are at https://moontowercomputer.club/~aneesh and https://moontowercomputer.club/~aneesh/blog respectively.
As I continue to build an automatic checkpointing solution for python scripts,
I ran into an interesting issue involving references to __main__
.
Have you ever ran a long-running script, only to decide after it completes that there’s some other operation you wish you’d included, or maybe there’s a bug causing the script to crash, throwing away your intermediate results in the process? Automatic checkpointing could be a viable solution for you!
I recently had a slow python script that seemed like a good workload to accelerate on the GPU. This post goes over some of my thoughts regarding that experience!
see all my posts here
clang
and Cypher
MPI
operations from being called during another collective operationls
, cat
, hexdump
and many more!