Re: [gridengine users] TMPDIR is missing from prolog script (CentOS 7 SGE 8.1.9)

2018-12-07 Thread Derrick Lin
Reuti, My further tests confirm that $TMP is set inside PROLOG, $TMPDIR is not. Both $TMPDIR and $TMP are set in job's environment. So technically my problem is solved by switching to $TMP. But I am still wondering if this is an issue for SGE 8.1.9 Cheers, Derrick On Sat, Dec 8, 2018 at 3:49

Re: [gridengine users] TMPDIR is missing from prolog script (CentOS 7 SGE 8.1.9)

2018-12-07 Thread Reuti
> Am 06.12.2018 um 23:52 schrieb Derrick Lin : > > Hi all, > > We are switching to a cluster of CentOS7 with SGE 8.1.9 installed. > > We have a prolog script that does XFS disk space allocation according to > TMPDIR. > > However, the prolog script does not receive TMPDIR which should be crea

Re: [gridengine users] $TMPDIR With MPI Jobs

2018-12-07 Thread Mark Dixon
On Thu, 6 Dec 2018, Reuti wrote: ... > One can create persistent scratch directories e.g. in a job prolog (just > make the list of nodes unique and issue `qrsh -inherit ...` for each > nodes `mkdir $TMPDIR-persistent` Curley braces are optional here, as the > dash can't be a character in an envi