Forum Discussion

asard5's avatar
asard5
Icon for New Contributor rankNew Contributor
5 years ago

ERROR: Unable to checkout a license. Vsim is closing.

I am trying to run a VWF and I get this error:

**** Running the ModelSim simulation ****

c:/intelfpga_lite/19.1/modelsim_ae/win32aloem//vsim -c -do lab1_ex.do

Unable to checkout a license. Vsim is closing.

** Fatal: Invalid license environment. Application closing.

Unable to checkout a license. Make sure your license file environment variables are set correctly and then run 'lmutil lmdiag' to diagnose the problem.

Modelsim - Intel FPGA Edition uses the following environment variables to check the licenses (listed in the order of preference)

1. MGLS_LICENSE_FILE

2. LM_LICENSE_FILE.

Error.

I can't find anything with the newer versions of quartus. I have Modelsim Starter Edition 19.1 downloaded along with quartus lite.

10 Replies

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    Can you check if you are installing the Starter edition? The path indicates that you are using the paid edition of the software -- modelsim_ae. The starter edition is modelsim_ase.

    c:/intelfpga_lite/19.1/modelsim_ae/win32aloem//vsim -c -do lab1_ex.do

    Thanks.

    Best regards,

    KhaiY

    • NIKO_5K's avatar
      NIKO_5K
      Icon for New Contributor rankNew Contributor

      Hola,

      tengo el mismo problema pero en majaro linux, el mensaje que arroja es este:

      Unable to find the license file. It appears that your license file environment variable (e.g., LM_LICENSE_FILE) is not
      set correctly.
      Unable to checkout a license. Vsim is closing.
      ** Error: Invalid license environment. Application closing.

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    We do not receive any response from you to the previous question/reply/answer that I have provided. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.

    Thanks.

    Best regards,

    KhaiY

  • oma59's avatar
    oma59
    Icon for New Contributor rankNew Contributor


    Unable to checkout a license. Vsim is closing.
    ** Fatal: Invalid license environment. Application closing.
    Unable to checkout a license. Make sure your license file environment variables are set correctly and then run 'lmutil lmdiag' to diagnose the problem.
    Modelsim - Intel FPGA Edition uses the following environment variables to check the licenses (listed in the order of preference)
    1. MGLS_LICENSE_FILE
    2. LM_LICENSE_FILE.

  • sametergisi's avatar
    sametergisi
    Icon for New Contributor rankNew Contributor

    i also have same error

    do u have a solution for this?

    my error code is


    c:/altera/13.1/modelsim_ase/win32aloem//vsim -c -do Experiment1.do

    Unable to checkout a license. Vsim is closing.
    ** Fatal: Invalid license environment. Application closing.
    Unable to checkout a license. Make sure your license file environment variables are set correctly and then run 'lmutil lmdiag' to diagnose the problem.
    Modelsim-Altera uses the following environment variables to check the licenses (listed in the order of preference)
    1. MGLS_LICENSE_FILE
    2. LM_LICENSE_FILE.

    Error.

  • Same here. For both modelsim and questa intel fpga.

    Path for Questa: C:\intelFPGA_lite\21.1\questa_fse\win64

    Path for ModelSim: C:\intelFPGA_pro\21.1\modelsim_ase\win32aloem

  • pagagnn's avatar
    pagagnn
    Icon for New Contributor rankNew Contributor

    i also have same error

    do u have a solution for this?

    my error code is

    Error: Invalid license environment. Application closing.

    Unable to checkout a license. Make sure your license file environment variables are set correctly and then run 'lmutil lmdiag' to diagnose the problem.

    Modelsim - Intel FPGA Edition uses the following environment variables to check the licenses (listed in the order of preference)

    1. MGLS_LICENSE_FILE

    2. LM_LICENSE_FILE.

    Error.