• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Limit License usage (not number of jobs)

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 126
  • Views 15237
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Limit License usage (not number of jobs)

HoWei
HoWei over 4 years ago

HI,

we have a limited number of simulation licenses for our users and we want to avoid to use up all licenses at a time.

Currently the user can only set the number of parallel jobs to run, but depending on the jobs analysis (Spectre, APS Base, APS RF, APS Multicore) a different number of licenses is checked out.

Is there a way to set the max. numbers of licenses per user ?

For example the user can set his limit to 10 licenses (e.g. for license:  Virtuoso_multi_mode_simulation) ?

BR

Holger

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Hi Holger,

    You can do this via the license options file (so it's a central setting, not a user preference):

    How can I restrict a user to a certain number of seats of a license feature?

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • HoWei
    HoWei over 4 years ago in reply to Andrew Beckett

    Hi Andrew,

    as you wrote, this is a general setting (mostly done by admin) on the license server side.

    I am wondering if the user himself could restrict the number of licenses used ?

    What happened for example is, that I changed from a transient simulation to a PSS/Pnoise simulation and it took 5 licenses per job (instead of 1 license for Spectre).

    Now, we (users) have to check the license usage every time we start a simulation (sometimes its not clear what number of licenses is used in different simulations).

    I am looking for a way to set a personal limit of licenses to be used.

    Any idea ?

    BR

    Holger

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to HoWei

    Hi Holger,

    I'm not aware of any other real way of doing it. There's a client-side filter mechanism where you can define a script pointed to by $CDS_LICFLTR which gets passed the feature name and version (but not the quantity) and you can use that script to allow/deny the license access (based on the return value of the script). Potentially this could keep track of how many are in use by a particular person and at least keep it broadly under control (although I guess you could have 9 in use and then ask for 5 or 6 say, and that would take you above your 10 target - but that would be at least in the right ball-park). So that would probably be the way that I did it (either doing a live lmstat -f feature -c $CDS_LIC_FILE to check availability, or maybe doing a periodic cache to improve performance as this could be slow otherwise).

    I've also seen queueing systems also try to manage license usage by having job pre-filter scripts to allow a job to be started or not based on sufficient licenses within an allowed user-resource.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 4 years ago in reply to HoWei

    You could try to write a script that runs Spectre with the +query command-line option (see https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nb0JEAQ ) before starting the actual simulation. Of course, if you are running several simulations in parallel, you will have to keep track of the current number of used licenses yourself.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information