We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a9b5e commit d798f69Copy full SHA for d798f69
src/sccala/scmlib/sccala.py
@@ -756,6 +756,13 @@ def bootstrap(
756
print("[TIMELIMIT] Rank %d reached wallclock limit, exiting..." % rank)
757
break
758
759
+ # If not using the default output_dir, clean up the temporary files to avoid
760
+ # excessive disk usage
761
+ if output_dir is not None:
762
+ files = glob.glob(os.path.join(output_dir_rank, "*"))
763
+ for f in files:
764
+ os.remove(f)
765
+
766
if parallel:
767
comm.Barrier()
768
h0_vals = comm.gather(h0_vals, root=0)
0 commit comments