Installing iman on Linux-64 (experience with mps-pc10)
For installing iman, create users idl val and stryker
Copy the entire val home directory from pc10 to /home/val on the new machine including at least
cc
pgplot
usr.local.bin/
usr.local.include/
usr.local.lib/
usr.local.src/
Copy the contents of the 4 usr.local.* folders into the appropriate folders in /usr/local/
Copy the entire pgplot folder to /usr/local
Make sure that permissions are 0744for everything except the executables and directories, which should be 0755
Make symbolic links in /usr/local/bin as follows, with commands like
ln -s /home/val/cc/image/iman/iman2/iman2 iman
to create an entry as follows with
ls -l /usr/local/bin
lrwxrwxrwx 1 root root 35 2008-08-05 16:19 iman -> /home/val/cc/image/iman/iman2/iman2
ls -l /usr/local/bin should then produce all the following lines:
binan -> /home/val/cc/image/binan/binan1*
iman -> /home/val/cc/image/iman/iman2/iman2*
mapanm2 -> /home/val/cc/image/mapanm2/mapanm21*
mapans -> /home/val/cc/image/mapans/mapans1*
pgbind -> /usr/local/pgplot/pgbind*
pgxwin_server -> /usr/local/pgplot/pgxwin_server*
ls -l /usr/local/lib should then produce all the following lines:
-rwxr--r-- 1 root root 9391 2008-08-06 10:55 libbesselI.so*
-rw-r--r-- 1 root root 107384 2008-08-05 16:24 libcpgplot.a
-rwxr--r-- 1 root root 7338 2008-08-06 10:58 libfft.so*
-rwxr--r-- 1 root root 104432 2008-08-06 11:00 libg2c.so.0*
-rwxr--r-- 1 root root 290963 2008-08-05 16:24 libpgplot.so*
-rwxr-xr-x 1 root root 142648 2008-09-08 18:59 libpng.so.2*
Add the following two files to /etc/profile.d, with permissions 0755:
pgplot.csh (which consists of the following line):
setenv LD_LIBRARY_PATH /usr/local/lib
pgplot.sh (which consists of the following line):
export LD_LIBRARY_PATH=/usr/local/lib
Test the function of pgplot by executing
/usr/local/pgplot/pgdemo1
use device /XWINDOW
and see the pretty graphs.