Scratch Disks
Fast I/O (input/output) is facilitated with use of the local scratch disks available on the compute nodes.
note
IMPORTANT: It is important to make efficient use of Elja and to not slow down the network traffic on the cluster. Hence, it is advisable to copy the data and input for your job over to the local scratch disk on the compute nodes (/scratch/users/) and launch the program from there. If this step is omitted then the program will run remotely on the compute nodes but will constantly read/write from/to the submit directory on the NFS server. This creates a lot of network traffic and slows doen the use of Elja for everybody. It will also slow down the job itself.
#
Using /scratch/users/ with SBATCHThe example here assumes the user is working with SBATCH scripts and in some work directory in the users home folder. For example
and your SBATCH submit script is in the same directory
Example of bash lines for /scratch/users/ are provided below. The following lines should be added to your SBATCH script. An example SBATCH script is provided at the end.
An example SBATCH script for a typical Python job is provided here. Similar commands can be used when the user is in an interactive session.