Testing for license checkout for MATLAB_Distrib_Comp_Engine


If you need to check whether you can check out the distributing computer

[user1@hpc-gekko1 ~]# /usr/local/MATLAB/R2019a/bin/matlab -dmlworker =r "license, exit"
X11 connection rejected because of wrong authentication.
MATLAB is selecting SOFTWARE OPENGL rendering.
======BEGIN LICENSE MANAGER ERROR======
License checkout failed.
License Manager Error -5
Cannot find a license for MATLAB_Distrib_Comp_Engine.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2019a/5

Diagnostic Information:
Feature: MATLAB_Distrib_Comp_Engine
License path: /root/.matlab/R2019a_licenses:/usr/local/MATLAB/R2019a/licenses/license.dat:/usr/local/MATLAB/R2019a
/licenses/network.lic
Licensing error: -5,147. System Error: 2======END LICENSE MANAGER ERROR======

2. Check the “normal MATLAB License Server”

$ /usr/local/MATLAB/R2019a/etc/glnxa64/lmutil lmstat -a -c ../../licenses/network.lic -f MATLAB_Distr_Comp_Engine
lmutil - Copyright (c) 1989-2017 Flexera Software LLC. All Rights Reserved.
Flexible License Manager status on Thu 10/24/2019 12:31

License server status: 27000@xxx.xxx.xxx.xxx
License file(s) on xxx.xxx.xxx.xxx: C:\Program Files\MATLAB\R2019b\etc\license.dat:

xxx.xxx.xxx.xxx: license server UP v11.16.2

Vendor daemon status (on N4SAP0048):

MLM: UP v11.16.2
Feature usage info:
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.