Here's the first thing I would try. You probably need to set the license variable to point to your server. The variable is named LM_LICENSE_FILE (I think MGLS_LICENSE_FILE is also equivalent). You can check the current value by entering this in a terminal:
It should print the current value back to you. If you haven't set it, it might print nothing.
To set it for only the current terminal, you can just do this (I think Ubuntu uses bash by default):
You can set this globally if you add the above line in your startup file. There should be a .bashrc file (or equivalent depending on your shell) in your home directory (/home/<username>).
Thanks for your reply. I did set the environment variable as you mentioned:
Then I got the same issue with vsim -c command:
Unable to checkout a license. Make sure your license file environment variable (e.g., LM_LICENSE_FILE)
is set correctly and then run 'lmutil lmdiag' to diagnose the problem.
Unable to checkout a license. Vsim is closing.
** Fatal: Invalid license environment. Application closing.
I tried lmutil lmdiag then and got FLEXnet diagnostics like the following:
"acctree" v2016.050, vendor: mgcld
License server: ecs-license1
floating license starts: 1-jun-2015, expires: 31-may-2016
This license cannot be checked out because:
Feature has expired.
Expire date: 31-may-2016
License path: email@example.com:
FLEXnet Licensing error:-10,32
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".
which is confusing since I can use the license server under windows without any problem. I am wondering if the license server does not support linux version. What do you think?
Sorry I couldn't help. It sounds like you may be on the right track that the license server is not set up for Linux. I would check with your local IT first. One other concern is Ubuntu is not one of the officially supported operating systems. Here are some related technotes that might help with the license server:
Thanks anyway. I will contact with the IT to see if the license expires.
It is true that Ubuntu does not support ModelSim, though there is a way to walkaround.
Thanks a lot for the links.
Welcome. Good luck!