This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
general_software:matlab [2016/02/15 12:40] – jansen | general_software:matlab [2024/04/22 14:44] (current) – [Obsolete: Using licenses on your laptop from out license server] intema | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== License ===== | ===== License ===== | ||
- | The license is paid by the Leiden Institute of Physics (LION) and use outside the LION will be charged to other institutes on the basis of usage. So before you can obtain a license (if you are a non-lion user) please confirm expense declaration with you Institute Manager and hem him/her confirm the license request to the contact person below. \\ | + | The license is paid through |
- | A web page listing the [[http:// | + | Information about [[matlab_ullicense|obtaining the software]] under the campus license |
+ | ===== Obsolete: Using licenses on your laptop from out license server ===== | ||
- | ===== Using licenses | + | We used to have licenses |
- | If you run Matlab | + | |
- | export LM_LICENSE_FILE=1700@license.strw.leidenuniv.nl | ||
- | |||
- | or point it to a local file which should contain: | ||
- | SERVER license.strw.leidenuniv.nl any 1700 | ||
- | USE_SERVER | ||
- | |||
- | Once you have done that, licensing is set up for all software that work with the FlexLM licensing software (currently Comsol, IDL, Maple and Matlab, probably more in the near future). 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) ===== | ||
- | |||
- | 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): | ||
- | Two ports need to be tunnelled: port 1700 (the general port on which the license server listens), and the port of the vendor-daemon, | ||
+ | < | ||
+ | </ | ||
Example: | Example: | ||
- | 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 27000:172.18.1.89: |
+ | or | ||
+ | laptop$ ssh -g -L 27000:172.18.1.89:27000 yourstrwusername@ssh.strw.leidenuniv.nl | ||
- | This opens an ssh session on our ' | + | <del>This opens an ssh session on our ' |
tcsh syntax: | tcsh syntax: | ||
- | laptop$ setenv LM_LICENSE_FILE | + | laptop$ setenv LM_LICENSE_FILE |
or bash: | or bash: | ||
- | laptop$ export LM_LICENSE_FILE=1700@localhost | + | laptop$ export LM_LICENSE_FILE=27000@localhost |
And from that session, you can start '' | And from that session, you can start '' | ||
+ | <del> | ||
+ | Alternatively, | ||
+ | </ | ||
===== Documentation ===== | ===== Documentation ===== | ||
* [[http:// | * [[http:// | ||
- | * [[FlexLM]] more info on the FlexLM license server software | + | * '' |