
Chapter 2. Using the Cray T3E at CSC 15
all files before running a job from the home directory tree to the local
T3E disk described below. The home directory is suitable only for small
initialization files and frequently used small programs. It is not intended
for extensive I/O operations or for large data sets.
There are three file storage areas available for users. Usually you need
not (and should not) refer to directories with full path names. Instead,
use the symbolic names (environment variables) listed in the following
table.
Symbol Where Lifetime Backup
$HOME Home directory (NFS-mounted) Unlimited Yes
$TMPDIR /tmp/$LOGNAME One day No
/tmp/jtmp.session-id Interact. session No
/nqstmp/nqs.job-id Batch job No
$WRKDIR /wrk/$LOGNAME Seven days No
The home directory ($HOME) tree is backed up regularly. This direc-
tory is meant for permanent files, with a maximum total size of a few
megabytes. It is a typical repository for source codes and small input
files.
The temporary directory ($TMPDIR) should be used by programs which
produce temporary, run-time files. Unless changed in the login or run
script, all files will typically be deleted upon the exit of a job. The size of
the disk storage is typically a few gigabytes and no backups are taken.
The environment variable $TMPDIR can have three different values de-
pending on the execution mode, or on settings in your login scripts.
An interactive session gets a unique session id. The variable $TMPDIR
points to the directory /tmp/jtmp.session-id, which can be used to
store temporary files. The files in this directory are deleted upon the
end of the session. Thus, you may find it more convenient to redeclare
this environment variable to be /tmp/$LOGNAME, where $LOGNAME is your
username.
In a batch job, the directory $TMPDIR gets its unique value from the
identification string of the job, and this directory is removed at the end
of the job.
The working directory ($WRKDIR) differs from the temporary directory
in the storage time. However, since no backup is taken, a disk crash may
destroy its contents. Untouched files will be deleted after seven days.
Comentarios a estos manuales