Project

General

Profile

Mathematica info » History » Version 3

Henrik Levämäki, 2016-06-21 12:14

1 1 Henrik Levämäki
h1. Mathematica info
2
3 3 Henrik Levämäki
Using Mathematica on the cluster takes a few initial steps because Mathematica requires certain fonts to be installed in the local machine. The instructions below apply for Linux (doing this on Windows might be more difficult):
4 1 Henrik Levämäki
5 3 Henrik Levämäki
* Create a new folder on the local machine, e.g. "mkdir some/path/Wolfram"
6
* Download the required fonts from the cluster (e.g. Pleione): "scp -r user @ pleione.utu.fi:/home/opt/Wolfram/Mathematica/7.0/SystemFiles/Fonts some/path/Wolfram"
7
* The X Window System needs to be told where to find the fonts: "xset +fp some/path/Wolfram/Fonts/Type1"
8
* Finally update X settings: "xset fp rehash"
9 1 Henrik Levämäki
10 3 Henrik Levämäki
After the fonts are installed on the local machine you can now run Mathematica remotely on the cluster. Below are some helpful commands:
11 1 Henrik Levämäki
12 3 Henrik Levämäki
* The Mathematica module can be loaded by typing "module load mathematica-7.0.1"
13
* "module avail" shows you all the available software
14
* GUI version of Mathematica can be launched with the command "mathematica"
15
* One can also run Mathematica in the command line mode with the command "math"