HPC/Applications/matlab: Difference between revisions

From CNM Wiki
Jump to navigation Jump to search
mNo edit summary
Line 7: Line 7:
: 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.]]
: 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 18:22, January 30, 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

You might get the following errors related to licensing.

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.

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.