[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Parallel Bug Reports Temp file location
From: |
Josef wells |
Subject: |
Re: GNU Parallel Bug Reports Temp file location |
Date: |
Mon, 14 Dec 2015 07:52:39 -0600 |
On Sun, Dec 13, 2015 at 6:52 AM, Ole Tange <address@hidden> wrote:
> On Fri, Dec 11, 2015 at 11:16 PM, Josef wells
> <address@hidden> wrote:
>> Normal operation of parallel seems to use ~/.parallel/tmp in some
>> cases this is a long-distance network drive for me.. I'm unclear on
>> exactly what goes here, the files mostly look like
>> "linelen-<hostname>".
>>
>> Is there a way to relocate this area?
>
> The linelen-<hostname> file is used for caching the max line length as
> that takes 100 ms to compute. As long as you do not use 'sem' across
> multiple systems, then I do not see any reason why you cannot symlink
> ~/.parallel/tmp into /tmp:
>
> TMP=$(mktemp -d)
> rm -rf ~/.parallel/tmp
> ln -s $TMP ~/.parallel/tmp
>
> Just make sure you run the above everytime /tmp has been erased.
>
>
> /Ole
Sometimes mounts fail so I'm told that I am not allowed to rely on WAN
filesystems. It would be great if $TMPDIR or --tmpdir also worked on
these files.
Josef
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: GNU Parallel Bug Reports Temp file location,
Josef wells <=