License checkout failed -15/-95 on GCP VM Ubuntu 22.04 with MATLAB R2022b and HDL Coder Academic License

19 visualizzazioni (ultimi 30 giorni)
I am running MATLAB R2022b on a Google Cloud Platform (GCP) Ubuntu 22.04 VM with an NVIDIA Tesla T4 GPU. I have an academic license that includes HDL Coder and Deep Learning Toolbox. However, I am experiencing persistent license checkout failures when running MATLAB commands headlessly or in batch mode.
My environment details:
  • GCP VM with n1-standard-4 + T4 GPU
  • OS: Ubuntu 22.04 (deeplearning-ubuntu2204 image)
  • MATLAB installed via MathWorks Package Manager (MPM)
  • Using license file located at /usr/local/MATLAB/R2022b/licenses/license.dat or /opt/matlab/licenses/license.lic
The license errors I see include:
text
License Manager Error -15,570 (Unable to connect to license server) License Manager Error -95,378 (Unable to resolve hostname) sudo: unable to resolve host gcp-matlab-fpga: Name or service not known
Steps I've tried to fix this issue:
  1. Setting the hostname with sudo hostnamectl set-hostname gcp-matlab-fpga
  2. Adding the hostname to /etc/hosts as 127.0.1.1 gcp-matlab-fpga
  3. Creating individual license files with the MAC address of ens4 network interface (not eth0 as GCP uses ens4)
  4. Killing all lmgrd license manager processes before launching MATLAB
  5. Exporting MLM_LICENSE_FILE environment variable pointing to the license file
  6. Attempting manual startup of license manager daemon
Despite these, the license checkout still fails with the errors above. This is blocking my HDL Coder based FPGA deployment workflow for an academic research project involving deep learning on medical imaging data (pancreatic cancer detection).
Could someone please advise if there is a known workaround or recommended license configuration for running MATLAB with HDL Coder on GCP VMs? Is there a GCP-specific license file template or daemon startup command recommended by MathWorks for cloud use?
Any help or guidance would be greatly appreciated.
Thank you!

Risposte (0)

Categorie

Scopri di più su Licensing on Cloud Platforms in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by