Skip to content, skip to search, or skip to navigation

Setting Up Your IDL Environment


Linux Users

  1. Create a .idlenv (dot idlenv) file in your home directory and add the following lines:

    setenv IDL_DIR /apps3/rsi/idl_8.3

    setenv LM_LICENSE_FILE ${IDL_DIR}/license/license.dat


    setenv IDL_PATH +$IDL_DIR/lib
    setenv IDL_PATH $IDL_PATH{:}+/apps2/idl_ulib/external

    setenv IDL_DEVICE X

    if (-e ~/.idlstartup) then
      setenv IDL_STARTUP ~/.idlstartup
    endif

    alias idl '${IDL_DIR}/bin/idl'

    Some users will not be able to--or will choose not to--run IDL 8.3.  Those users should modify the IDL_DIR environment variable to the path of the version of IDL they will be using, e.g.,  /apps3/rsi/idl_8.1

    April 2014: saturn.berkeley.edu is still running the IDL 8.2 license server. To run IDL version 8.2 and lower, use:
    setenv IDL_DIR /apps3/rsi/idl_8.2
    setenv LM_LICENSE_FILE ${IDL_DIR}/license/license.dat.saturn


    Bash users should use the following format for setting environment variables instead of the setenv method shown above:

    IDL_DIR=/apps3/rsi/idl_8.3
    export IDL_DIR

    Linux users should verify that the directory /apps3 exists on the machine where IDL is to be run (e.g., by typing 'ls /apps3/rsi').  If the directory does not exist, please email central@astro and request that a link be made for that machine to /indirect/apps3.

  2. Append any other desired directories to your IDL_PATH by adding a line to your .idlenv file such as:

    setenv IDL_PATH $IDL_PATH{:}+/path/to/another/directory

  3. Source your .idlenv file either on the command line or as part of your .cshrc or .bashrc file: 

    source ~/.idlenv


Mac Users

As of October, 2009, we have a Mac network version of IDL.
  1. Create a .idlenv (dot idlenv) file in your home directory and add the following lines:

    setenv IDL_DIR /apps3/rsi/idl_8.3

    setenv LM_LICENSE_FILE ${IDL_DIR}/license/license.dat

    setenv IDL_PATH +$IDL_DIR/lib
    setenv IDL_PATH $IDL_PATH{:}+/apps2/idl_ulib/external

    setenv IDL_DEVICE X

    if (-e ~/.idlstartup) then
      setenv IDL_STARTUP ~/.idlstartup
    endif

    alias idl '${IDL_DIR}/bin/idl'

    Bash users should use the following format for setting environment variables instead of the setenv method shown above:

    IDL_DIR=/apps3/rsi/idl_8.3
    export IDL_DIR

  2. Append any other desired directories to your IDL_PATH by adding a line to your .idlenv file such as:

    setenv IDL_PATH $IDL_PATH{:}+/path/to/another/directory

  3. Source your .idlenv file either on the command line or as part of your .cshrc or .bashrc file: 

    source ~/.idlenv


$LastChangedDate:: 2014-04-23#$