Main navigation

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 harddrive and it is almost guaranteed to get full I/O bandwidth on the local harddrive if no other users or jobs are also writing to the same harddrive 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. We are providing an example here so that users can make appropriate changes in their code.

Example

If you need assistance doing this, please contact the High Performance Computing consultants at hpc@ucla.edu. The consultants respond to email sent to this address during normal business hour

Report Typos and Errors
UCLA OIT

© 2016 UC REGENTS TERMS OF USE & PRIVACY POLICY