HPC/Applications/matlab: Difference between revisions
m (→Licensing) |
mNo edit summary |
||
Line 17: | Line 17: | ||
* To get started, load the "matlab" module as described at [[HPC/Module Setup]]. | * To get started, load the "matlab" module as described at [[HPC/Module Setup]]. | ||
* Then choose how to run the application: | * Then choose how to run the application: | ||
; GUI | ; GUI: | ||
matlab | matlab | ||
: Depending on your network connection this might be rather slow. | : Depending on your network connection this might be rather slow. | ||
<-- | |||
; GUI, under VNC: | ; GUI, under VNC: | ||
: Follow the [[HPC/Network Access/Virtual Desktop | general VNC instructions]], then start <code>matlab</code> in the terminal within the virtual desktop. | : Follow the [[HPC/Network Access/Virtual Desktop | general VNC instructions]], then start <code>matlab</code> in the terminal within the virtual desktop. | ||
--> | |||
; Command line: For very slow connections or just basic calculations, you could save some startup time by simply using the text interface. Unset the <code>DISPLAY</code> variable before starting matlab. | ; Command line: For very slow connections or just basic calculations, you could save some startup time by simply using the text interface. Unset the <code>DISPLAY</code> variable before starting matlab. | ||
DISPLAY="" matlab | DISPLAY="" matlab |
Revision as of 16:36, February 15, 2013
Introduction
Toolboxes
MATLAB on Carbon has the following toolboxes installed:
- Curve_Fitting_Toolbox
- Image_Toolbox
- Optimization_Toolbox
- Distrib_Computing_Toolbox
- Statistics_Toolbox
Licensing
Most of the information conveyed here concerns licensing, an unloved necessity of high-profile commercial software. Running MATLAB is restricted to:
- Argonne employees (including consultants and students),
- on node clogin5 only,
- by one user at a time.
Running MATLAB
- To get started, load the "matlab" module as described at HPC/Module Setup.
- Then choose how to run the application:
- GUI
matlab
- Depending on your network connection this might be rather slow.
<--
- GUI, under VNC
- Follow the general VNC instructions, then start
matlab
in the terminal within the virtual desktop.
-->
- Command line
- For very slow connections or just basic calculations, you could save some startup time by simply using the text interface. Unset the
DISPLAY
variable before starting matlab.
DISPLAY="" matlab
Troubleshooting
Access
You must be a member of the "employees" group on Carbon to run MATLAB. If you are not, you could load the "matlab" module but it will not enable anything.
- To inspect your current group membership, run:
groups
- The word "employees" must show. Since the group has been added only this week (Feb. 5, 2013), you may need to log out and back in to pick up the group membership.
Running on a host that is not licensed
License checkout failed. License Manager Error -9 The hostid of your computer ("001122334455 001122334466") does not match the hostid of the license file (001122334400).
Solution: log in to clogin5 and retry. If you use the Mega SSH gateway, review the updated instructions for Linux/Mac/Cygwin or PuTTY on Windows on how to configure and use port forwarding to reach a specific login node.
License in use
License checkout failed. License Manager Error -9 This error may occur when: -The hostid of this computer does not match the hostid in the license file. -A Designated Computer installation is in use by another user. If no other user is currently running MATLAB, you may need to activate.
Solution: Wait a half hour or so and retry. You can identify the user currently running matlab using the "ps aux | grep matlab" command. Be considerate in negotiating access with that user.