Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

changing floating license port speeds compile

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

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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