How to use UGE scratch directory for file I/O
Jobs on the Hoffman2 Cluster are by default run from user home directory. User home directory uses a NFS server which at times could get very busy when several jobs are accessing files on the server at the same time. Users are advised to use $TMPDIR environment variable to store and access runtime scratch files to reduce the time delay due to NFS overhead. The environment variable $TMPDIR points to the local storage and it is almost guaranteed to get full I/O bandwidth on the local storage if no other users or jobs are also writing to the same storage on that node. Since the $TMPDIR is known only during the runtime, appropriate changes need to be made on your code to access that directory.
If you need assistance doing this, please contact user support.