[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Parallel Bug Reports Temp file location

From: Ole Tange
Subject: Re: GNU Parallel Bug Reports Temp file location
Date: Sun, 27 Mar 2016 20:05:50 +0200

On Mon, Dec 14, 2015 at 2:52 PM, Josef wells
<address@hidden> wrote:
> On Sun, Dec 13, 2015 at 6:52 AM, Ole Tange <address@hidden> wrote:
>> 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.
> 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.

I take it that $HOME is mounted from WAN on your systems. In that case
the easy solution is to change $HOME: If you cannot rely on $HOME
change it to a dir that you _can_ rely on.

Letting ~/.parallel/tmp point to $TMPDIR defeats the purpose of having
a file system that is assumed to be shared across systems.

    mkdir /tmp/jwells
    HOME=/tmp/jwells parallel echo ::: 1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]