User Tools

Site Tools


general_software:matlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
general_software:matlab [2023/05/15 08:00] – [License] jansengeneral_software:matlab [2024/04/22 14:44] (current) – [Obsolete: Using licenses on your laptop from out license server] intema
Line 5: Line 5:
 Information about [[matlab_ullicense|obtaining the software]] under the campus license is available on another page Information about [[matlab_ullicense|obtaining the software]] under the campus license is available on another page
  
-===== Using licenses from your laptop =====+===== Obsolete: Using licenses on your laptop from out license server =====
  
-To reach our license server from outside the building, you will need to tunnel the connections through ssh (in this example, on ssh.strw.leidenuniv.nl or ssh.lorentz.leidenuniv.nl): and then, on your laptop, point LM_LICENSE_FILE to 27000@localhost in stead of the actual server, since localhost:27000 is being forwarded to the license server.+We used to have licenses centralized on our license server. This still works for older versions of MatlabDo not use this method for new installs; please follow the procedure[[matlab_ullicense|linked here]].
  
 +
 +<del>To reach our license server from outside the building, you will need to tunnel the connections through ssh (in this example, on ssh.strw.leidenuniv.nl or ssh.lorentz.leidenuniv.nl): and then, on your laptop, point LM_LICENSE_FILE to 27000@localhost in stead of the actual server, since localhost:27000 is being forwarded to the license server.
 +</del>
 Example: Example:
   laptop$ ssh -g -L 27000:172.18.1.89:27000 yourlorentzusername@ssh.lorentz.leidenuniv.nl   laptop$ ssh -g -L 27000:172.18.1.89:27000 yourlorentzusername@ssh.lorentz.leidenuniv.nl
Line 14: Line 17:
   laptop$ ssh -g -L 27000:172.18.1.89:27000 yourstrwusername@ssh.strw.leidenuniv.nl   laptop$ ssh -g -L 27000:172.18.1.89:27000 yourstrwusername@ssh.strw.leidenuniv.nl
  
-This opens an ssh session on our 'ssh' server. Keep this session open! Once it is closed, the port forwarding is closed as well! Now, from another terminal window or tab, you can start matlab after pointing to the local host as license server:+<del>This opens an ssh session on our 'ssh' server. Keep this session open! Once it is closed, the port forwarding is closed as well! Now, from another terminal window or tab, you can start matlab after pointing to the local host as license server:</del>
  
 tcsh syntax: tcsh syntax:
Line 22: Line 25:
  
 And from that session, you can start ''matlab''. And from that session, you can start ''matlab''.
 +<del>
 Alternatively, edit the file ''network.lic'' in Matlab's installation directory to point to localhost port 27000 (advantage: no 2nd terminal window needed, and you can start matlab from the applications screen or menu (MacOS, Linux)) Alternatively, edit the file ''network.lic'' in Matlab's installation directory to point to localhost port 27000 (advantage: no 2nd terminal window needed, and you can start matlab from the applications screen or menu (MacOS, Linux))
 +</del>
  
 ===== Documentation ===== ===== Documentation =====
   * [[http://www.mathworks.com/products/matlab]]   * [[http://www.mathworks.com/products/matlab]]
-  * [[FlexLM]] more info on the FlexLM license server software+  * ''[[FlexLM]] more info on the FlexLM license server software''
  
general_software/matlab.1684137641.txt.gz · Last modified: by jansen