10.2.6. Removing old local storage folders¶
This demo shows how to delete local storage folders across the cluster using PyOPUS.
Do not run this demo if there are any PyOPUS tasks running on the cluster because it will delete the files in their local storage folders and the tasks will fail.
# Demonstrates mirrored storage cleanup
from pyopus.parallel.mpi import MPI as VM
# Clean up local storage on all machines in the virtual machine.