$TMPDIR for interactive job on Hoffman2

Creation date: 4/11/2019 12:35 PM    Updated: 10/28/2019 9:40 AM
Question:

Hi,
I want to test my scripts to use $TMPDIR. But if I run an interactive job, $TMPDIR is not defined.
Is this an expected behaviour?


Answer:

A solution is to get an interactive session in the usual way and then issue:

. /u/local/bin/set_qrsh_env.sh

this command (do not forget the leading "." and the space before the script) will import in your sessions all the variables set up by the scheduler.
Files