atomec-project / atoMEC

Python-based average-atom code for simulations of high energy density phenomena such as in warm dense matter.
https://atomec-project.github.io/atoMEC/
BSD 3-Clause "New" or "Revised" License
17 stars 12 forks source link

Add prefix to joblib data folder #138

Closed timcallow closed 2 years ago

timcallow commented 2 years ago

Previously we generated a temporary folder with a totally random name to store large arrays during joblib parallelization. Unfortunately, when a job is interrupted with ctrl-c any such folders remain. This is slightly annoying when several random folders build up (since they must be removed one-by-one...) and might also look strange to someone not aware of their origin.

Therefore a prefix atoMEC_tmpdata_ is added to the folder names so they can be deleted in a single command, and to make it clear they are generated by atoMEC.