comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to change ENVI tmp folder in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: How to change ENVI tmp folder in IDL [message #81505] Mon, 01 October 2012 04:43
Yngvar Larsen is currently offline  Yngvar Larsen
Messages: 134
Registered: January 2010
Senior Member
On Saturday, 29 September 2012 06:24:02 UTC+2, Danxia wrote:
> Hi All, I'm using IDL+ENVI on a linux server. Due to the limitation of space on the server, if the tmp folder of ENVI gets full, other people can't run their code. And I'm not the administrator of server, so I can't empty the temp folder. So I'm wondering if there's a way to set my own tmp folder of ENVI through IDL code, something like set tmp dir to a given folder? Thank you very much.

Solution #1:

On linux, IDL/ENVI will honor the environment variable TMPDIR. So, assuming your shell is bash, just put

export TMPDIR=/my/personal/tmp/dir/

in your .bashrc.

Solution #2:

For IDL, there is also an IDL preference IDL_TMPDIR that you can set (with PREF_SET) to override (?) the TMPDIR unix environment variable. Most likely, there is something similar for ENVI.

--
Yngvar
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: colorbar to display the 0 in the middle
Next Topic: determining the volume of a fitted ellipsoid that sticks out the sides of a polyhedron

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:40:44 PDT 2025

Total time taken to generate the page: 0.00466 seconds