avatar  


Recently viewed tickets

Log out

$TMPDIR for interactive job on Hoffman2

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.
Creation date: 4/11/2019 12:35 PM (john1)      Updated: 10/28/2019 9:40 AM (bpape)
Files
Screen Shot 2019-04-15 at 10.56.03 AM.png
155.9 KB