| |
|
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.
|
|
Stock Photography by Daniel Bramich
|
|
|
DanIDL - Installation Instructions
- 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.
- Store the file DanIDL.<version>.tar.gz in some directory <direct> as:
<direct>/DanIDL/<version>/DanIDL.<version>.tar.gz
- Unzip the tar file using:
$> cd <direct>/DanIDL/<version>
$> gunzip DanIDL.<version>.tar.gz
- Unpack the tar file using:
$> tar -xvf DanIDL.<version>.tar
- 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.
- Compile the C++ code using:
$> make all
- 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
- 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.
- Store the file astron.tar.gz in some directory <direct> as:
<direct>/astrolib/astron.tar.gz
- Unzip the tar file using:
$> cd <direct>/astrolib
$> gunzip astron.tar.gz
- Unpack the tar file using:
$> tar -xvf astron.tar
- 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.
Free web templates
|
|
|
 |