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 AM Reuti <re...@staff.uni-marburg.de> wrote:

>
> > Am 06.12.2018 um 23:52 schrieb Derrick Lin <klin...@gmail.com>:
> >
> > 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
> created by the scheduler.
>
> Is $TMP set?
>
> -- Reuti
>
>
> >
> > Other variables such as JOB_ID, PE_HOSTFILE are available though.
> >
> > We have been using the same script on the CentOS6 cluster with OGS/GE
> 2011.11p1 without an issue.
> >
> > Thanks in advance.
> >
> > Cheers,
> > Derrick
> > _______________________________________________
> > users mailing list
> > users@gridengine.org
> > https://gridengine.org/mailman/listinfo/users
>
>
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to