Problems of parallel processing - shared file names
Ensure any temp files that may be written to don’t run the risk of being accessed by scripts being run in parallel - this can result in confusing results - especially if your program doesn’t crash!
I found a handy fix in csh (easily replicated in any other language) was to get into the habit of doing the following at the beginning of a script and then for different temporary files as required:
Written on November 7, 2014