General
Home
News
Services
Science
Web Statistics
IDL Speed Tips

DanIDL
Features
Subscription Rates
Installation Instructions
History Of Changes
v1.0
v1.1

Online Games
Be the shiniest star and play blackjack online games that will place you on the milky way where the best casino online sites offer the highest bonuses and win real money.

DanDIA
v1.0 - Coming Soon

Stock Photography by Daniel Bramich

Stock photography by Daniel+Bramich at Alamy

Stock Photos, Royalty Free Stock Photography, Photo Search

Contact
Daniel Bramich
dan.bramich "AT" hotmail.co.uk
    

DanIDL - Installation Instructions

  1. Download and save the required version of the DanIDL library. The library is provided as a gzipped tar file with a name of the form DanIDL.<version>.tar.gz.

  2. Store the file DanIDL.<version>.tar.gz in some directory <direct> as:

    <direct>/DanIDL/<version>/DanIDL.<version>.tar.gz

  3. Unzip the tar file using:

    $> cd <direct>/DanIDL/<version>
    $> gunzip DanIDL.<version>.tar.gz

  4. Unpack the tar file using:

    $> tar -xvf DanIDL.<version>.tar

  5. Prepare the make file for the C++ code in preparation for compilation:

    $> cd C++.Code

    Now edit the parameter EXT_IDL_DIR in the file Makefile such that it specifies the directory path to the IDL external directory. A typical directory path for this parameter is /usr/local/itt/idl/external.

    Note that if you are using a Mac operating system, then you will also need to edit the file Makefile by replacing the line:

    CC = gcc

    with the line:

    CC = gcc-4.2

    It is possible that for older Mac operating systems gcc-4.2 is not available, in which case an Apple build can be found through this link.

  6. Compile the C++ code using:

    $> make all

  7. In order to be able to call the DanIDL functions and modules from any working directory, you will need to add the installation directory for the DanIDL library to your IDL path. This may be done by inserting the following piece of code into your ".postlogin" file (or other similar file) that is sourced at log in:

    set add_idlpath = "+<direct>/DanIDL/<version>"
    if ( $?IDL_PATH ) then
    setenv IDL_PATH "${IDL_PATH}:$add_idlpath"
    else
    setenv IDL_PATH "<IDL_DEFAULT>:$add_idlpath"
    endif
    unset add_idlpath


IDL Astronomy User's Library - Installation Instructions

  1. Download and save the latest version of the IDL Astronomy User's Library. The library is provided as a gzipped tar file with a name of the form astron.tar.gz.

  2. Store the file astron.tar.gz in some directory <direct> as:

    <direct>/astrolib/astron.tar.gz

  3. Unzip the tar file using:

    $> cd <direct>/astrolib
    $> gunzip astron.tar.gz

  4. Unpack the tar file using:

    $> tar -xvf astron.tar

  5. In order to be able to call the IDL Astronomy User's Library functions and modules from any working directory, you will need to add the installation directory for the library to your IDL path. This may be done by inserting the following piece of code into your ".postlogin" file (or other similar file) that is sourced at log in:

    set add_idlpath = "+<direct>/astrolib"
    if ( $?IDL_PATH ) then
    setenv IDL_PATH "${IDL_PATH}:$add_idlpath"
    else
    setenv IDL_PATH "<IDL_DEFAULT>:$add_idlpath"
    endif
    unset add_idlpath




This site is © Copyright Daniel Bramich 2009, All Rights Reserved.
carbon neutral web hosting
Free web templates