Go to the U of M home page
School of Physics & Astronomy
School of Physics and Astronomy Wiki

User Tools


computing:software:idl

This is an old revision of the document!


IDL

IDL software is licensed and paid for by specific research groups within the School (specifically Astronomy, Cosmology and Biological Physics). If you are not a member of these groups, then please do not try installing this software.

Download the installer

<note> IDL is pre-installed on the departmentally-managed linux and windows systems, so these instructions should be unnecessary. More information specific to IDL on Physics linux cluster </note>

Go to your MyPhys page and choose software downloads.

Windows installation

  • Download the Windows IDL installer.
  • Run the installer
  • Next you need to define an environment variable to tell IDL the location of our license server.
    • Open the System control panel.
    • Click the Advanced tab, and click the Environment Variables button. Click the New button below the System Variables box and enter the following information:
      • In the Variable Name field, type LM_LICENSE_FILE in uppercase letters.
      • In the Variable Value field, enter 1700@idl.spa.umn.edu
    • If LM_LICENSE_FILE has already been defined for another software product, the definition of this license file can be appended using a semi-colon (;) as the delimiter. For example: C:\License\mylicense.dat;1700@idl.spa.umn.edu
    • Save the settings.

Unix, Linux or Mac OS installation

  • Download the installer (either a tar.gz file for linux, or a pkg file for Mac).
  • Run the installer
  • Define the LM_LICENSE_FILE environment variable, by modifying your .cshrc, .profile, or .bashrc file using any text editor. You must define the UNIX environment variable for LM_LICENSE_FILE to point to the server and port of the machine running the license manager.
    • For C shell: “setenv LM_LICENSE_FILE 1700@idl.spa.umn.edu”
    • For Korn or Bash shell: “export LM_LICENSE_FILE=1700@idl.spa.umn.edu”
  • Log out and log back in to execute the .cshrc, .profile, or .bashrc file, or execute the file from the home directory using one of the following commands.
    • For C shell: source “.cshrc”
    • For Korn shell: “. .profile”
    • For Bash shell: “. .bashrc”

Alternative method for network license setup

After installing newer versions of IDL, a “license wizard” runs. If you select the option for a network license, our downloads page has a minimal license.dat file, which you can download and provide for IDL. Note that this doesn't provide a local license; you still need to be able to connect to the license server to use the program.

Running IDL from outside Tate Lab

The IDL license server is only directly accessible within Tate Lab. To access it from outside, the easiest method is to set up a network “tunnel” using ssh.

To use IDL from outside Tate Lab on Windows

  • Download the free Windows ssh client Putty. Putty doesn't need installation, just put putty.exe in any directory, e.g. c:\program files\putty
  • Click the Windows Start button, right-click “My computer”, and choose “Properties” to open the system properties dialog. Go to the “Advanced” tab and click on the “Environment Variables” button. Beneath the field labelled “System variables”, click “New”. In the Variable Name field, enter LM_LICENSE_FILE, in the Variable Value field, enter 1700@localhost, then hit the ok button.
  • Click start, go to “run” and type
    "c:\program files\putty\putty.exe" -ssh physics.umn.edu -P 22 -l <your_Physics_username> -N -L 1700:idl.spa.umn.edu:1700 -L 31700:idl.spa.umn.edu:31700

and enter your password once asked. Nothing will happen afterwards (minimize the putty window).

  • Start IDL (note that the previous step has to be done every time before you start IDL).
  • You can create a batch file that merges the above steps. Create a file called startidl.bat in the directory where idlde.exe is located (usually C:\Program Files\RSI\IDL63\bin\bin.x86). Open the batch file with a text editor and type
@echo off
start "c:\program files\putty\putty.exe" -ssh physics.umn.edu -P 22 -l <your_Physics_username> -N -L 1700:idl.spa.umn.edu:1700 -L 31700:idl.spa.umn.edu:31700
PING 1.1.1.1 -n 1 -w 10000 >NUL
idlde.exe

where the PING just gives you 10000 milliseconds to enter your password before IDL is started. Create a shortcut to startidl.bat file on your desktop or wherever you like it. Use it to start IDL.

On Mac OS X

You can run a similar command to the above in Terminal, to create the same ssh tunnel to the license server:

''ssh physics.umn.edu -P 22 -l <your_Physics_username> -N -L 1700:idl.spa.umn.edu:1700''
computing/software/idl.1368134239.txt.gz · Last modified: 2013/05/09 16:17 by allan