wiki:IDL

Version 7 (modified by cdelarcuz, 21 years ago) ( diff )

--

IDL

IDL is available from ​rsinc, for a licensing fee (apparently $480 for a "floating node license fee" for educational institutions). The current version appears to be 6.2.

They do support linux, and are moving to a kernel/glibc support indicator strategy (see ​here). This strategy apparently won't be ready until 6.3. However, that doesn't mean that the earlier systems won't have comparable support.

They also have a ​linux FAQ which seems somewhat out of date.

licensing

CAL has a "floating" 50 user license (meaning that a properly configured IDL installation requests a license while running and then returns the license when finished). The current license server runs on njord.phys.columbia.edu (a sun) and will serve licenses to any version of IDL running on any operating system. Installation of IDL on a client machine means both installing the software and a "license.dat" file that contains the information required by the license server.

license server

The license server used by IDL is FLEXlm. Instructions for installing this are available ​here.

installation

Carlos added this package to metis by Downloading the IDL 6.2 (RHE3.x_FC3_Intelx86) Demo archive and running the ./install script.

root@metis:~# mkdir /usr/local/rsi
root@metis:~# chmod a+rx /usr/local/rsi

root@metis:/usr/local/rsi# gzip -d idl_linux.x86.tar.gz
root@metis:/usr/local/rsi# tar xf idl_linux.x86.tar
root@metis:/usr/local/rsi# ./install


Do you accept all of the terms of the preceding license agreement? (y/n): y

    This script installs Unix IDL version 6.2. The current
    directory is assumed to be the RSI directory under
    which IDL is to be installed.

    Current directory:  /usr/local/rsi
    Current login: root

Do you wish to continue? (y/n): y

    There are 3 ways to create the symbolic links or define
    the environment variables necessary to run IDL:

    1) Allow this script to install IDL in the RSI recommended
       manner:

           - If the rsi directory tree (of which IDL is a
             subdirectory) is not located in /usr/local/rsi,
             create a symbolic link called /usr/local/rsi that points
             at it.

           - Create symbolic links in /usr/local/bin for IDL and
             related commands. To run IDL, users must put
             /usr/local/bin in their execution paths. At most sites,
             this is already the case.

    2) You can manually create the symbolic links using the commands:

           setenv  RSI  /usr/local/rsi

           ln -s $RSI    /usr/local/rsi
           ln -s $RSI/ion_6.2/bin/iond    LOCAL_DIR/iond_6.2
 	   ln -s $RSI/ion/bin/iond    LOCAL_DIR/iond

           ln -s $RSI/ion_6.2/bin/ionstat    LOCAL_DIR/ionstat_6.2
           ln -s $RSI/ion/bin/ionstat    LOCAL_DIR/ionstat

           ln -s $RSI/ion_6.2/bin/iondown    LOCAL_DIR/iondown_6.2
           ln -s $RSI/ion/bin/iondown    LOCAL_DIR/iondown

           ln -s $RSI/idl_6.2/bin/idl    LOCAL_DIR/idl_6.2
           ln -s $RSI/idl/bin/idl  LOCAL_DIR/idl

           ln -s $RSI/idl_6.2/bin/idlde    LOCAL_DIR/idlde_6.2
           ln -s $RSI/idl/bin/idlde  LOCAL_DIR/idlde

           ln -s $RSI/idl_6.2/bin/idlrpc    LOCAL_DIR/idlrpc_6.2
           ln -s $RSI/idl/bin/idlrpc  LOCAL_DIR/idlrpc

           ln -s $RSI/idl_6.2/bin/idlhelp    LOCAL_DIR/idlhelp_6.2
           ln -s $RSI/idl/bin/idlhelp  LOCAL_DIR/idlhelp

           ln -s $RSI/idl_6.2/bin/idlman    LOCAL_DIR/idlman_6.2
           ln -s $RSI/idl/bin/idlman  LOCAL_DIR/idlman

           ln -s $RSI/idl_6.2/bin/idldemo    LOCAL_DIR/idldemo_6.2
           ln -s $RSI/idl/bin/idldemo    LOCAL_DIR/idldemo

           ln -s $RSI/idl_6.2/bin/rsilicense    LOCAL_DIR/rsilicense_6.2
           ln -s $RSI/idl/bin/rsilicense    LOCAL_DIR/rsilicense

           ln -s $RSI/idl_6.2/bin/idlman    LOCAL_DIR/ionman_6.2
           ln -s $RSI/idl/bin/idlman  LOCAL_DIR/ionman

           ln -s $RSI/idl_6.2/bin/idlhelp    LOCAL_DIR/ionhelp_6.2
           ln -s $RSI/idl/bin/ionhelp  LOCAL_DIR/ionhelp



      where LOCAL_DIR is the path of a directory on your system
      that commonly appears in users' paths.

    3) Files named idl_setup and idl_setup.ksh are
       automatically created by the installation script.  These
       files contain appropriate definitions for IDL-related
       environment variables and aliases.  If you choose this
       option, you must have your users set up their accounts
       as shown below:

           Have your C-shell users add the line:

               source /usr/local/rsi/idl/bin/idl_setup

           to their .cshrc files.

           Have your Korn shell users add the line:

               . /usr/local/rsi/idl/bin/idl_setup.ksh

           to their .profile files.

           Have your Bash shell users add the line:

               . /usr/local/rsi/idl/bin/idl_setup.bash

           to their .bashrc files.


Create the symbolic links described in option 1 above? (y/n): y



    Link Name: /usr/local/bin/idl_6.2
    Points at: /usr/local/rsi/idl_6.2/bin/idl

    Link Name: /usr/local/bin/iond_6.2
    Points at: /usr/local/rsi/idl_6.2/products/ion_6.2/ion_java/bin/iond

    Link Name: /usr/local/bin/iond
    Points at: /usr/local/rsi/idl/products/ion/ion_java/bin/iond

    Link Name: /usr/local/bin/ionstat_6.2
    Points at: /usr/local/rsi/idl_6.2/products/ion_6.2/ion_java/bin/ionstat

    Link Name: /usr/local/bin/ionstat
    Points at: /usr/local/rsi/idl/products/ion/ion_java/bin/ionstat

    Link Name: /usr/local/bin/iondown_6.2
    Points at: /usr/local/rsi/idl_6.2/products/ion_6.2/ion_java/bin/iondown

    Link Name: /usr/local/bin/iondown
    Points at: /usr/local/rsi/idl/products/ion/ion_java/bin/iondown

    Link Name: /usr/local/bin/idl_6.2
    Points at: /usr/local/rsi/idl_6.2/bin/idl

    Link Name: /usr/local/bin/idl
    Points at: /usr/local/rsi/idl/bin/idl

    Link Name: /usr/local/bin/idlde_6.2
    Points at: /usr/local/rsi/idl_6.2/bin/idlde

    Link Name: /usr/local/bin/idlde
    Points at: /usr/local/rsi/idl/bin/idlde

    Link Name: /usr/local/bin/idldemo_6.2
    Points at: /usr/local/rsi/idl_6.2/bin/idldemo

    Link Name: /usr/local/bin/idldemo
    Points at: /usr/local/rsi/idl/bin/idldemo

    Link Name: /usr/local/bin/idlhelp_6.2
    Points at: /usr/local/rsi/idl_6.2/bin/idlhelp

    Link Name: /usr/local/bin/idlhelp
    Points at: /usr/local/rsi/idl/bin/idlhelp

    Link Name: /usr/local/bin/ionhelp_6.2
    Points at: /usr/local/rsi/idl_6.2/bin/idlhelp

    Link Name: /usr/local/bin/ionhelp
    Points at: /usr/local/rsi/idl/bin/idlhelp

    Link Name: /usr/local/bin/idlman_6.2
    Points at: /usr/local/rsi/idl_6.2/bin/idlman

    Link Name: /usr/local/bin/idlman
    Points at: /usr/local/rsi/idl/bin/idlman

    Link Name: /usr/local/bin/ionman_6.2
    Points at: /usr/local/rsi/idl_6.2/bin/idlman

    Link Name: /usr/local/bin/ionman
    Points at: /usr/local/rsi/idl/bin/idlman

    Link Name: /usr/local/bin/idlrpc_6.2
    Points at: /usr/local/rsi/idl_6.2/bin/idlrpc

    Link Name: /usr/local/bin/idlrpc
    Points at: /usr/local/rsi/idl/bin/idlrpc

    Link Name: /usr/local/bin/rsilicense_6.2
    Points at: /usr/local/rsi/idl_6.2/bin/rsilicense

    Link Name: /usr/local/bin/rsilicense
    Points at: /usr/local/rsi/idl/bin/rsilicense


IDL Installation Complete.

Web Servers have a default directory in which Java files
are located.  Please enter the directory where the Java
files are located.
(e.g. /usr/local/apache2/htdocs) (webserver install????)

Web Servers have a default directory in which CGI executables
are located.  Please enter the directory where the server
executables are located.
(e.g. /usr/local/apache2/cgi-bin)

Please enter the fully qualified domain name and the path to
the CGI executables directory for your Web server.
(e.g. myhost.mydomain.com/cgi-bin)


root@metis:/usr/local/rsi# idldemo

IDL Version 6.2 (linux x86 m32). (c) 2005, Research Systems, Inc.

% Embedded IDL: Research Systems, Inc., IDL Demo System.
% Restored file: IDLRTMAIN.
% Embedded IDL: Research Systems, Inc., IDL Demo System.
% IDLRTMAIN: The following error was encountered:  Error loading sharable executable.
               Symbol: IDL_Load, File = /usr/local/rsi/idl_6.2/bin/bin.linux.x86/idl_xml.so ibstdc++.so.5: cannot open shared object file: No such file or directory  Please consult the supplier of the application.

Application required the installation of libstdc++5:


root@metis:/etc/apt/apt.conf.d# apt-get install libstdc++5
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  gcc-3.3-base
The following NEW packages will be installed:
  gcc-3.3-base libstdc++5
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 446kB of archives.
After unpacking 1077kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com breezy/main gcc-3.3-base 1:3.3.6-8ubuntu1 [150kB]
Get:2 http://us.archive.ubuntu.com breezy/main libstdc++5 1:3.3.6-8ubuntu1 [295kB]
Fetched 446kB in 0s (862kB/s)

Preconfiguring packages ...
Selecting previously deselected package gcc-3.3-base.
(Reading database ... 69031 files and directories currently installed.)
Unpacking gcc-3.3-base (from .../gcc-3.3-base_1%3a3.3.6-8ubuntu1_i386.deb) ...
Selecting previously deselected package libstdc++5.
Unpacking libstdc++5 (from .../libstdc++5_1%3a3.3.6-8ubuntu1_i386.deb) ...
Setting up gcc-3.3-base (3.3.6-8ubuntu1) ...
Setting up libstdc++5 (3.3.6-8ubuntu1) ...
root@metis:/usr/local/rsi/idl/bin#

root@metis:/usr/local/rsi/idl/bin# idldemo
IDL Version 6.2 (linux x86 m32). (c) 2005, Research Systems, Inc.

% Embedded IDL: Research Systems, Inc., IDL Demo System.
% Restored file: IDLRTMAIN.
% Embedded IDL: Research Systems, Inc., IDL Demo System.
% Loaded DLM: XML.
% Restored file: D_ICONTOUR.
% Loaded DLM: JPEG.
% Loaded DLM: PNG.
root@metis:/usr/local/rsi/idl/bin#



Added 

. /usr/local/rsi/idl/bin/idl_setup.bash

to .bashrc file.


Application launches, demo modules are excecuting/launching. The license will need to be updated and installed on a flexlm server.

Note: See TracWiki for help on using the wiki.