Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

changing floating license port speeds compile

Altera_Forum
Honored Contributor II
1,116 Views

Why would changing the floating license port from 1819 to 1820 speed up Quartus compileing times?

0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
386 Views

you could try lmutil lmstat -a -c port@server with the bad port and good port and see if the server has a bit of latency on the bad port

0 Kudos
Altera_Forum
Honored Contributor II
386 Views

Here is the result of that; 

 

C:\Windows\system32>lmutil lmstat -a -c 1819[at]ourlicenseserver.cornell.edu lmutil - Copyright (c) 1989-2006 Macrovision Europe Ltd. and/or Macrovision Corp 

oration. All Rights Reserved. 

Flexible License Manager status on Wed 10/19/2011 10:11 

[Detecting lmgrd processes...] 

License server status: 1819[at]EN-LICSRV 

License file(s) on EN-LICSRV: 1819[at]ourlicenseserver.cornell.edu

lmgrd is not running: License server machine is down or not responding. (-96,7:1 

1001 "WinSock: Host not found (HOST_NOT_FOUND)") 

 

Any ideas?
0 Kudos
Altera_Forum
Honored Contributor II
386 Views

The problem comes when students change this port (see below), then ModelSim does not work; 

 

Prof., 

After some digging around, it seems that editing the license file prevents quartus from long delays before it will compile. (Perhaps it tries to ping the wrong server at first?) 

I opened up 

c:\altera\license.dat 

in a text editor and changed the last number on the first line from 1819 to 1820 

The file now reads: 

SERVER licsrv.engineering.cornell.edu 00505694574A 1820 

 

USE_SERVER 

This seems to have shaved a full minute off the compile time (a factor of 2 speedup for the last project)
0 Kudos
Altera_Forum
Honored Contributor II
386 Views

Choon Lee, 

We found the answer. Change the license.dat on the client computer to point to port 1820 (for Quartus compile speedup) . Then, change the ENV variable on the client computer to point to port 1819 (for ModelSim license). Compile speeds are down to ~30 seconds, and ModelSim can find it's license. All works fine now.  

Thank you, 

Doug
0 Kudos
Altera_Forum
Honored Contributor II
386 Views

License.dat file; 

SERVER [license.server.name] [MAC address of license svr] 1820 

USE_SERVER 

 

MGLS_LICENSE_FILE; 

1819[at-sign][license.server.name]
0 Kudos
Reply