Simplified MATLAB Install

From UABgrid Documentation
(Difference between revisions)
Jump to: navigation, search
(Common Issues)
(Installation Help: edited to remove Lauren's and Mark Bolding's email)
 
(32 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This is a stub.
 
 
{{MatlabAppPage}}
 
{{MatlabAppPage}}
  
 
== MATLAB Simplified Install ==
 
== MATLAB Simplified Install ==
A quick sketch of the install:
 
  
# Download and install MATLAB
+
===Download and Installation===
# Add the following content to the network.lic file in the installation
+
Follow the instructions detailed in [[Downloading and Installing MATLAB]].  An outline of these installation steps are as follows:
 +
# [http://www.mathworks.com/accesslogin/createProfile.do Create an account at the Mathworks site] using your campus @uab.edu email address. Please do not share your mathworks account ''username'' or ''password'' with anyone as this account will be associated with the UAB TAH license.
 +
#Request an [[Get a UAB Mathworks key |activation key]] from the [http://www.uab.edu/it/software/index.php UAB software library page]. Please make sure to request the appropriate key (Faculty/staff or student) as the software are on different licenses.
 +
#[[Downloading_and_Installing_MATLAB#Associate_with_the_UAB_TAH_license|Associate your Mathworks account]] with the campus-wide MATLAB license using your activation key.
 +
#[[Downloading_and_Installing_MATLAB#Download_Matlab|Download the software]] from the [http://www.mathworks.com/downloads/web_downloads/agent_check?s_cid=mwa-cmlndedl&mode=gwylf&refer=mwa mathworks download site] and [[Downloading_and_Installing_MATLAB#Install_Matlab|install MATLAB]]
 +
 
 +
===Activation===
 +
Activate the software: Add the following content to the network.lic file in the installation and start MATLAB.
 
  SERVER lmgr.uabgrid.uab.edu 27000
 
  SERVER lmgr.uabgrid.uab.edu 27000
 
  USE_SERVER
 
  USE_SERVER
  
On Mac's this file is located in  /Applications/MATLAB_R2010a.app/licenses/network.lic
+
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 network.lic file described above.
 +
 
 +
 
 +
'''NOTE:''' Please engage in the [[Talk:Simplified MATLAB Install|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 [[User:Tanthony@uab.edu | tanthony@uab.edu]] for installation or usage issues,  or [mailto:support@mathworks.com support@mathworks.com].  Mathworks will want your license number: 678600.
 +
 
 +
You must be faculty, staff, post-doc, or a grad student using Mathworks software for UAB research activities to activate this software.
  
 
== Common Issues ==
 
== Common Issues ==
 
=== libXp.so.6 Error when starting MATLAB on a Red Hat / Fedora workstation ===
 
=== 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:
 
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"'''
 
''''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)
 
The solution is to install the libXp package (this will require root privileges)
 
  $ sudo yum install libXp
 
  $ sudo yum install libXp
 +
 +
 +
{{MATLAB Support}}
 +
 +
[[Category:MATLAB]][[Category:MATLAB installation]]

Latest revision as of 13:22, 6 March 2013

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

Contents

[edit] MATLAB Simplified Install

[edit] Download and 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. Please do not share your mathworks account username or password with anyone as this account will be associated with the UAB TAH license.
  2. Request an activation key from the UAB software library page. Please make sure to request the appropriate key (Faculty/staff or student) as the software are on different licenses.
  3. Associate your Mathworks account with the campus-wide MATLAB license using your activation key.
  4. Download the software from the mathworks download site and install MATLAB

[edit] Activation

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

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 network.lic file described above.


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

[edit] Installation Help

If you get stuck or have problems with the self-service installation you may contact tanthony@uab.edu for installation or usage issues, or support@mathworks.com. Mathworks will want your license number: 678600.

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

[edit] Common Issues

[edit] 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


[edit] MATLAB Support / Mailing List

As with any application or computer language, learning to use MATLAB to analyze data or to develop or modify MATLAB applications is an individual responsibility. There is ample application documentation available from the Mathworks website, potential outreach to colleagues who also use MATLAB, and options for consultation with Mathworks. Mathworks also host on-campus training seminars several times a year and provides many on-line learning tutorials.

Installation support for MATLAB at UAB is provided by your local IT support organization and the Docs wiki.

[edit] Mathworks Website

Your first and best option for application-specific questions on MATLAB is to refer to the on-line MATLAB documentation. The Mathworks site also provides a a support matrix and an on-line knowledge base.

[edit] UAB MATLAB Wiki

The MATLAB page on the Docs wiki is the starting point for installing MATLAB at UAB and, optionally, configuring it to use cluster computing. All users are encouraged to contribute to the MATLAB knowledge in this wiki, especially if you see areas where improvements are needed. Remember, this knowledge base is only as good as the people who contribute to it.

Contributing to the wiki is as easy as clicking the login link on the top-right of the page and signing in with your UAB BlazerID. If you are unsure about making an edit, you can make suggestions for improvement on the page's Discussion tab or discuss the proposed improvement in the MATLAB user group.

[edit] UAB MATLAB User Group

At UAB, MATLAB installation support is provided by your local IT support group. Support for application specific questions is available from peers in your research group. We realize that some people are not as familiar with MATLAB as others. For this reason, we have established a MATLAB user forum (mailing list) where users of MATLAB at UAB can help answer each others questions.

This is a network of volunteers sharing their knowledge with peers. You are encouraged to reach out to this community for questions on using MATLAB by

Archives of MATLAB user group discussions are available on-line at https://vo.uabgrid.uab.edu/sympa/arc/matlab-user. You may find your question is already answered in these archives.


[edit] UAB MATLAB announce mailing list

To receive information about UAB's MATLAB license and announcements please subscribe to the matlab-annc mailing list by

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox