I'm running mri_reface on a cluster via Sun Grid Engine. I want to use scratch space for working files instead of the /tmp/$tempdir and ~/.mcrCache9.12 cache directories mri_reface uses by default.
You can achieve this by setting environment variables to something like:
TMPDIR="${scratch_dir}/tmp"
MCR_CACHE_ROOT="${scratch_dir}/mcr_cache"
I am running using singularity, so I set these using the `--env` argument in the `singularity run` command.
It's probably not a big deal, since mri_reface does not write much to /tmp, and I think it deletes it afterwards, and the MCR cache is about 350 MB, not enough to threaten even the small quota my home directory gets on our server. I have done any rigorous testing to see if it improves speed on my cluster. I thought I'd share in case it saves anyone else a little time.
Threaded View
| Title | Author | Date |
|---|---|---|
| Paul Wright | May 13, 2026 | |
| Christopher Schwarz | May 15, 2026 | |
| Paul Wright | 20 hours ago | |
