Changes between Version 18 and Version 19 of IDL


Ignore:
Timestamp:
09/25/06 16:18:06 (19 years ago)
Author:
cdelacruz@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IDL

    v18 v19  
     1[[PageOutline]]
    12= IDL =
    23
     
    1415
    1516
    16 IDL 6.3 Web Download and Install Instructions: FlexLM License Server
    17 
    18 These instructions describe the process of downloading and installing the FlexLM license server for IDL 6.3 on your UNIX system.
    19 Before you begin:
    20 
    21     * The FlexLM license server requires approximately 8 MB of disk space.
    22     * Be sure you have root (or similar) permissions before installing.
    23 
    24 Installing the FlexLM License Server
    25 
    26 To download and install the FlexLM license server:
    27 
    28    1. Choose a place to install the license server on your system. On your local system, change to the directory you select. (In the instructions that follow, we will refer to this directory as FLEXLM_DIR.) The default location is is /usr/local/rsi. If FLEXLM_DIR does not already exist, be sure you have root (or similar) permissions, and issue the following commands to create and give access to the FLEXLM_DIR:
    29 
    30       % mkdir FLEXLM_DIR 
    31       % chmod a+rx FLEXLM_DIR 
    32 
    33    2. Select the appropriate download link for your UNIX platform. Click on the link to download the FlexLM license server. The license server installation file is a compressed archive; save it in FLEXLM_DIR.
    34    3. Change directories to FLEXLM_DIR.
    35    4. Unpack the archive. First uncompress the file by entering:
    36 
    37       % gunzip flexlm_<platform>.tar.gz 
    38 
    39       then untar the file:
    40 
    41        
    42 
    43       % tar xf flexlm_<platform>.tar 
    44 
    45        
    46 
    47       where <platform> is the platform name for your platform.
    48 
    49        
    50 
    51       Note
    52       There is no installation program included with the FlexLM installation tar files. The above commands are all that is necessary to unpack the license server files.
    53 
    54 Warning
    55 
    56 If you install the license server files in a directory other than /usr/local/rsi, you will need to manually modify the appropriate license_setup file in the bin subdirectory of the directory in which the license server was installed to reflect the path to the license server installation. You should modify:
    57 
    58     * FLEXLM_DIR/bin/license_setup if you use a C shell.
    59     * FLEXLM_DIR/bin/license_setup.bash if you use a bash shell.
    60     * FLEXLM_DIR/bin/license_setup.ksh if you use a korn shell.
    61 
    62 You do not need to make any modifications if FLEXLM_DIR is /usr/local/rsi.
    63 
    64   IDL 6.3 (April 20, 2006)
    65 
    66 == Installation ==
    67 [wiki:Carlos] added this package to [wiki:metis] by Downloading the IDL 6.2 (RHE3.x_FC3_Intelx86) Demo archive and running the ./install script.
    68 {{{
    69 root@metis:~# mkdir /usr/local/rsi
    70 root@metis:~# chmod a+rx /usr/local/rsi
    71 
    72 root@metis:/usr/local/rsi# gzip -d idl_linux.x86.tar.gz
    73 root@metis:/usr/local/rsi# tar xf idl_linux.x86.tar
    74 root@metis:/usr/local/rsi# ./install
    75 
    76 
    77 Do you accept all of the terms of the preceding license agreement? (y/n): y
    78 
    79     This script installs Unix IDL version 6.2. The current
    80     directory is assumed to be the RSI directory under
    81     which IDL is to be installed.
    82 
    83     Current directory:  /usr/local/rsi
    84     Current login: root
    85 
    86 Do you wish to continue? (y/n): y
    87 
    88     There are 3 ways to create the symbolic links or define
    89     the environment variables necessary to run IDL:
    90 
    91     1) Allow this script to install IDL in the RSI recommended
    92        manner:
    93 
    94            - If the rsi directory tree (of which IDL is a
    95              subdirectory) is not located in /usr/local/rsi,
    96              create a symbolic link called /usr/local/rsi that points
    97              at it.
    98 
    99            - Create symbolic links in /usr/local/bin for IDL and
    100              related commands. To run IDL, users must put
    101              /usr/local/bin in their execution paths. At most sites,
    102              this is already the case.
    103 
    104     2) Manually create the symbolic links using the commands:
    105 
    106            setenv  RSI  /usr/local/rsi
    107 
    108            ln -s $RSI    /usr/local/rsi
    109            ln -s $RSI/ion_6.2/bin/iond    LOCAL_DIR/iond_6.2
    110            ln -s $RSI/ion/bin/iond    LOCAL_DIR/iond
    111 
    112            ln -s $RSI/ion_6.2/bin/ionstat    LOCAL_DIR/ionstat_6.2
    113            ln -s $RSI/ion/bin/ionstat    LOCAL_DIR/ionstat
    114 
    115            ln -s $RSI/ion_6.2/bin/iondown    LOCAL_DIR/iondown_6.2
    116            ln -s $RSI/ion/bin/iondown    LOCAL_DIR/iondown
    117 
    118            ln -s $RSI/idl_6.2/bin/idl    LOCAL_DIR/idl_6.2
    119            ln -s $RSI/idl/bin/idl  LOCAL_DIR/idl
    120 
    121            ln -s $RSI/idl_6.2/bin/idlde    LOCAL_DIR/idlde_6.2
    122            ln -s $RSI/idl/bin/idlde  LOCAL_DIR/idlde
    123 
    124            ln -s $RSI/idl_6.2/bin/idlrpc    LOCAL_DIR/idlrpc_6.2
    125            ln -s $RSI/idl/bin/idlrpc  LOCAL_DIR/idlrpc
    126 
    127            ln -s $RSI/idl_6.2/bin/idlhelp    LOCAL_DIR/idlhelp_6.2
    128            ln -s $RSI/idl/bin/idlhelp  LOCAL_DIR/idlhelp
    129 
    130            ln -s $RSI/idl_6.2/bin/idlman    LOCAL_DIR/idlman_6.2
    131            ln -s $RSI/idl/bin/idlman  LOCAL_DIR/idlman
    132 
    133            ln -s $RSI/idl_6.2/bin/idldemo    LOCAL_DIR/idldemo_6.2
    134            ln -s $RSI/idl/bin/idldemo    LOCAL_DIR/idldemo
    135 
    136            ln -s $RSI/idl_6.2/bin/rsilicense    LOCAL_DIR/rsilicense_6.2
    137            ln -s $RSI/idl/bin/rsilicense    LOCAL_DIR/rsilicense
    138 
    139            ln -s $RSI/idl_6.2/bin/idlman    LOCAL_DIR/ionman_6.2
    140            ln -s $RSI/idl/bin/idlman  LOCAL_DIR/ionman
    141 
    142            ln -s $RSI/idl_6.2/bin/idlhelp    LOCAL_DIR/ionhelp_6.2
    143            ln -s $RSI/idl/bin/ionhelp  LOCAL_DIR/ionhelp
    144 
    145 
    146 
    147       where LOCAL_DIR is the path of a directory on your system
    148       that commonly appears in users' paths.
    149 
    150     3) Files named idl_setup and idl_setup.ksh are
    151        automatically created by the installation script.  These
    152        files contain appropriate definitions for IDL-related
    153        environment variables and aliases.  If you choose this
    154        option, you must have your users set up their accounts
    155        as shown below:
    156 
    157            Have your C-shell users add the line:
    158 
    159                source /usr/local/rsi/idl/bin/idl_setup
    160 
    161            to their .cshrc files.
    162 
    163            Have your Korn shell users add the line:
    164 
    165                . /usr/local/rsi/idl/bin/idl_setup.ksh
    166 
    167            to their .profile files.
    168 
    169            Have your Bash shell users add the line:
    170 
    171                . /usr/local/rsi/idl/bin/idl_setup.bash
    172 
    173            to their .bashrc files.
    174 
    175 
    176 Create the symbolic links described in option 1 above? (y/n): y
    177 
    178 
    179 
    180     Link Name: /usr/local/bin/idl_6.2
    181     Points at: /usr/local/rsi/idl_6.2/bin/idl
    182 
    183     Link Name: /usr/local/bin/iond_6.2
    184     Points at: /usr/local/rsi/idl_6.2/products/ion_6.2/ion_java/bin/iond
    185 
    186     Link Name: /usr/local/bin/iond
    187     Points at: /usr/local/rsi/idl/products/ion/ion_java/bin/iond
    188 
    189     Link Name: /usr/local/bin/ionstat_6.2
    190     Points at: /usr/local/rsi/idl_6.2/products/ion_6.2/ion_java/bin/ionstat
    191 
    192     Link Name: /usr/local/bin/ionstat
    193     Points at: /usr/local/rsi/idl/products/ion/ion_java/bin/ionstat
    194 
    195     Link Name: /usr/local/bin/iondown_6.2
    196     Points at: /usr/local/rsi/idl_6.2/products/ion_6.2/ion_java/bin/iondown
    197 
    198     Link Name: /usr/local/bin/iondown
    199     Points at: /usr/local/rsi/idl/products/ion/ion_java/bin/iondown
    200 
    201     Link Name: /usr/local/bin/idl_6.2
    202     Points at: /usr/local/rsi/idl_6.2/bin/idl
    203 
    204     Link Name: /usr/local/bin/idl
    205     Points at: /usr/local/rsi/idl/bin/idl
    206 
    207     Link Name: /usr/local/bin/idlde_6.2
    208     Points at: /usr/local/rsi/idl_6.2/bin/idlde
    209 
    210     Link Name: /usr/local/bin/idlde
    211     Points at: /usr/local/rsi/idl/bin/idlde
    212 
    213     Link Name: /usr/local/bin/idldemo_6.2
    214     Points at: /usr/local/rsi/idl_6.2/bin/idldemo
    215 
    216     Link Name: /usr/local/bin/idldemo
    217     Points at: /usr/local/rsi/idl/bin/idldemo
    218 
    219     Link Name: /usr/local/bin/idlhelp_6.2
    220     Points at: /usr/local/rsi/idl_6.2/bin/idlhelp
    221 
    222     Link Name: /usr/local/bin/idlhelp
    223     Points at: /usr/local/rsi/idl/bin/idlhelp
    224 
    225     Link Name: /usr/local/bin/ionhelp_6.2
    226     Points at: /usr/local/rsi/idl_6.2/bin/idlhelp
    227 
    228     Link Name: /usr/local/bin/ionhelp
    229     Points at: /usr/local/rsi/idl/bin/idlhelp
    230 
    231     Link Name: /usr/local/bin/idlman_6.2
    232     Points at: /usr/local/rsi/idl_6.2/bin/idlman
    233 
    234     Link Name: /usr/local/bin/idlman
    235     Points at: /usr/local/rsi/idl/bin/idlman
    236 
    237     Link Name: /usr/local/bin/ionman_6.2
    238     Points at: /usr/local/rsi/idl_6.2/bin/idlman
    239 
    240     Link Name: /usr/local/bin/ionman
    241     Points at: /usr/local/rsi/idl/bin/idlman
    242 
    243     Link Name: /usr/local/bin/idlrpc_6.2
    244     Points at: /usr/local/rsi/idl_6.2/bin/idlrpc
    245 
    246     Link Name: /usr/local/bin/idlrpc
    247     Points at: /usr/local/rsi/idl/bin/idlrpc
    248 
    249     Link Name: /usr/local/bin/rsilicense_6.2
    250     Points at: /usr/local/rsi/idl_6.2/bin/rsilicense
    251 
    252     Link Name: /usr/local/bin/rsilicense
    253     Points at: /usr/local/rsi/idl/bin/rsilicense
    254 
    255 
    256 IDL Installation Complete.
    257 
    258 Web Servers have a default directory in which Java files
    259 are located.  Please enter the directory where the Java
    260 files are located.
    261 (e.g. /usr/local/apache2/htdocs) (webserver install????)
    262 
    263 Web Servers have a default directory in which CGI executables
    264 are located.  Please enter the directory where the server
    265 executables are located.
    266 (e.g. /usr/local/apache2/cgi-bin)
    267 
    268 Please enter the fully qualified domain name and the path to
    269 the CGI executables directory for your Web server.
    270 (e.g. myhost.mydomain.com/cgi-bin)
    271 
    272 
    273 root@metis:/usr/local/rsi# idldemo
    274 
     17=== Linux Installation ===
     18Create a directory (opt/rsi) and extract the
     19contents of flexlm_linux.x86.tar.gz:
     20{{{
     21mkdir /opt/rsi
     22tar xzvf flexlm_linux.x86.tar.gz
     23
     24[0 root@mercury rsi]# ls -l
     25total 2
     26drwxr-xr-x  3 flexlm users 1024 2006-04-26 17:37 idl_6.3
     27drwxr-xr-x  2 flexlm users 1024 2006-04-26 17:37 license
     28}}}
     29
     30copy the generated license file to the 'license' folder:
     31{{{
     32# License file comments, do not delete ###############
     33# License Number(s): 95028-2
     34
     35SERVER mercury 00304853deae 1700
     36DAEMON idl_lmgrd /opt/rsi/idl_6.3/bin
     37INCREMENT idl idl_lmgrd 6.300 1-jan-0000 240 3B6690A1C4CDA1FBCE03 \
     38        VENDOR_STRING="95028-2Department License" ck=32
     39INCREMENT idl_mpeg idl_lmgrd 6.300 1-jan-0000 39 1B3690B11B14DF451346 \
     40        VENDOR_STRING="95028-2Department License" ck=249
     41FEATURESET idl_lmgrd 75181F4FAAE125CD
     42##################### end of license file #######################
     43}}}
     44Modify the environment variables/paths in the setup script;
     45chang the default installation path from /usr/local/rsi to /opt/rsi for
     46the following files: license_setup.bash, idl_lmgrd, sys5_idl_lmgrd.
     47
     48Added the following to the .bashrc file to
     49initialize the rsi paths:
     50{{{
     51. /opt/rsi/idl_6.3/bin/license_setup.bash
     52}}}
     53Modify the /opt/rsi/idl_6.3/bin/sys5_idl_lmgrd file:
     54{{{
     55#LOG_FILE_NAME="/dev/console"
     56LOG_FILE_NAME="/var/log/flexlm.log"
     57
     58create a flexlm.log file under /var/log and modify permissions/ownership
     59for the flexlm user.
     60
     61#  "start") $IDL_DIR/bin/lmgrd > $LOG_FILE_NAME &
     62"start") su flexlm -pmc "$IDL_DIR/bin/lmgrd > $LOG_FILE_NAME &"
     63
     64
     65
     66
     67# The licence management software does not require root privileges
     68# to operate.  The license management daemons should be started
     69# by a non-privileged user with a restrictive umask setting, preventing
     70# the unneccessary use of the root account.  The license manager
     71# can be started by a non-privileged user by modifying the start
     72# command from below as follows:
     73#    "start") su username -c "umask 022;$IDL_DIR/bin/lmgrd > $LOG_FILE_NAME &"
     74# where "username" is the account name of an unprivileged user that has
     75# execute permission for the license management utilities, write
     76# permission to create the log file, and read permission for the license file.
     77}}}
     78The standard installation method is to use the 'rsilicense' installation script
     79but because it is gui based, I opted to manually edit and run the
     80startup script installation file:
     81
     82lmgrd_install:
     83{{{
     84#!/bin/sh
     85# This script is intended to be run by the administrator of a UNIX system
     86# who desires to start the FlexLM license server at system boot time.
     87# A detailed description of the actions performed by this script are
     88# contained in the sys5_idl_lmgrd script.
     89#
     90# Usage: This script must be run in the directory that contains
     91# the 'sys5_idl_lmgrd' script (<IDL_DIR>/bin/).
     92#
     93.
     94.
     95.
     96    "Linux")
     97        cp sys5_idl_lmgrd /etc/init.d
     98        if [ -f /etc/rc2.d/S99sys5_idl_lmgrd ]; then
     99                rm -f /etc/rc2.d/S99sys5_idl_lmgrd
     100        fi
     101        if [ -f /etc/rc3.d/S99sys5_idl_lmgrd ]; then
     102                rm -f /etc/rc3.d/S99sys5_idl_lmgrd
     103        fi
     104        if [ -f /etc/rc4.d/S99sys5_idl_lmgrd ]; then
     105                rm -f /etc/rc4.d/S99sys5_idl_lmgrd
     106        fi
     107        if [ -f /etc/rc5.d/S99sys5_idl_lmgrd ]; then
     108                rm -f /etc/rc5.d/S99sys5_idl_lmgrd
     109        fi
     110        if [ -f /etc/rc0.d/K01sys5_idl_lmgrd ]; then
     111                rm -f /etc/rc0.d/K01sys5_idl_lmgrd
     112        fi
     113        ln -s /etc/init.d/sys5_idl_lmgrd /etc/rc2.d/S99sys5_idl_lmgrd
     114        ln -s /etc/init.d/sys5_idl_lmgrd /etc/rc3.d/S99sys5_idl_lmgrd
     115        ln -s /etc/init.d/sys5_idl_lmgrd /etc/rc4.d/S99sys5_idl_lmgrd
     116        ln -s /etc/init.d/sys5_idl_lmgrd /etc/rc5.d/S99sys5_idl_lmgrd
     117        ln -s /etc/init.d/sys5_idl_lmgrd /etc/rc0.d/K01sys5_idl_lmgrd
     118        ;;
     119}}}
     120 
     121The flexlm server can now be started:
     122{{{
     123[0 root@mercury root]# /etc/init.d/sys5_idl_lmgrd start
     124}}}
     125Check the status of the license server under /opt/rsi/idl_6.3/bin:
     126{{{
     127[1 root@mercury bin]# ./lmstat
     128lmstat - Copyright (c) 1989-2005 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
     129Flexible License Manager status on Fri 9/22/2006 13:56
     130
     131License server status: 1700@mercury
     132    License file(s) on mercury: /opt/rsi/license/license.dat:
     133
     134   mercury: license server UP (MASTER) v10.8
     135
     136Vendor daemon status (on mercury):
     137
     138 idl_lmgrd: UP v10.8
     139}}}
     140The service appears to be running but the firewall setting may be denying access to the following ports:
     141{{{
     142lsof -i:
     143
     144lmgrd     13168        root    0u  IPv4  20431       TCP *:1700 (LISTEN)
     145lmgrd     13168        root    3u  IPv4  20450       TCP localhost.localdomain:1 700->localhost.localdomain:40969 (ESTABLISHED)
     146idl_lmgrd 13169        root    0u  IPv4  20431       TCP *:1700 (LISTEN)
     147idl_lmgrd 13169        root    3u  IPv4  20434       TCP *:54694 (LISTEN)
     148idl_lmgrd 13169        root    5u  IPv4  20449       TCP localhost.localdomain:4
     149
     150
     151}}}
     152
     153
     154
     155Testing from a CW:
     156
     157{{{
     158cdelacruz@io:/opt/rsi/license$ idl
    275159IDL Version 6.2 (linux x86 m32). (c) 2005, Research Systems, Inc.
    276 
    277 % Embedded IDL: Research Systems, Inc., IDL Demo System.
    278 % Restored file: IDLRTMAIN.
    279 % Embedded IDL: Research Systems, Inc., IDL Demo System.
    280 % IDLRTMAIN: The following error was encountered:  Error loading sharable executable.
    281                Symbol: IDL_Load, File = /usr/local/rsi/idl_6.2/bin/bin.linux.x86/idl_xml.so ibstdc++.so.5:
    282 cannot open shared object file: No such file or directory  Please consult the supplier of the application.
    283 }}}
    284 
    285 == Required Packages/Dependancies ==
    286 {{{
    287 Application required the installation of libstdc++5:
    288 
    289 
    290 root@metis:/etc/apt/apt.conf.d# apt-get install libstdc++5
    291 
    292 }}}
    293 {{{
    294 root@metis:/usr/local/rsi/idl/bin# idldemo
    295 IDL Version 6.2 (linux x86 m32). (c) 2005, Research Systems, Inc.
    296 
    297 % Embedded IDL: Research Systems, Inc., IDL Demo System.
    298 % Restored file: IDLRTMAIN.
    299 % Embedded IDL: Research Systems, Inc., IDL Demo System.
    300 % Loaded DLM: XML.
    301 % Restored file: D_ICONTOUR.
    302 % Loaded DLM: JPEG.
    303 % Loaded DLM: PNG.
    304 root@metis:/usr/local/rsi/idl/bin#
    305 
    306 
    307 
    308 Added the following definition to .bashrc:
    309 
    310 . /usr/local/rsi/idl/bin/idl_setup.bash
    311 
    312 
    313 Application launches, as well as the demo modules.
    314 }}}
    315 
    316 = Astro Modules =
    317 Need to find suitable installation packages.
    318 {{{
    319 TeXtoIDL:
    320 
    321 The purpose of the TeXtoIDL routines is to make it simple to use Greek letters,
    322 subscripts and superscripts in making labels for plots in IDL. This is accomplished by
    323 allowing the user to use TeX control sequences for Greek letters and special
    324 symbols and for sub/superscripts. The TeX control sequences are simple and easy
    325 to remember, especially if you already use TeX for writing papers (for those
    326 unfamiliar with TeX, an explanation of that notation is below). The translation
    327 is done for either vector or PostScript fonts.
    328 
    329 IDLWAVE:
    330 This package has been installed as part of Emacs to enable it to understand
    331 IDL syntax, which is very useful when writing IDL scripts. A number of lines
    332 should be added to your ~/.emacs file, and IDLWAVE online information which can
    333 be viewed with `M-x idlwave-info', or follow the Menu entry in the IDLWAVE menu.
    334 IDLWAVE also enables running an IDL shell within emacs - type:
    335 
    336         M-X idlwave-shell
    337 
    338 which runs your settup defined by the environment variable IDL_STARTUP.
    339 }}}
    340 
    341 
    342 = Solaris Installation =
     160% LICENSE MANAGER: Cannot connect to license server system.
     161   The license server manager (lmgrd) has not been started yet,
     162   the wrong port@host or license file is being used, or the
     163   port or hostname in the license file has been changed.
     164  Feature:       idl
     165  Server name:   mercury
     166  License path:  /opt/rsi/idl_6.2/../license/license.dat:/opt/rsi/license -
     167     /*.lic
     168  FLEXnet Licensing error:-15,570.  System Error: 115 "Operation now in
     169  progress"
     170  For further information, refer to the FLEXnet Licensing End User Guide,
     171  available at "www.macrovision.com"..
     172  License file: /opt/rsi/idl_6.2/../license/license.dat:/opt/rsi/license/*.li
     173  c
     174% Entering timed demo mode. Each session is limited to 7 minutes
     175  of operation. Printing and file saving are disabled.
     176
     177  To obtain a temporary license allowing evaluation of the full
     178  functionality of this product contact your sales representative or
     179  RSI (303-786-9900, info@RSInc.com).
     180
     181IDL>
     182
     183 
     184Verifying connection to server (via port 1700):
     185
     186cdelacruz@phobos:~$ socat STDIO TCP4:mercury.astro.columbia.edu:1700
     1872006/09/22 14:01:12 socat[17827] E connect(3, AF=2 128.59.168.51:1700, 16): Connection refused
     188cdelacruz@phobos:~$
     189}}}
     190Assigned static ports to flexlm services and opened the ports
     191in the shorewall configuration 'rules':
     192{{{
     193
     194SERVER mercury 00304853deae 1700
     195DAEMON idl_lmgrd /opt/rsi/idl_6.3/bin PORT=1705 #assigned port for idl daemon.
     196
     197### allow acces to flexlm license server within CAL:
     198ACCEPT   cal            fw              tcp     1700
     199ACCEPT   cal            fw              tcp     1705
     200}}}
     201
     202=== Solaris Installation ===
    343203
    344204{{{
     
    433293}}}
    434294
    435 
    436 
    437 
    438 
    439 
    440 
    441 
    442 
     295== Installation ==
     296[wiki:Carlos] added this package to [wiki:metis] by Downloading the IDL 6.2 (RHE3.x_FC3_Intelx86) Demo archive and running the ./install script.
     297{{{
     298root@metis:~# mkdir /usr/local/rsi
     299root@metis:~# chmod a+rx /usr/local/rsi
     300
     301root@metis:/usr/local/rsi# gzip -d idl_linux.x86.tar.gz
     302root@metis:/usr/local/rsi# tar xf idl_linux.x86.tar
     303root@metis:/usr/local/rsi# ./install
     304
     305
     306Do you accept all of the terms of the preceding license agreement? (y/n): y
     307
     308    This script installs Unix IDL version 6.2. The current
     309    directory is assumed to be the RSI directory under
     310    which IDL is to be installed.
     311
     312    Current directory:  /usr/local/rsi
     313    Current login: root
     314
     315Do you wish to continue? (y/n): y
     316
     317    There are 3 ways to create the symbolic links or define
     318    the environment variables necessary to run IDL:
     319
     320    1) Allow this script to install IDL in the RSI recommended
     321       manner:
     322
     323           - If the rsi directory tree (of which IDL is a
     324             subdirectory) is not located in /usr/local/rsi,
     325             create a symbolic link called /usr/local/rsi that points
     326             at it.
     327
     328           - Create symbolic links in /usr/local/bin for IDL and
     329             related commands. To run IDL, users must put
     330             /usr/local/bin in their execution paths. At most sites,
     331             this is already the case.
     332
     333    2) Manually create the symbolic links using the commands:
     334
     335           setenv  RSI  /usr/local/rsi
     336
     337           ln -s $RSI    /usr/local/rsi
     338           ln -s $RSI/ion_6.2/bin/iond    LOCAL_DIR/iond_6.2
     339           ln -s $RSI/ion/bin/iond    LOCAL_DIR/iond
     340
     341           ln -s $RSI/ion_6.2/bin/ionstat    LOCAL_DIR/ionstat_6.2
     342           ln -s $RSI/ion/bin/ionstat    LOCAL_DIR/ionstat
     343
     344           ln -s $RSI/ion_6.2/bin/iondown    LOCAL_DIR/iondown_6.2
     345           ln -s $RSI/ion/bin/iondown    LOCAL_DIR/iondown
     346
     347           ln -s $RSI/idl_6.2/bin/idl    LOCAL_DIR/idl_6.2
     348           ln -s $RSI/idl/bin/idl  LOCAL_DIR/idl
     349
     350           ln -s $RSI/idl_6.2/bin/idlde    LOCAL_DIR/idlde_6.2
     351           ln -s $RSI/idl/bin/idlde  LOCAL_DIR/idlde
     352
     353           ln -s $RSI/idl_6.2/bin/idlrpc    LOCAL_DIR/idlrpc_6.2
     354           ln -s $RSI/idl/bin/idlrpc  LOCAL_DIR/idlrpc
     355
     356           ln -s $RSI/idl_6.2/bin/idlhelp    LOCAL_DIR/idlhelp_6.2
     357           ln -s $RSI/idl/bin/idlhelp  LOCAL_DIR/idlhelp
     358
     359           ln -s $RSI/idl_6.2/bin/idlman    LOCAL_DIR/idlman_6.2
     360           ln -s $RSI/idl/bin/idlman  LOCAL_DIR/idlman
     361
     362           ln -s $RSI/idl_6.2/bin/idldemo    LOCAL_DIR/idldemo_6.2
     363           ln -s $RSI/idl/bin/idldemo    LOCAL_DIR/idldemo
     364
     365           ln -s $RSI/idl_6.2/bin/rsilicense    LOCAL_DIR/rsilicense_6.2
     366           ln -s $RSI/idl/bin/rsilicense    LOCAL_DIR/rsilicense
     367
     368           ln -s $RSI/idl_6.2/bin/idlman    LOCAL_DIR/ionman_6.2
     369           ln -s $RSI/idl/bin/idlman  LOCAL_DIR/ionman
     370
     371           ln -s $RSI/idl_6.2/bin/idlhelp    LOCAL_DIR/ionhelp_6.2
     372           ln -s $RSI/idl/bin/ionhelp  LOCAL_DIR/ionhelp
     373
     374
     375
     376      where LOCAL_DIR is the path of a directory on your system
     377      that commonly appears in users' paths.
     378
     379    3) Files named idl_setup and idl_setup.ksh are
     380       automatically created by the installation script.  These
     381       files contain appropriate definitions for IDL-related
     382       environment variables and aliases.  If you choose this
     383       option, you must have your users set up their accounts
     384       as shown below:
     385
     386           Have your C-shell users add the line:
     387
     388               source /usr/local/rsi/idl/bin/idl_setup
     389
     390           to their .cshrc files.
     391
     392           Have your Korn shell users add the line:
     393
     394               . /usr/local/rsi/idl/bin/idl_setup.ksh
     395
     396           to their .profile files.
     397
     398           Have your Bash shell users add the line:
     399
     400               . /usr/local/rsi/idl/bin/idl_setup.bash
     401
     402           to their .bashrc files.
     403
     404
     405Create the symbolic links described in option 1 above? (y/n): y
     406
     407
     408
     409    Link Name: /usr/local/bin/idl_6.2
     410    Points at: /usr/local/rsi/idl_6.2/bin/idl
     411
     412    Link Name: /usr/local/bin/iond_6.2
     413    Points at: /usr/local/rsi/idl_6.2/products/ion_6.2/ion_java/bin/iond
     414
     415    Link Name: /usr/local/bin/iond
     416    Points at: /usr/local/rsi/idl/products/ion/ion_java/bin/iond
     417
     418    Link Name: /usr/local/bin/ionstat_6.2
     419    Points at: /usr/local/rsi/idl_6.2/products/ion_6.2/ion_java/bin/ionstat
     420
     421    Link Name: /usr/local/bin/ionstat
     422    Points at: /usr/local/rsi/idl/products/ion/ion_java/bin/ionstat
     423
     424    Link Name: /usr/local/bin/iondown_6.2
     425    Points at: /usr/local/rsi/idl_6.2/products/ion_6.2/ion_java/bin/iondown
     426
     427    Link Name: /usr/local/bin/iondown
     428    Points at: /usr/local/rsi/idl/products/ion/ion_java/bin/iondown
     429
     430    Link Name: /usr/local/bin/idl_6.2
     431    Points at: /usr/local/rsi/idl_6.2/bin/idl
     432
     433    Link Name: /usr/local/bin/idl
     434    Points at: /usr/local/rsi/idl/bin/idl
     435
     436    Link Name: /usr/local/bin/idlde_6.2
     437    Points at: /usr/local/rsi/idl_6.2/bin/idlde
     438
     439    Link Name: /usr/local/bin/idlde
     440    Points at: /usr/local/rsi/idl/bin/idlde
     441
     442    Link Name: /usr/local/bin/idldemo_6.2
     443    Points at: /usr/local/rsi/idl_6.2/bin/idldemo
     444
     445    Link Name: /usr/local/bin/idldemo
     446    Points at: /usr/local/rsi/idl/bin/idldemo
     447
     448    Link Name: /usr/local/bin/idlhelp_6.2
     449    Points at: /usr/local/rsi/idl_6.2/bin/idlhelp
     450
     451    Link Name: /usr/local/bin/idlhelp
     452    Points at: /usr/local/rsi/idl/bin/idlhelp
     453
     454    Link Name: /usr/local/bin/ionhelp_6.2
     455    Points at: /usr/local/rsi/idl_6.2/bin/idlhelp
     456
     457    Link Name: /usr/local/bin/ionhelp
     458    Points at: /usr/local/rsi/idl/bin/idlhelp
     459
     460    Link Name: /usr/local/bin/idlman_6.2
     461    Points at: /usr/local/rsi/idl_6.2/bin/idlman
     462
     463    Link Name: /usr/local/bin/idlman
     464    Points at: /usr/local/rsi/idl/bin/idlman
     465
     466    Link Name: /usr/local/bin/ionman_6.2
     467    Points at: /usr/local/rsi/idl_6.2/bin/idlman
     468
     469    Link Name: /usr/local/bin/ionman
     470    Points at: /usr/local/rsi/idl/bin/idlman
     471
     472    Link Name: /usr/local/bin/idlrpc_6.2
     473    Points at: /usr/local/rsi/idl_6.2/bin/idlrpc
     474
     475    Link Name: /usr/local/bin/idlrpc
     476    Points at: /usr/local/rsi/idl/bin/idlrpc
     477
     478    Link Name: /usr/local/bin/rsilicense_6.2
     479    Points at: /usr/local/rsi/idl_6.2/bin/rsilicense
     480
     481    Link Name: /usr/local/bin/rsilicense
     482    Points at: /usr/local/rsi/idl/bin/rsilicense
     483
     484
     485IDL Installation Complete.
     486
     487Web Servers have a default directory in which Java files
     488are located.  Please enter the directory where the Java
     489files are located.
     490(e.g. /usr/local/apache2/htdocs) (webserver install????)
     491
     492Web Servers have a default directory in which CGI executables
     493are located.  Please enter the directory where the server
     494executables are located.
     495(e.g. /usr/local/apache2/cgi-bin)
     496
     497Please enter the fully qualified domain name and the path to
     498the CGI executables directory for your Web server.
     499(e.g. myhost.mydomain.com/cgi-bin)
     500
     501
     502root@metis:/usr/local/rsi# idldemo
     503
     504IDL Version 6.2 (linux x86 m32). (c) 2005, Research Systems, Inc.
     505
     506% Embedded IDL: Research Systems, Inc., IDL Demo System.
     507% Restored file: IDLRTMAIN.
     508% Embedded IDL: Research Systems, Inc., IDL Demo System.
     509% IDLRTMAIN: The following error was encountered:  Error loading sharable executable.
     510               Symbol: IDL_Load, File = /usr/local/rsi/idl_6.2/bin/bin.linux.x86/idl_xml.so ibstdc++.so.5:
     511cannot open shared object file: No such file or directory  Please consult the supplier of the application.
     512}}}
     513
     514== Required Packages/Dependancies ==
     515{{{
     516Application required the installation of libstdc++5:
     517
     518
     519root@metis:/etc/apt/apt.conf.d# apt-get install libstdc++5
     520
     521}}}
     522{{{
     523root@metis:/usr/local/rsi/idl/bin# idldemo
     524IDL Version 6.2 (linux x86 m32). (c) 2005, Research Systems, Inc.
     525
     526% Embedded IDL: Research Systems, Inc., IDL Demo System.
     527% Restored file: IDLRTMAIN.
     528% Embedded IDL: Research Systems, Inc., IDL Demo System.
     529% Loaded DLM: XML.
     530% Restored file: D_ICONTOUR.
     531% Loaded DLM: JPEG.
     532% Loaded DLM: PNG.
     533root@metis:/usr/local/rsi/idl/bin#
     534
     535
     536
     537Added the following definition to .bashrc:
     538
     539. /usr/local/rsi/idl/bin/idl_setup.bash
     540
     541
     542Application launches, as well as the demo modules.
     543}}}
     544
     545= Astro Modules =
     546Need to find suitable installation packages.
     547{{{
     548TeXtoIDL:
     549
     550The purpose of the TeXtoIDL routines is to make it simple to use Greek letters,
     551subscripts and superscripts in making labels for plots in IDL. This is accomplished by
     552allowing the user to use TeX control sequences for Greek letters and special
     553symbols and for sub/superscripts. The TeX control sequences are simple and easy
     554to remember, especially if you already use TeX for writing papers (for those
     555unfamiliar with TeX, an explanation of that notation is below). The translation
     556is done for either vector or PostScript fonts.
     557
     558IDLWAVE:
     559This package has been installed as part of Emacs to enable it to understand
     560IDL syntax, which is very useful when writing IDL scripts. A number of lines
     561should be added to your ~/.emacs file, and IDLWAVE online information which can
     562be viewed with `M-x idlwave-info', or follow the Menu entry in the IDLWAVE menu.
     563IDLWAVE also enables running an IDL shell within emacs - type:
     564
     565        M-X idlwave-shell
     566
     567which runs your settup defined by the environment variable IDL_STARTUP.
     568}}}
     569
     570
     571
     572
     573
     574
     575
     576
     577
     578
     579
     580