Wolfram Mathematica is a powerful computational package installed on the CSL Workstations as well as on other computers throughout the school. The Computer Systems Lab also runs the Mathematica License Server (mathlm) on License which is used by all client systems in the school.
Currently, the latest Mathematica installers and support files are kept in
/afs/csl.tjhsst.edu/common/sysadmin/mathematica. If the latest installers are not available, ask one of the TJ Site Administrators to download the latest installers.
To install Mathematica, make sure the installer is set it as executable, and run it. Currently, we install Mathematica to
/opt/mathematica and the symlinks to
After installing Mathematica, run the following commands to configure Mathematica to pull licensing information from License:
rm /opt/mathematica/Configuration/Licensing/playerpass cp /afs/csl.tjhsst.edu/common/sysadmin/mathematica/mathpass /opt/mathematica/Configuration/Licensing/
If you are installing Mathematica on a Gentoo system, you can use the following commands to automatically add the Mathematica symlinks to the system PATH:
cp /afs/csl.tjhsst.edu/common/sysadmin/mathematica/75mathematica /etc/env.d/ env-update source /etc/profile
Finally, verify that Mathematica is installed and licensed by starting either the GUI or CLI clients:
#GUI mathematica #CLI math
To upgrade Mathematica, simply backup and remove the old installation in /opt/mathematica, then run the installation process as detailed above.
MathLM (Licensing Server) Installation
As with Mathematica, the latest MathLM installers should be kept in
/afs/csl.tjhsst.edu/common/sysadmin/mathematica. If they are not available there, contact at TJ Site Administrator for the downloads.
To install Mathematica, unzip the MathLM archive and run the M-UNIX-LM.sh script to start the installer. Currently, MathLM is installed to
/opt/MathLM with the linking directory set to
As part of the installation, you will need an activation code and password. A TJ Site Administrator can provide you with the activation key. You can then use the MathID printed by the installer and the activation code provided to you to generate the password here.
After installing mathlm, copy
/etc/local.d, make sure it is executable, and then run it to start MathLM for the first time and ensure that it starts when license boots.
For nagios monitoring, copy
/etc/nagios, set it executable, and then add it to nrpe.cfg to allow nagios to execute it.
To upgrade MathLM, simply kill -15 the mathlm process, backup and remove the old installation in /opt/MathLM and then run the installation process as detailed above.
The current TJ Site Administrators are John Dell, Andrew Hamilton, and Bryan Phillips.