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

From ITSwiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
 
Line 14: Line 14:
 
===Linux===
 
===Linux===
  
First open a windows with a shell and open connection to IMM using the following command.
+
First open a windows with a shell and open connection to DTU Compute using the following command.
  
 
  ssh -L 1711:license1.cc.dtu.dk:1711 -L 1712:license1.cc.dtu.dk:1712  username@thinlinc.imm.dtu.dk
 
  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.
+
where ''username ''is your logon name on DTU Compute UNIX systems. Leave this connection iconized.
  
 
In another command line window start matlab with the following command:
 
In another command line window start matlab with the following command:

Latest revision as of 10:13, 3 July 2013

NOTE: It is recommendable to run matlab outside DTU using a OpenVPN connection. No extra startup options for matlab is needed with the OpenVPN solution.


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 DTU Compute 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 DTU Compute UNIX systems. Leave this connection iconized.

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

matlab -c 1711@localhost &