User Tools

Site Tools


general_software:flexlm

Differences

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

Link to this comparison view

Next revision
Previous revision
general_software:flexlm [2016/02/15 12:39] – created jansengeneral_software:flexlm [2023/09/08 06:57] (current) – [Using licenses from your laptop (part 1: local or [[vpn]])] jansen
Line 12: Line 12:
 | Autodesk | 2080 | | Autodesk | 2080 |
  
-TO DO: description for Mathematica (which uses its own license manager software)+This server also has our site license for Mathematica. However, for licenses on personal devices, see  [[general_software:mathematica]]. 
  
 Note: in stead of license.strw.leidenuniv.nl, it is also possible to use license.lorentz.leidenuniv.nl or license.physics.leidenuniv.nl . They all point to the same server. Note: in stead of license.strw.leidenuniv.nl, it is also possible to use license.lorentz.leidenuniv.nl or license.physics.leidenuniv.nl . They all point to the same server.
  
-===== Using licenses from your laptop (part 1: local) ===== +===== Using licenses from your laptop (part 1: local or vpn) ===== 
-If you run Matlab on your laptop, you need to point it to our license server. You can either set the environment variable LM_LICENSE_FILE to point to our server and port number. On Linux or MacOS (assuming your shell is bash):+If you run Matlab on your laptop, you need to point it to our license server. You can either set the environment variable LM_LICENSE_FILE to point to our server and port number, or give this information through the setup of the program\\ 
 +On Linux or MacOS (assuming your shell is bash):
  
   export LM_LICENSE_FILE=1700@license.strw.leidenuniv.nl   export LM_LICENSE_FILE=1700@license.strw.leidenuniv.nl
Line 27: Line 29:
 Once you have done that, licensing is set up for all software that work with the FlexLM licensing software. And, you will no longer have to change this setup when new versions of the software become available. Once you have done that, licensing is set up for all software that work with the FlexLM licensing software. And, you will no longer have to change this setup when new versions of the software become available.
  
-===== Using licenses from your laptop (part 2: remote access) =====+For Windows users, it is probably easier to set up the license server address and port through the setup or installation of the program (although the environment method should work from powershell, and creating a license file should work as well). 
 + 
 +===== Using licenses from your laptop (part 2: remote access, other than through vpn) =====
  
 To reach our license server from outside the building, you will need to tunnel the connections through ssh (in this example, on ssh.lorentz.leidenuniv.nl ; Sterrewacht and LION people should of course substitute the name of their ssh machine). And then, on your laptop, point LM_LICENSE_FILE to 1700@localhost in stead of the actual server, since localhost:1700 is being forwarded to the 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.lorentz.leidenuniv.nl ; Sterrewacht and LION people should of course substitute the name of their ssh machine). And then, on your laptop, point LM_LICENSE_FILE to 1700@localhost in stead of the actual server, since localhost:1700 is being forwarded to the license server.
 Two ports need to be tunnelled: port 1700 (the general port on which the license server listens), and the port of the vendor-daemon (see table; in case of matlab, this is 1173).  Two ports need to be tunnelled: port 1700 (the general port on which the license server listens), and the port of the vendor-daemon (see table; in case of matlab, this is 1173). 
  
-Example:+Example for commandline use (Linux, Mac OS X):
   laptop$ ssh -g -L 1700:license.strw.leidenuniv.nl:1700 -L 1173:license.strw.leidenuniv.nl:1173 yourlorentzusername@ssh.lorentz.leidenuniv.nl   laptop$ ssh -g -L 1700:license.strw.leidenuniv.nl:1700 -L 1173:license.strw.leidenuniv.nl:1173 yourlorentzusername@ssh.lorentz.leidenuniv.nl
  
Line 44: Line 48:
 And from that session, you can start the licensed software. And from that session, you can start the licensed software.
  
 +Information about setting up a tunnel from a Windows system can be found here on the pages about putty or bitvise (eg you can set up the tunnel similarly to your remote login to your desktop).
general_software/flexlm.1455539983.txt.gz · Last modified: 2016/02/15 12:39 by jansen