Main Page

Mathematica

From SOMWiki

Jump to: navigation, search

Contents

How to install Mathematica

Windows Install

  • Start the install process from \\som-os-orion\Mathematica\Mathematica 5.2\Windows
  • Double click Setup.exe
  • Select Full install
  • During the license information,

    • Select the second option Network License Server
    • Enter: license1.wss.yale.edu
      • NOTE: You need to be on campus, or using the Yale VPN in order for this to work.

OS X Install

  • Please contact the help desk to arrange a time for install.

Running Mathematica on Windows from Unix via Exceed

Start Exceed from Windows

Connect to Unix machine via Putty

At the Unix prompt

$ mathematica

Problem: Mathematica Fonts don't display in Exceed V8.0 or later

'NOTE: There is an additional issue with these fonts that may result in Exceed failing to run after performing the following steps. We are working to resolve this issue.

If after installing the Mathematica fonts for Exceed, as per the directions below, you encounter this error:

"Fatal error: ..\Hummingbird\Connectivity\8.00\Exceed\mathematica.fdb is too large to load"

Remove the Mathematica fonts...

  1. Run Xconfig from Start > Programs > Hummingbird Connectivity V8.0 > Exceed > Xconfig
  2. Go into Font Management and click Edit button
  3. Select the mathematica font directory from the list
  4. Click the Delete button
  5. Click OK
  6. Go to Advanced Settings and CHECK Automatic Font Substitution
  7. Hit the Green Checkmark to Validate and Apply Changes''''

To install the Mathematica fonts for Exceed:

First, download the BDF fonts from \\som-os-orion\Exceed\MathematicaExceedFonts

The compressed tar archive is intended for Unix systems; the zip archive is intended for Windows and Macintosh systems.

Here are the Windows steps to add the Mathematica BDF fonts to Exceed:

  1. Decompress the file, and then move the resulting BDF directory into a temporary directory on your Windows machine.
  2. Create a directory dedicated for the Mathematica fonts. For example, C:\Program Files\Hummingbird\Connectivity\8.00\Exceed\Font\Mathematica\
  3. Run Xconfig from Start > Programs > Hummingbird Connectivity V8.0 > Exceed > Xconfig
  4. Go into Font Management and click Edit button
  5. Click Add .FDB File button to bring up "Add Font Database File" window
  6. Click Browse button, select the Mathematica folder you created in step2 and click OK
  7. Specify a name for Font Database File field, e.g. Mathematica
  8. Set Status to Keep then click oK
  9. A new Font Directory should be added to the bottom of the list. Move the new line to the top of the list using the Move Up button
  10. Click Add X Fonts button then Browse and select all the .BDF fonts extracted to the temp directory as per step1. Under To: field, select mathematica font directory from the drop down menu.
  11. Click Add button to compile the .BDF files. Hit OK when compiling is done. Click OK to confirm font database update.
  12. Close Add X Fonts window
  13. Click Save As button and replace lfp.xdb file
  14. Click OK to close Font Database window
  15. Go to Advanced Settings and UNCHECK Automatic Font Substitution
  16. Hit the Green Checkmark to Validate and Apply Changes

BDF fonts are also available at the following URL's:

Mathematica Font Fix for Mac OS X (X11)

  1. Open Terminal
  2. Download the Mathematica BDF fonts: curl -O http://support.wolfram.com/mathematica/systems/unix/interface/BDF.tar.gz
  3. Create the fonts directory: sudo mkdir /usr/X11R6/lib/X11/fonts/mathematica
    1. NOTE: you will need to enter your administrative password
  4. Extract the contents: sudo tar -zxvf BDF.tar.gz -C /usr/X11R6/lib/X11/fonts/mathematica
  5. Recreate the 'fonts.dir' file: sudo mkfontdir /usr/X11R6/lib/X11/fonts
  6. Configure X11 to always add the Mathematica fonts:
  7. Temporarily, allow write access to the X config: sudo chmod 777 /etc/X11/xinit/xinitrc
  8. Append the X config file:
    1. echo "xset fp+ /usr/X11R6/lib/X11/fonts/mathematica/BDF" >> /etc/X11/xinit/xinitrc
    2. echo "xset fp rehash" >> /etc/X11/xinit/xinitrc
  9. Reset the correct permissions on the X config file: sudo chmod 666 /etc/X11/xinit/xinitrc
  10. Restart X11
  11. You can now access the X version of Mathematica from the Grid
Personal tools
Views