How to change the tmp directory path when calling TF?

Hello, I use an HPC that has a small capacity disk for the tmp folder. The HPC has local disks available for this purpose. This is handy because I can scale the capacity of my local disk to my application. However, I need to pass the path pointing to the local disks to Python when submitting a job.

How can I set the path I want Tensorflow to use instead of the one pointing to the tmp directory?

Thank you in advance,

All the best,

Benoit