- Adapting an App for Use on Hoffman2
- Code/Programming/Scripts
- Jupyter on Hoffman2
- Licensed Software
- Software Installation Help (Project/Home directory)
- Other
- Access / Permissions / Quotas
- Cloud Storage (AWS, Box, etc.)
- File Transfer and Globus
- General Requests
$TMPDIR for interactive job on Hoffman2
Question:
Answer:
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 | ||
---|---|---|
Screen Shot 2019-04-15 at 10.56.03 AM.png 156 KB |