Cleaning up .cache

Summary of what happened:

I am running fmriPrep (singularity: version 23.0.1) on CHPC. There is a home dir quota max of 10 GB per user. Each time I run a subject, cache dir ( i.e, /home/user/.singularity/.cache, especially the oci and the oci-tmp directories) accumulates files and fills up my home dir quota quickly. Any suggestion to avoid this issue is really appreciated.
I have copied my singularity command below.

Command used

##===== singularity job===========
singularity run \

–cleanenv \

-B ${fMRIPrepDir}:/tmp \

-B ${fMRIPrepInput}:/input \

${fMRIPrepSingImg} \

–fs-license-file ${LicenseFile} \

-w /tmp/workdir \

/input \

${fMRIPrepOutput} \

participant --participant_label ${subject} \

-vv --omp-nthreads 8 --nthreads 12 --mem_mb 40000 \

–output-space T1w MNI152NLin2009cAsym fsaverage

I am using 23.0.1 Version:

fmriPrep-23.0.1.simg

Hi @Brain,

You can move your cache directory to somewhere you have space, and then symlink it back to the original location. E.g.,

mv ~/.cache /newdrive/
ln -s /newdrive/.cache ~/.cache

Best,
Steven