-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Hi,
When running the vibroscopy app for large systems, one may incur in the problem of filling the scratch with many output directories (one for each scf) with large wfn files, unnecessary for the vibroscopy app to successfully finish.
It would be nice to have an automatic deletion of these output directories once a batch of scf calculation is finished, in order to keep the scratch as clean as possible.
For the moment I have a script that deletes these directories for the batches, but the need of running it continuously from the terminal is risky as forgetting to do it by hand from day to day makes the probability of filling the scratch, and therefore failing the calculation, still high.
the script I use is something like this:
for ((i=N; i<=M; i+=3)); do
pk="$i"
verdi calcjob cleanworkdir $pk <<EOF
y
EOF
so it deletes from pk N to M that are the beginning and end of some batch of scf calculation