HPC/Directories: Difference between revisions

From CNM Wiki
< HPC
Jump to navigation Jump to search
m (created)
 
mNo edit summary
Line 18: Line 18:
<!-- | $PBS_O_INITDIR  || || (yes) ||  the directory a job starts to run in (normally $HOME) -->
<!-- | $PBS_O_INITDIR  || || (yes) ||  the directory a job starts to run in (normally $HOME) -->
|}
|}
=== $TMPDIR ===
* is named in the environment variable $TMPDIR (typically: "/tmp/pbs_mom/12345.mds01....")
* resides on local disk on each node
* typically provides about 100 GB of space
* is the same for [MPI] processes on the SAME node (as many as given in "ppn=…")
:*  (i.e., PBS job-specific, not Unix PID-specific)
* is not shared across nodes
* will be wiped upon job exit

Revision as of 19:21, November 9, 2009

For reference, here is a summary of related directories:

Environment variable Typical value Shared across nodes Notes
$HOME /home/joe yes home sweet home
$SANDBOX /sandbox/joe yes extra storage, not backed up
$TMPDIR /tmp/pbs_mom/12345.mds01.... no job-specfic scratch
$PBS_O_WORKDIR (yes) the directory qsub was run in; typically used with cd $PBS_O_WORKDIR as first line in a job script


$TMPDIR

  • is named in the environment variable $TMPDIR (typically: "/tmp/pbs_mom/12345.mds01....")
  • resides on local disk on each node
  • typically provides about 100 GB of space
  • is the same for [MPI] processes on the SAME node (as many as given in "ppn=…")
  • (i.e., PBS job-specific, not Unix PID-specific)
  • is not shared across nodes
  • will be wiped upon job exit