This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- use FlexLM on a Linux system to manage both Matlab and Comsol licences
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 23, 2016
10:42 AM
use FlexLM on a Linux system to manage both Matlab and Comsol licences
Hi
We use FlexLM on a Linux system to manage both Matlab and Comsol licences but the lmgrd processes from the 2 vendors conflict so we get aberrant responses.
As an example here's an output from the "lmstat -a" command for the Comsol license :
service@eloi:~$ /usr/local/comsol52/multiphysics/license/glnxa64/lmstat -a
lmstat - Copyright (c) 1989-2013 Flexera Software LLC. All Rights Reserved.
Flexible License Manager status on Thu 3/10/2016 08:14
License server status: 27000@eloi
License file(s) on eloi: /var/tmp/lm_TMW.dat:
eloi: license server UP (MASTER) v11.13.0
Vendor daemon status (on eloi):
MLM: UP v11.13.0
Feature usage info:
Users of MATLAB_Distrib_Comp_Engine: (Total of 32 licenses issued; Total of 32 licenses in use)
"MATLAB_Distrib_Comp_Engine" v34, vendor: MLM
floating license
root eloi /dev/tty (v34) (eloi/27000 2902), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2802), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 402), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1002), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 102), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1402), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 502), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2302), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 3002), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1902), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2702), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2202), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 3102), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1602), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1502), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2502), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2602), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 902), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 602), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2102), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 3202), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1702), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2402), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 302), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1802), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1302), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 802), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1102), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 702), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1202), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 202), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2002), start Wed 3/9 15:20
Is it possible to make the 2 lmgrd processes use diffrent IP port or how can we manage to get both licenses use the same licence file ?
More, the 2 lmgrd processes are of different version, if we can use the same process for managing both licenses, is it better to choose theb recent one or the older for this ?
service@eloi:~$ /usr/local/comsol52/multiphysics/license/glnxa64/lmgrd -v
lmgrd v11.12.0.0 build 136775 x64_lsb - Copyright (c) 1988-2013 Flexera Software LLC. All Rights Reserved.
service@eloi:~$ /usr/local/MATLAB/R2015b/etc/glnxa64/lmgrd -v
lmgrd v11.13.0.2 build 162702 x64_lsb - Copyright (c) 1988-2014 Flexera Software LLC. All Rights Reserved.
service@eloi:~$
Thanck for your responses.
We use FlexLM on a Linux system to manage both Matlab and Comsol licences but the lmgrd processes from the 2 vendors conflict so we get aberrant responses.
As an example here's an output from the "lmstat -a" command for the Comsol license :
service@eloi:~$ /usr/local/comsol52/multiphysics/license/glnxa64/lmstat -a
lmstat - Copyright (c) 1989-2013 Flexera Software LLC. All Rights Reserved.
Flexible License Manager status on Thu 3/10/2016 08:14
License server status: 27000@eloi
License file(s) on eloi: /var/tmp/lm_TMW.dat:
eloi: license server UP (MASTER) v11.13.0
Vendor daemon status (on eloi):
MLM: UP v11.13.0
Feature usage info:
Users of MATLAB_Distrib_Comp_Engine: (Total of 32 licenses issued; Total of 32 licenses in use)
"MATLAB_Distrib_Comp_Engine" v34, vendor: MLM
floating license
root eloi /dev/tty (v34) (eloi/27000 2902), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2802), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 402), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1002), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 102), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1402), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 502), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2302), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 3002), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1902), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2702), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2202), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 3102), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1602), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1502), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2502), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2602), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 902), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 602), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2102), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 3202), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1702), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2402), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 302), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1802), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1302), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 802), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1102), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 702), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 1202), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 202), start Wed 3/9 15:20
root eloi /dev/tty (v34) (eloi/27000 2002), start Wed 3/9 15:20
Is it possible to make the 2 lmgrd processes use diffrent IP port or how can we manage to get both licenses use the same licence file ?
More, the 2 lmgrd processes are of different version, if we can use the same process for managing both licenses, is it better to choose theb recent one or the older for this ?
service@eloi:~$ /usr/local/comsol52/multiphysics/license/glnxa64/lmgrd -v
lmgrd v11.12.0.0 build 136775 x64_lsb - Copyright (c) 1988-2013 Flexera Software LLC. All Rights Reserved.
service@eloi:~$ /usr/local/MATLAB/R2015b/etc/glnxa64/lmgrd -v
lmgrd v11.13.0.2 build 162702 x64_lsb - Copyright (c) 1988-2014 Flexera Software LLC. All Rights Reserved.
service@eloi:~$
Thanck for your responses.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 04, 2016
12:30 PM
You can set up the license server to do all that. You can put both vendor's licenses into one file (which I wouldn't recommend), or you can have one lmgrd run both vendor daemons (which I also wouldn't recommend). The safest thing to do is to run separate lmgrd processes for each vendor (so that you can take down one without taking down all of them). To do this you just need to specify different port numbers on the SERVER line for each vendor's license file. Also, it is a good idea to uses the newest lmgrd for all your vendor daemons.
When you run lmstat you need to use the -c option to specify a particular license file, otherwise it just scans the default ports (27000 to 27009) and finds whatever is running there.
When you run lmstat you need to use the -c option to specify a particular license file, otherwise it just scans the default ports (27000 to 27009) and finds whatever is running there.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)