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

From ITSwiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m
Line 22: Line 22:
 
[[Category:2011]]
 
[[Category:2011]]
 
[[Category:How do I...]]
 
[[Category:How do I...]]
[[Category:Howto]]
 

Revision as of 16:51, 11 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 &