If there are multiple jobs running spice, then all the cache data are written to the same cache file. Besides, we could handle the temp file better with context manager in case of any error encountered or any abortion catched, the temp files will finally be removed.
If there are multiple jobs running spice, then all the cache data are written to the same cache file. Besides, we could handle the temp file better with context manager in case of any error encountered or any abortion catched, the temp files will finally be removed.