Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI can't launch modelsim-altera software
Hi everyone.
I am using Quartus II 9.0 Web Edition and Modelsim-Altera 6.4a Starter Edition under win7 and win8.I'm getting the same error in both OS. After compiling,when I start the simulation,I got three errors: Error: Can't launch ModelSim-Altera Simulation software -- make sure the software is properly installed and the environment variable LM_LICENSE_FILE or MGLS_LICENSE_FILE points to the correct license file. Error: NativeLink simulation flow was NOT successful Error: Quartus II Full Compilation was unsuccessful. 3 errors, 5 warnings I uninstall QuartusII and Modelsim-Altera and install again many times , but it wasn't work. Please help me14 Replies
- Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
I have the same problem here. My configuration:
- OS CentOS 6.4 64 bit, 8 GByte physical RAM
- 12.1sp1_243_modelsim_ase_linux
- 12.1sp1_243_quartus_free_linux
- Cyclone V: 5CGXBC4C6F23C7
- Altera_Forum
Honored Contributor
--- Quote Start --- Hi everyone. I am using Quartus II 9.0 Web Edition and Modelsim-Altera 6.4a Starter Edition under win7 and win8.I'm getting the same error in both OS. After compiling,when I start the simulation,I got three errors: Error: Can't launch ModelSim-Altera Simulation software -- make sure the software is properly installed and the environment variable LM_LICENSE_FILE or MGLS_LICENSE_FILE points to the correct license file. Error: NativeLink simulation flow was NOT successful Error: Quartus II Full Compilation was unsuccessful. 3 errors, 5 warnings I uninstall QuartusII and Modelsim-Altera and install again many times , but it wasn't work. Please help me --- Quote End --- Are you able to perform Analysis and Elaboration successfully? If yes, try to do RTL Simulation again using NativeLink. --- Quote Start --- I have the same problem here. My configuration:- OS CentOS 6.4 64 bit, 8 GByte physical RAM
- 12.1sp1_243_modelsim_ase_linux
- 12.1sp1_243_quartus_free_linux
- Cyclone V: 5CGXBC4C6F23C7
- Altera_Forum
Honored Contributor
It works under Win 7 Pro 64 bit and software you mentioned. But I don't use NativeLink. I open the ModelSim, compile manually the project files and start simulating testbench file.
- Altera_Forum
Honored Contributor
--- Quote Start --- Try using other older devices such as Cyclone II and see if that works --- Quote End --- Same problem with Cyclone II and Cyclone IV devices:( It would be very interesting and helpful for me if anybody can tell that he has managed to use the starter edition of ModelSim-Altera with version 12.1sp1 under Linux. Anybody? - Altera_Forum
Honored Contributor
That's weird. AFAIK, both Quartus Web Edition and Modelsim-Altera Starter Edition don't require any license file to run. Have you tried uninstalling ModelSim-Altera and reinstalling it?
- Altera_Forum
Honored Contributor
--- Quote Start --- That's weird. AFAIK, both Quartus Web Edition and Modelsim-Altera Starter Edition don't require any license file to run. Have you tried uninstalling ModelSim-Altera and reinstalling it? --- Quote End --- I installed it several times; I tried to install Quartus first, ModelSim 2nd, and vice versa. The result is the same always. I suspected my test project and I looked also in some hidden files, which might be corrupt for any reason. I found an invisible directory in my home folder with the general Altera settings. I erased it, re-installed the SW and created a new project. No luck! Tomorrow I will try to install it at a different workstation with RedHat 5 (instead of CentOS 6.4). - Altera_Forum
Honored Contributor
I solved my problem:)
With RedHat 5 it works fine. I cannot say which difference between CentOS and RedHat made the difference, but there seems to be a difference. - Altera_Forum
Honored Contributor
It's good to hear that. I'm not sure what could be the problem since I myself is running my ModelSim on CentOS too.
- Altera_Forum
Honored Contributor
--- Quote Start --- Same problem with Cyclone II and Cyclone IV devices:( It would be very interesting and helpful for me if anybody can tell that he has managed to use the starter edition of ModelSim-Altera with version 12.1sp1 under Linux. Anybody? --- Quote End --- I've been trying to get this working under Ubuntu 12.04, and appear to have succeeded. It works or not depending on which Linux kernel version you're using. If you follow the regular guidance and configure Quartus to point at the install of modelsim-altera starter edition, you will point it at something like [...]/12.1sp1/modelsim_ase/bin That bin directory doesn't contain executable files but has placeholder soft links to a script called ../vco (in the parent directory). That script is supposed to work out the best version of the proper executables to run. For Linux kernel versions 2.4.7 to 2.9 it uses the files in modelsim_ase/linux otherwise it defaults to the non-existent modelsim_ase/linux_rh60 directory. On my system I have created a soft link of the linux directory to linux_rh60 (in the modelsim_ase directory, do "ln -s linux linux_rh60") You could also edit the vco file to change the one reference to linux_rh60 to use linux instead. I guess you could also point Quartus at [...]/modelsim_ase/linux instead of the bin directory, but the vco script seems to do some command translation which may or may not be relevant to the current versions of the development environment.