|
⇤ ← Revision 1 as of 2008-12-04 21:33:57
Size: 1115
Comment:
|
Size: 1325
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 10: | Line 10: |
| === nedit === | === Solaris only apps === |
| Line 16: | Line 16: |
Similar tricks can be applied to other programs like, dtterm (gnome-terminal), dtpad (gedit), sdtimage (eog) etc. Names in the parenthesis indicate alternative linux applications to be linked. |
Co-existence of Solaris and Linux computers
Currently, CDS computing environment is a mixture of Solaris and Linux (32/64bit) computers. Since they are similar but not identical, our scripts, medm screens have to be able to work in the both environments. Old scripts, medm screens were written mostly for Solaris, we have to modify those to be able to run on Linux. Moreover, since we still have Solaris machines, these modifications should not prevent execution of the scripts on Solaris.
Here, tips for how to happily make those two environments live together will be presented.
Solaris only apps
Sometimes, a program called 'nedit' is called from medm screen, to display a text file. nedit usually does not exist in linux machines. This is why some buttons fail on linux machines. So I made symbolic links from /usr/bin/gedit to /cvs/cds/caltech/apps/linux64/bin/nedit and /cvs/cds/caltech/apps/linux/bin/nedit. These links are only visible from linux machines, so Solaris machines continue to run the original nedit program, whereas linux computers now run gedit where nedit is required.
Similar tricks can be applied to other programs like, dtterm (gnome-terminal), dtpad (gedit), sdtimage (eog) etc. Names in the parenthesis indicate alternative linux applications to be linked.
