Running Matlab on Servers
Running jobs on a server
sshinto a server.
Start a screen session:
- something like "screen -S matlab-program_name"
Run your job
- Decide where you want to run the program. For this example I will have it in my home directory (U: or W: drive on windows)
- run the job: /usr/opt/bin/matlab -nodisplay < program_name.m
- Once the job is running you can do "ctrl-a d" to detach from the session
check on it periodically to see if it is done:
- ssh into server
- reattach to the screen session: "screen -r" or "screen -r name-you-gave-the-session"
- if it's done type "exit" to end your session
- or "ctrl-a d" to detach and check on it later
Using the GUI
Here's how to access Matlab with a graphical user interface (GUI). Please note that performance might be slow unless you have a fast Internet connection.
6. Start an X server (such as Xming or Cygwin, you would have to download and install one of these packages on a "self-supported" system).
7. ssh with X11 packet forwarding into a host using an application like SecureCRT. (If you are using a "self-supported" or personally-owned computer, you may download SecureCRT.)
8. Start the GUI by typing this command:
This should get around the lack of proper video drivers.
Last modified: 2019/05/02 05:49:7.866930 GMT-4 by
Created: 2019/05/01 15:04:3.416203 GMT-4 by joseph.r.kline.1.
Type in a few keywords describing what information you are looking for in the text box below.