Here is how you get IDP3 on your computer so you can run it.
Get IDP3
The version of IDP3 that corrisponds to this documentation can be downloaded directly from this page: idp3_sirtf.tar.gz.
WARNING:This version WILL be updated!Keep checking back for the latest version. This version has been available since 3/10/03.
You can get the current (released) version of IDP3 from the NICMOS public server. This can be found at idp3.tar.gz
Get Libraries
Needed IDL Libraries:
Putting them on Your Computer
Put idp3.tar.gz where ever you would like the idp3 directory to be. Put the libraries either in an
idl directory in you home directory, or if you have root access in
/usr/local/rsi/idl_5.5/lib. (The version number might be different.)
Once in the appropriate directory, unzip and untar all three files.
gunzip idp3.tar.gz
tar -xf idp3.tar
This will create the directory idp3.
gunzip ua_lib.tar.gz
tar -xf ua_lib.tar
This will create the directory ua_lib.
gunzip astro_lib.tar.gz
tar -xf astro_lib.dir.tar
This will create the directory astro_lib.
Setting Paths
Bash
For bash shell put these lines in your .bashrc file:
You will also need to create the IDL start up file ".startup.pro". Put this in your home directory.
At the very least, it should have the line:
device, true_color=24, retain=2, decomposed=0
C-shell
And for csh put these lines in your .cshrc file:
"idl_startup" is the same as .startup.pro for the bash shell. It should go in your home directory and contain at least the line:
device, true_color=24, retain=2, decomposed=0
"idl_setup" is a file that has all of the aliases and setenvs that go
with idl. Having this might be redundant with some of the things put in the .cshrc file. An example of an "idl_setup" file looks like this:
And you can copy it HERE. Be sure to change the
IDL_PATH to fit your machine.
If you are using a SUN machine that has 24 bit color, you will also need to
tell IDL to only use 8 bits:
IDL>device, pseudo=8
Other operating systems don't have to worry about this, it is done automatically.
If the settings on your computer are not set right, then some images in idp3 will be "erased" when another window is passed in front of it. This can be corrected.
As the root user, go to the directory
/etc/X11
Edit the file XF86Config-4 (or XF86Config if you are running RedHat 8).
Under Section "Device" add the line:
Option "backingstore"
I ran into the problem on my laptop while running idl_5.5 where the colors where acting oddly.
Turns out that a file wasn't transfered correctly. So if you've tried all of the "standard" fixes like
IDL> device, true_color=24,retain=2, decomposed=0
but nothing works, try replacing the following file in:
/usr/local/rsi/idl_5.5/bin/bin.linux.x86
mv libidl.so.5.5 libidl.so.5.5.old
And replace it with libidl.so.5.5. You will have to be root to do this.
If you try
surfgui.tar.gz