HPC/Applications/matlab: Difference between revisions

From CNM Wiki
Jump to navigation Jump to search
Line 12: Line 12:


== Troubleshooting ==
== Troubleshooting ==
You might get the following errors related to licensing.
=== Access ===
Access to MATLAB is restricted to Argonne employees. If you are not an employee, you will not be able to access MATLAB. (You could load the "matlab" module but it will not enable anything.)
* To inspect your current group membership, run:
groups
: Since the group has been added only this week (Feb. 5, 2013), you may need to log out and back in to pick up membership in the "employees" group.


=== Running on a host that is not licensed ===
=== Running on a host that is not licensed ===

Revision as of 23:27, February 5, 2013

Introduction

MATLAB on Carbon is currently licensed to run on clogin5 only.

Running MATLAB

GUI, over X11
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

Access to MATLAB is restricted to Argonne employees. If you are not an employee, you will not be able to access MATLAB. (You could load the "matlab" module but it will not enable anything.)

  • To inspect your current group membership, run:
groups
Since the group has been added only this week (Feb. 5, 2013), you may need to log out and back in to pick up membership in the "employees" group.

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.