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

User Tools


computing:software:idl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computing:software:idl [2013/05/08 17:43] allancomputing:software:idl [2015/11/25 11:22] (current) – [Network license setup] allan
Line 1: Line 1:
 ====== IDL ====== ====== IDL ======
  
-IDL software is licensed and paid for by specific research groups within the department. If you are not a member of these groups, then please do not try installing this software.+<note> 
 +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 install this software on your own lab computers. 
 + 
 +IDL is also available for general use on the physics linux cluster, and is preinstalled on the Physics AD windows systems. [[computing/department/unix/software/idl|More information specific to IDL on Physics linux cluster]] 
 +</note> 
 + 
 +===== Download and run the installer ===== 
 + 
 +Internal physics users: go to your [[https://www.physics.umn.edu/resources/myphys/|MyPhys page]] and choose software downloads. 
 + 
 +The IDL section contains downloads for windows (''.exe''), linux (''.tar'') and Mac (''.pkg''). 
 + 
 +===== Network license setup ===== 
 + 
 +IDL needs to communicate with our license server in order to run. The license server is directly accessible from the campus network, but you need to take special steps to connect from off-campus. 
 + 
 +After downloading and running the installer, newer versions of IDL start a "license wizard".
  
-===== Download the installer =====+  * Our MyPhys downloads page includes a minimal ''license.dat'' file, which you should download. 
 +  * After selecting the option for a network license, provide this file to the license wizard.
  
-Go to your [[https://www.physics.umn.edu/resources/myphys/|MyPhys page]] and choose software downloads.+We emphasize that this doesn't provide a local, standalone license - we only support use with the network license server. If you need to run in disconnected mode, you will need to purchase your own license directly from IDL (Exelis).
  
-====Windows installation =====+==== Manual Windows installation ====
  
 +Hopefully obsolete directions, but provided for reference.
   * Download the Windows IDL installer.   * Download the Windows IDL installer.
   * Run the installer   * Run the installer
Line 19: Line 37:
     * Save the settings.     * Save the settings.
  
-====Unix, Linux or Mac OS installation ====+==== Manual Unix, Linux or Mac OS installation ====
- +
-<note> +
-IDL is preinstalled on the departmentally-managed linux systems, so these instructions should be unnecessary. [[computing/department/unix/software/idl|More information specific to IDL on Physics linux cluster]] +
-</note>+
  
   * Download the installer (either a ''tar.gz'' file for linux, or a ''pkg'' file for Mac).   * Download the installer (either a ''tar.gz'' file for linux, or a ''pkg'' file for Mac).
Line 35: Line 49:
     * For Bash shell: ". .bashrc"     * For Bash shell: ". .bashrc"
  
-==== Alternative method for network license setup ====+===== Running IDL from off-campus =====
  
-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'' filewhich 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.+To access the license server from outsidethe easiest, and recommended method is to connect to the [[http://it.umn.edu/virtual-private-network-vpn|University VPN]].
  
-===== Running IDL from outside Tate Lab =====+Alternatively, you can set up a network "tunnel" using ssh.
  
-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.+==== Windows ssh tunnel directions ====
  
-**To use IDL from outside Tate Lab on Windows** +This is one of many possible methods (actually it's probably easier to use **MobaXterm** than putty - we'll aspire to replacing these one day) 
- +  * Download the free Windows ssh client Putty. Putty doesn't need installation, just put putty.exe in any convenient directory such as ''C:\\Program files\putty.exe'', or even on the desktop. 
-  * 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 +  * As above you need to define an environment variable to tell IDL the location of our license serverbut this time we will be tunneling the connection through localhost: 
-  * Click the Windows Start buttonright-click "My computer", and choose "Properties" to open the system properties dialogGo to the "Advancedtab and click on the "Environment Variablesbutton. Beneath the field labelled "System variables", click "New"In the Variable Name field, enter LM_LICENSE_FILEin the Variable Value field, enter 1700@localhost, then hit the ok button+    * Open the System control panel. 
-  * Click start, go to "run" and type <code> +    * Click the Advanced taband click the Environment Variables button. Click the New button below the System Variables box and enter the following information: 
-"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</code> +      * In the Variable Name field, type LM_LICENSE_FILE in uppercase letters. 
-and enter your password once asked. Nothing will happen afterwards (minimize the putty window). +      * In the Variable Value field, enter 1700@localhost 
-  * Start IDL (note that the previous step has to be done every time before you start IDL). +    * 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@localhost%%  
-  * 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 +    * Save the settings
-<code> +  * Now we set up the ssh tunnel to communicate with the license server. 
-@echo off +    * Click start, go to "run" and type <code>"c:\program files\putty\putty.exe" -ssh ssh.physics.umn.edu -l <your_Physics_username> -N -L 1700:idl.spa.umn.edu:1700 -L 31700:idl.spa.umn.edu:31700</code> and enter your password once asked. Nothing will happen afterwards (minimize the putty window). 
-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+    * 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 <code>@echo off 
 +start "c:\program files\putty\putty.exe" -ssh ssh.physics.umn.edu -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 PING 1.1.1.1 -n 1 -w 10000 >NUL
-idlde.exe +idlde.exe</code> The PING command is just to give you a brief delay (10000 millisecondsto 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. 
-</code> +
-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: +==== Mac OS ssh tunnel ====
-  ''ssh physics.umn.edu -P 22 -l <your_Physics_username> -N -L 1700:idl.spa.umn.edu:1700''+
  
 +  * Follow the section about LM_LICENSE_FILE under the OS X installation instructions above, replacing the LM_LICENSE_FILE line with ''setenv LM_LICENSE_FILE 1700@localhost'' or ''export LM_LICENSE_FILE=1700@localhost'', depending on your shell. Note: This step only needs to be done once.
 +  * Launch the Terminal application and run the following command to create the ssh tunnel to the license server:<code>ssh ssh.physics.umn.edu -l <your_Physics_username> -N -L 1700:idl.spa.umn.edu:1700 -L 31700:idl.spa.umn.edu:31700</code> Note: This step needs to be repeated each time you want to run IDL.
 +  * Enter your password when prompted.
 +  * Start IDL
  
computing/software/idl.1368053032.txt.gz · Last modified: 2013/05/08 17:43 by allan