Simplified MATLAB Install

From Cheaha
Jump to navigation Jump to search


Attention: Research Computing Documentation has Moved
https://docs.rc.uab.edu/


Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.


As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.

Thank you,

The Research Computing Team

Please see the MATLAB application page for more information and a general overview of MATLAB and its use at UAB.

MATLAB Simplified Install

Installation

Follow the instructions detailed in Downloading and Installing MATLAB. An outline of these installation steps are as follows:

  1. Create an account at the Mathworks site using your campus @uab.edu email address if you do not have one already.
  2. Request an activation key.
  3. Associate to the campus-wide license using your activation key.
  4. Download the software from mathworks download site and install.

Activation

Activate the software: Add the following content to the network.lic file in the installation

SERVER lmgr.uabgrid.uab.edu 27000
USE_SERVER

By default, the license file location is $MATLAB\licenses for all platforms. The license file name will be network.lic

On Mac's this file is located in /Applications/MATLAB_R2010b.app/licenses/network.lic

On Linux systems it is usually located at /usr/local/matlabR2010b/licenses/network.lic (conditional to the install location being /usr/local)

'NOTE: If the network.lic license file does not already exist on your system, you must create the file and add the following content:

SERVER lmgr.uabgrid.uab.edu 27000
USE_SERVER

NOTE: Please engage in the Discussion to improve documentation of the above steps.

Installation Help

If you get stuck or have problems with the self-service installation you may contact tanthony@uab.edu or laurenr@uab.edu for installation or usage issues, mbolding@uab.edu (to be added to the license or for installation issues), or support@mathworks.com. Mathworks will want your license number: 678600. If you do not hear back from Mark within one working day then call 4-2009.

You must be faculty, staff, post-doc, or a grad student using Mathworks software for UAB research activities to activate this software.

Common Issues

libXp.so.6 Error when starting MATLAB on a Red Hat / Fedora workstation

When executing 'matlab' on a Red Hat / Fedora workstation you may receive the following error:

'bin/glnxa64/MATLAB: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory"

The solution is to install the libXp package (this will require root privileges)

$ sudo yum install libXp