Supercomputer

Using Mathematica

Using Mathematica

Please click here for a guide to using Mathematica and other documents. A screencast of "Hands-on Start to Mathematica" is available here.

Note
  1. If you wish to use Mathematica, please submit an application form.
  2. Click here for information on the application procedure.

  3. If the Mathematica font is not installed on the local machine, the GUI may not run properly.
  4. Please refer to "How to deal with font errors when executing the GUI" below.

How to deal with font errors when executing the GUI

  1. Check the error output

    If the Mathematica font is not installed, an error message will appear and the GUI will not run properly (see below). $ /usr/local/package/Wolfram/bin/Mathematica
    xset: bad font path element (#87), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax
    xset: bad font path element (#87), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax
    X Error: BadAtom (invalid Atom parameter) 5
    Major opcode: 20 (X_GetProperty)
    Resource id: 0xa6

  2. Install the font in the local machine

    For MacOS X 10.4
    Please download the font from here.
    You will need an account and a password for the super computer system.
    Download the font to the appropriate directory on the local machine
    $ tar xvf ⟨the appropriate path on local machine⟩/Fonts.tar
    $ /usr/X11/bin/xset fp+ ⟨the appropriate path on local machine⟩/Fonts/BDF
    $ /usr/X11/bin/xset fp+ ⟨the appropriate path on local machine⟩/Fonts/Type1
    $ /usr/X11/bin/xset fp rehash

  3. Login to 'slogin.hgc.jp'
    Execute the following commands on the local machine
    $ ssh slogin.hgc.jp -l username -X
    You may need to use the option '-o ForwardX11Trusted=yes' due to the SSH setting of the local machine.
    $ qlogin
    $ /usr/local/package/Wolfram/bin/mathematica

Top of Page Top of Page

The University of Tokyo The Institute of Medical Science

Copyright©2005-2018 Human Genome Center