Office of Information Technologies
About the OIT
Help Desk
Solutions Center
Training
Services
FAQ
Responsible Use Policy
  Contact Us
OIT Headlines
HPCC Home > HPCC Batch System > File Staging Search the OIT website  

 

File Staging/Specific File Movement to Local Machine

If you need to use data on a local /scratch filesystem you can use the UNIX cp (copy) command in the shell scripts. Because the scratch filesystem on the HPCC systems could be 10 - 100 times as fast as AFS, this can yield a large improvement in file I/O and decrease the time it takes to run jobs which do large amounts of I/O, e.g. sorting algorithms.

The use of the local /scratch space might also be used in order to minimize the loss of work should a network outage or AFS server outage occur. Many users may however just want to hassle with this and just run this out of their AFS directories. This is fine especially if large amounts of IO aren't being used. Here's a sample batch script which explicitly moves files from the AFS directory which I submitted this script from to the local /scratch filesystem. batch.script.with.io contains the following:


#!/bin/csh

cp input.file /scratch/input.file

job_to_run_with_lots_of_IO < /scratch/input.file > /scratch/output.file

cp /scratch/output.file output.file

 

(Back to HPCC Batch System Page)

modified 12/12/02

 

 

 

 

   
ND Home

OIT Home

Copyright © 2003, Office of Information Technologies (OIT),
P.O. Box 539, University of Notre Dame, Notre Dame, IN 46556

Page last modified on January 8, 2003