Next: Printing your work Up: Running Mathematica Previous: Accessing UD mainframes

Unix set ups

All the Unix commands listed here assume that you use the Korn shell of Unix. If this is not your default shell (the Korn shell can be recognized by the $ prompt), you have to change it. To this end enter:
chsh
and enter your password. At the prompt enter:
/usr/bin/ksh
The change will be made within 24 hours. In the meantime you can use the Korn shell by typing:
ksh

Before you can run Mathematica, you have to check where mahler wants to display windows. Enter:
echo $DISPLAY
The network name or numerical address of the computer or X-terminal you are using should appear. If not, assuming you are on, say, casimir1, enter:
DISPLAY=casimir1.physics.udel.edu:0.0
If you are on one of the DPAs PCs called ``bardeen", you should type instead:
DISPLAY=bardeen.physics.udel.edu:0.0
(sometimes the numerical address is needed. To find it, execute
nslookup bardeen.physics.udel.edu
and substitute the result above). Now you are ready to type:
mathematica &
to start a Mathematica 4.0 session. The main Mathematica window should appear, as well as a smaller window with a palette of symbols. If the symbols are garbled (or/and if font error messages appear in the window opened to mahler), the X-display does not have proper fonts. If you are using Exceed, click Exceed icon on the bar and go to Tools $\rightarrow$ Configuration. Click on Fonts, then on Font Database, and uncheck Automatic Font Substitution. On a Unix workstation fonts can be dynamically loaded upon executing:
xset fp+ tcp/strauss.udel.edu:7100.
If all of this fails, contact Dave. Sometimes Mathematica displays some warning messages about fonts which can be ignored.

Sometimes for obscure reasons the procedure defined above fails and after one enters mathematica & the computer answers with the error message Display cannot be opened. Then try to execute instead the command:
mathematica -display computer_name:0.0 &
This error message also appears it you have forgotten to execute xhosts + or wrongly set the display address, so check these two possibilities first. If you use Exceed, to allow access to your display go to Configuration $\rightarrow$ Security $\rightarrow$ Host access and choose disable (you can also edit a file and put there the names of hosts allowed to access your display).


Next: Printing your work Up: Running Mathematica Previous: Accessing UD mainframes
Krzysztof Szalewicz 2003-09-19