Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

FLEXlm License can't be checked out

Intel_C_Intel
Employee
961 Views

I just installed everything on Vista, and now I get this message about the license file. Help tells me wheere it shoudl be, and it's there, but I still can't compile. I did not have this problem when I installed previously on Vista RC2.

Must be an easy fix for this, but I cna't find it....Please tell me how to fix this.

Thanks.

0 Kudos
9 Replies
Steven_L_Intel1
Employee
961 Views
You have to set Visual Studio to run as Administrator. See this thread for more.
0 Kudos
Intel_C_Intel
Employee
961 Views

Well, yeah, I saw that thread before. I have the beta 1 SP, which is the only difference from when I ran under Vista RC2. I don't see all those messages you say change with the beta,

I am running VS under an admin account, which I thought was suffient; it was under Vista RC2.

Perhaps I should uninstalll the beta SP.

I'll keep trying per your suggestion.

0 Kudos
Intel_C_Intel
Employee
961 Views
Works as you say, running as ADMIN. Thanks!
0 Kudos
Steven_L_Intel1
Employee
961 Views
No, it is not sufficient to be an admin. Remember that in Vista, the default is that even administrative users run normally at a lower privilege level. I don't know why this has the effect on the compiler finding the license, but as I point out in the other thread, Microsoft itself recommends the "Start as administrator" option and offers a long list of things that don't work if you don't do this.
0 Kudos
pould
Beginner
961 Views

It's odd.. However a good reason might be that existing versions of flexlm were not designed for vista. Some of the previous versions were using code that wouldn't directly run on vista due to previledges.

-- Poul

----

License Statistics for FLEXlm

FLEXlm knowledge

0 Kudos
Steve_Nuchia
New Contributor I
961 Views

We've seen this on 64-bit Vista installs. The license folder path environment variable is not being propagated through to the compiler, or it's being ignored. I copied the license file into the Bin folder for each installed compiler and it worked. My boss fixed it by jiggling the environment variable in some way but I don't have the details on it yet.

The license server has no log entry for the failed attempt in the cases I'm talking about. There could easily be more than one problem, of course.

0 Kudos
Steven_L_Intel1
Employee
961 Views
I have tested this myself on Vista x64 and it worked, as long as I started Visual Studio as Administrator.
0 Kudos
j0e
New Contributor I
961 Views

Well, I have the same problem.

I'm running VS 2005 sp 1 with vista updateon windowsVista x64 sp 1.When I try to compile from within VS 2005, I get the lic error (no problem if I compile from command window). The environment variable points to the right lic file, but this doesn't seem to matter. As mentioned earlier in this thread, if i copy the lic file to the compiler bin directory, things work ok. However, running VS 2005 as an admin does not solve the problem. If anyone has a better fix than coping the lic file around, please post.

I had a related problem with FlexLM on vista, but that was resolved by intalling the latest utils for FlexLM (version 11.5).

cheers,

-joe

0 Kudos
Steven_L_Intel1
Employee
961 Views
On Vista, you MUST run Developer Studio "as administrator". I drag a shortcut for DevStudio to my desktop, right click on it, Properties, Compatibility, and check the "Run this program as an administrator". When you start it, you will get a UAC prompt (which lets you know that you did it right.) This is a Microsoft recommendation.

I have not yet tried VS08 to see if it behaves the same way.
0 Kudos
Reply