Campuses:
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:software:idl [2011/01/25 16:50] – allan | computing: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 | + | < |
+ | 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 | ||
- | ===== Download | + | IDL is also available for general use on the physics linux cluster, and is preinstalled on the Physics AD windows systems. [[computing/ |
+ | </ | ||
- | Got to your [[https:// | + | ===== Download |
- | ===== Windows installation ===== | + | Internal physics users: go to your [[https:// |
- | * Download the IDL CD image (eg, the version 6.4 image filename is IDL_64_win.iso). | + | The IDL section contains downloads for windows |
- | * Burn a copy of the CD, and run the appropriate | + | |
+ | ===== 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 " | ||
+ | |||
+ | * Our MyPhys downloads page includes | ||
+ | * After selecting | ||
+ | |||
+ | We emphasize that this doesn' | ||
+ | |||
+ | ==== Manual Windows installation ==== | ||
+ | |||
+ | Hopefully obsolete directions, but provided for reference. | ||
+ | * Download | ||
+ | * Run the installer | ||
* Next you need to define an environment variable to tell IDL the location of our license server. | * Next you need to define an environment variable to tell IDL the location of our license server. | ||
* Open the System control panel. | * Open the System control panel. | ||
Line 19: | Line 37: | ||
* Save the settings. | * Save the settings. | ||
- | ===== Unix, Linux or Mac OS installation | + | ==== Manual |
- | Note - IDL is preinstalled on the departmentally-managed linux systems, so these instructions should be unnecessary. | + | |
- | + | * Run the installer | |
- | | + | |
- | * On Mac OS X, first insert your Mac OS CD or DVD and install "Apple X11" via the optional package installer program. | + | |
- | * Burn a copy of the downloaded IDL CD, insert it in your CD drive, and run the appropriate | + | |
* 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. | * 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: " | * For C shell: " | ||
Line 34: | Line 49: | ||
* For Bash shell: ". .bashrc" | * For Bash shell: ". .bashrc" | ||
- | ===== Running IDL from outside Tate Lab ===== | + | ===== Running IDL from off-campus |
- | The IDL license server is only directly accessible within Tate Lab. | + | To access the license server |
- | In order to use IDL on your Windows XP (and possibly Windows 2000) computer | + | Alternatively, |
- | * Download the free Windows ssh client Putty. Putty doesn' | + | ==== Windows ssh tunnel directions ==== |
- | * Click the Windows Start button, right-click "My computer", | + | |
- | * Click start, go to " | + | |
- | " | + | |
- | 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 " | + | |
- | 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. | + | |
+ | 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' | ||
+ | * As above you need to define an environment variable to tell IDL the location of our license server, but this time we will be tunneling the connection through localhost: | ||
+ | * 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@localhost | ||
+ | * 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: | ||
+ | * Save the settings. | ||
+ | * Now we set up the ssh tunnel to communicate with the license server. | ||
+ | * Click start, go to " | ||
+ | * 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 < | ||
+ | start " | ||
+ | PING 1.1.1.1 -n 1 -w 10000 >NUL | ||
+ | idlde.exe</ | ||
+ | ==== Mac OS ssh tunnel ==== | ||
+ | * Follow the section about LM_LICENSE_FILE under the OS X installation instructions above, replacing the LM_LICENSE_FILE line with '' | ||
+ | * Launch the Terminal application and run the following command to create the ssh tunnel to the license server:< | ||
+ | * Enter your password when prompted. | ||
+ | * Start IDL | ||