Mathematica

From Peyton Hall Documentation

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 +
{{inuse}}
Mathematica is, according to [http://www.wolfram.com/products/mathematica/features/ Wolfram Research], "the world's most powerful mathematical software system."  There are many in the building who use it regularly for their research.
Mathematica is, according to [http://www.wolfram.com/products/mathematica/features/ Wolfram Research], "the world's most powerful mathematical software system."  There are many in the building who use it regularly for their research.

Revision as of 20:27, 7 August 2007

This article is actively undergoing a major edit for a short while.

As a courtesy, please do not edit this page while this message is displayed. The person who added this notice will be listed in its edit history or has placed their signature above.

If this page has not been edited recently (several hours!), please remove this template (or replace it with {{underconstruction}}).

This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to improve this page.

Mathematica is, according to Wolfram Research, "the world's most powerful mathematical software system." There are many in the building who use it regularly for their research.


Contents

Overview

We currently have 10 floating licenses for Mathematica in the building; this means that you can run it on any machine, but only 10 copies may be run at the same time. If you're having trouble with running or using Mathematica, check to see if others are using up all the licenses by running the command 'monitorlm'


Font issues

If you're not running Mathematica locally on a department desktop machine (using your laptop, or a machine at home through a SSH connection) you may have some issues with fonts displaying properly. Here's a couple links that may help you out:


OS X fonts

The steps to configuring the Mathematica fonts on a Mac OS X machine are:

  1. Download the Mathematica 5 fonts from http://support.wolfram.com/mathematica/systems/unix/interface/BDF.zip
    This is a directory of some 652 .bdf files. Don't try to use an old version of the fonts (if you see three directories like AFM, X, and Type1 then don't use that version).
  2. Put the fonts where the Apple X11 server will find them, in /usr/X11R6/lib/X11/fonts
    You should create a subdirectory in there; the name mathematica would make sense.
  3. Regenerate the fonts.dir file (otherwise Mathematica will crash) with 'mkfontdir /usr/X11R6/lib/X11/fonts'
  4. To see what fonts X already knows about, run 'xset q' and look for the directories specified by "Font Path."
  5. Add the font database to X
    Type 'xset fp+ /usr/X11R6/lib/X11/fonts/mathematica/ ; xset fp rehash' to do this to the current session. You can then use 'xset q' to see that X knows about the Mathematica fonts.
  6. Edit /etc/X11/xinit/xinitrc to make the change permanent
    To make the new fonts show up all the time, you'll have to tell X11 about them when it starts. Edit the xinitrc file and add the two 'xset fp' commands from above to the file, before the window manager line.

NOTE:

The commands mkfontdir and xset are in /usr/X11R6/bin, which is not usually in the default PATH. In order to run them you have to specify the full path to the binary. Also, most of the above will require root or super user access, so either 'su - root' first (if you've enabled the root account) or use 'sudo' to gain the appropriate privileges.


Crashes

Bad Atom Errors/SIGSEGV Errors

These errors might stem from not using X11ForwardTrusted if you're running it across an SSH session. Have a look here for more information.

Personal tools