Campuses:
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:software:idl [2012/06/04 17:34] – 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:// |
- | | + | The IDL section contains downloads for windows ('' |
+ | |||
+ | ===== 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 a minimal '' | ||
+ | * After selecting the option for a network license, provide this file to the license wizard. | ||
+ | |||
+ | We emphasize that this doesn' | ||
+ | |||
+ | ==== Manual Windows installation ==== | ||
+ | |||
+ | Hopefully obsolete directions, but provided for reference. | ||
+ | | ||
* Run the installer | * 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. | ||
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 | |
- | | + | |
* 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 32: | 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 or Windows 7 computer | + | Alternatively, |
- | | + | ==== Windows ssh tunnel directions ==== |
- | * Click the Windows Start button, right-click "My computer", | + | |
- | * Click start, go to " | + | 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) |
- | " | + | |
- | and enter your password once asked. Nothing will happen afterwards (minimize the putty window). | + | * 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 |
- | * Start IDL (note that the previous step has to be done every time before you start IDL). | + | * Open the System control panel. |
- | * 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 | + | * Click the Advanced tab, and click the Environment Variables button. |
- | < | + | * In the Variable Name field, |
- | @echo off | + | * In the Variable Value field, enter 1700@localhost |
- | start " | + | * 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. | ||
+ | | ||
+ | | ||
+ | * 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 | PING 1.1.1.1 -n 1 -w 10000 >NUL | ||
- | idlde.exe | + | 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 in Terminal, to create the same ssh tunnel | + | ==== 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 | ||