Warning Livedoc is no longer being updated and will be deprecated shortly. Please refer to https://documentation.tjhsst.edu.

Difference between revisions of "Mathematica"

From Livedoc - The Documentation Repository
Jump to: navigation, search
m (Additional Information: categorize)
Line 48: Line 48:
==Additional Information==
==Additional Information==
The current TJ Site Administrators are John Dell, Andrew Hamilton, and Bryan Phillips.
The current TJ Site Administrator is Bryan Phillips.
[[Category:Production Service]]
[[Category:Production Service]]

Latest revision as of 10:10, 2 June 2017

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.

Client Installation

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 /opt/mathematica/bin.

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/
source /etc/profile

Finally, verify that Mathematica is installed and licensed by starting either the GUI or CLI clients:


Client Upgrade

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 /usr/sbin/.

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 /afs/csl.tjhsst.edu/common/sysadmin/mathematica/mathlm.start to /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 /afs/csl.tjhsst.edu/common/sysadmin/mathematica/check_mathlm to /etc/nagios, set it executable, and then add it to nrpe.cfg to allow nagios to execute it.

MathLM Upgrade

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.

Additional Information

The current TJ Site Administrator is Bryan Phillips.