Setting TMPDIR: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
Megen002 (talk | contribs)
No edit summary
Phase 1 § 5 P1.5.3: content merged into Installing Personal Software (via update-page on MediaWiki MCP Server)
Tag: New redirect
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Many programs require writing intermediary or temporary information. A process may even require writing to a temporary location without a user knowing it. For instance, the command <code>sort</code>, part of the <code>bash</code> toolkit, requires a lot of temporary file space when sorting large volumes of data. Often programs take the system default, which is usually <code>/tmp</code> on Linux systems. The <code>/tmp</code> partition is however often too limited in size and can get filled up. When this happens all users that require write access to <code>/tmp</code> will experience problems in running jobs, which can range from unexpected quitting of processes, to erroneous output.
#REDIRECT [[Installing Personal Software#Custom temporary directory (TMPDIR)]]
 
 
<source lang='bash'>
mkdir /lustre/scratch/WUR/ABGC/[user]/tmp
</source>
 
<source lang='bash'>
export TMPDIR=/lustre/scratch/WUR/ABGC/[user]/tmp
</source>

Latest revision as of 13:34, 16 June 2026