next up previous contents
Next: Appendix II: Other tips Up: An Introduction to IDL Previous: IDL-meteorology haiku   Contents

Appendix: IDL setup

IDL will find any .pro files in your current directory. Keeping all IDL code in one directory gets pretty messy though!

Adding

setenv IDL_PATH "<IDL_DEFAULT>:+$HOME/IDL/Procedures"
to your .cshrc file (in your home directory) will let it find any .pro in any subdirectory of HOME/IDL/Procedures. You can then have many subdirectories of similar IDL programs. Note for changes to your .cshrc to work, you need to do source .cshrc .

Also useful to know that /usr/local/bin/lmutil lmstat -c 27000@see-lm-01 -S idl_lmgrd in UNIX lists who is using IDL -- useful when we run out of licences.

I have an alias to this in my .cshrc

alias whoidl '/usr/local/bin/lmutil lmstat -c 27000@see-lm-01 -S idl_lmgrd'

Note vi, emacs etc will all highlight IDL code in colour.



John Marsham 2009-12-07