Skip to content

idl70 and goddard library upgrade

I basically followed the idl64 install instructions already posted in this blog.

Joel had received the idl70 update email from itt, and that contains the instructions on where to download the license file and the tar.gz file containing the install image.

[bduffy 2009-02-04: I’ve put a copy of the relevant license.dat and tar.gz files into /etc/secret/exchange/idl70/]

As root:

cd /usr/local

Because /usr/local/itt already existed and contained idl64, I moved the original /usr/local/itt to itt64 to move it out of the way. I will delete it later after I’m comfortable that the install went smoothly.

mv ./itt ./itt64
mkdir itt
cd itt
mv /root/idl70linux.x86.tar.gz
tar -xvzf idl70linux.x86.tar.gz
cd ./license
cp /etc/secret/idl7-license.txt ./license.dat

I then edited /usr/local/itt/license/license.dat to contain only the license entry for this box.

chmod 644 ./license.dat

cd /usr/local/itt

Then ran the ‘install’ script:

./install

Said ‘y’ to all prompts

Chose option 1) for creating symbolic links and defining the IDL environment. It created several symbolic links.

Finally the install script asked if we wanted to start “DICOM Network Services at boot time”. I answered ‘n’.

Restarted the license mgr by issuing these commands:

/usr/local/itt/idl70/bin/lmdown
/usr/local/itt/idl70/bin/lmgrd -c /usr/local/itt/license/license.dat

NOTE: On Mirzam (but not Sirius) I ran into trouble issuing the lmdown command. Turns out the problem was that the ‘IDL_DIR’ env var was set in root’s .tcshrc file and that changed the scripts behaviour. I removed the setting of the ‘IDL_DIR’ from root’s .tcshrc file and that fixed the problem.

I also removed all the old idl6.3 related /etc/*/*_idl_* files on both Mirzam and Sirius.

Tested that idl70 was installed by issuing the ‘idl’ command at the command prompt. Seemed to work.

To get the idl lm to start at boot time, I edited /etc/rc.d/rc.local and removed this line:

/usr/local/itt/idl64/bin/lmgrd -c /usr/local/itt/license/license.dat

… and added this line:

/usr/local/itt/idl70/bin/lmgrd -c /usr/local/itt/license/license.dat

Made sure all current users ~/.cshrc file contained the correct idl_setup call. They did. Here’s the proper command:

source /usr/local/itt/idl/bin/idl_setup

Then installed the goddard lib:

mkdir /usr/local/itt/idl70/lib/goddard

Downloaded http://idlastro.gsfc.nasa.gov/ftp/astron.tar.gz
to /usr/local/itt/idl70/lib/goddard

cd /usr/local/itt/idl70/lib/goddard
tar -xvzf ./astron.tar.gz

Published inIDL hintsInstalled software

Comments are closed.