Scratch

From UF HPC Wiki

Jump to: navigation, search

The UF HPC Center has a fast scratch space for use by users to both read from and output data from their programs to. This scratch space is located at the location exhibited in the environment variable "UFHPC_SCRATCH" which is automatically installed in a user's session.

To see where this scratch space is, you can do the following:

echo $UFHPC_SCRATCH

The resultant directory is where the scratch space is located for your account.

Frequently Asked Questions

  • Can I submit jobs from /scratch or do I have to submit them from home? I had always been submitting them from home.
    • Yes! This is not a problem at all.
  • Can the program my scripts run be located on /scratch rather than home? I had the program in home, but if I can move it to scratch and submit from /scratch, that would be the simplest solution.
    • Sure thing. This will probably help in the long run as the scratch filesystem is a faster one that your home area.
  • Should I avoid jobs reading data in my home directory, too?
    • Yes. You should both read and write data for your programs from the scratch area as it is much more efficient.
  • If I copy the scripts to my /scratch directory, what modifications to my script will need to be made?
    • You will have to at least put in a CD command to change directory to the right place. Otherwise the commands may not work properly on standard input.
Personal tools