Difference between revisions of "Running matlab outside DTU through a tunnel"

From ITSwiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (Text replace - "Category:Remote Access" to "Category:Remote")
Line 21: Line 21:
 
  matlab -c 1711@localhost &
 
  matlab -c 1711@localhost &
 
[[Category:HC]]
 
[[Category:HC]]
[[Category:Remote Access]]
+
[[Category:Remote]]

Revision as of 10:54, 15 June 2012

It is possible to run matlab on a notebook when not connected to the DTU wired network. However, one needs a special setup in order to reach the license server:

Windows

Use the ssh tunnel script.

Mac

<MISSING> (but it's quite similar to linux)

Linux

First open a windows with a shell and open connection to IMM using the following command.

ssh -L 1711:license1.cc.dtu.dk:1711 -L 1712:license1.cc.dtu.dk:1712  username@thinlinc.imm.dtu.dk

where username is your logon name on IMM UNIX systems. Leave this connection iconized.

In another command line window start matlab with the following command:

matlab -c 1711@localhost &