• 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. A problem when running ADE for spectre.envOpts

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 18589
  • 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

A problem when running ADE for spectre.envOpts

sjwprc
sjwprc over 6 years ago

I have such warning in my CIW:

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

WARNING (ASSEMBLER-11301): The values of following environment variables conflict with each other:

spectre.envOpts controlMode 'batch'
maestro.simulation interactiveA t

Simulation will now be run in the interactive mode. To run the simulation in batch mode, set the 'maestro.simulation interactiveA' variable to nil.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

My question: which mode I should use and how to set ?

Thanks

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    The controlMode variable would normally be "interactive" by default, and the interactiveA variable is already at its default value of t. These two control how spectre is run in ADE, and the default mode is to try to improve simulation throughput by keeping it alive and talking to it interactively to pass (for example) variable changes without having to restart the simulator, re-checkout the license, re-read the netlist and so on.

    The controlMode primarily impacts ADE L, and some set it to batch to avoid spectre holding onto the license after the simulation has completed. Normally in ADE spectre doesn't exit (although this mode isn't used when using APS) and then if you just change a design variable and re-simulate, spectre continues. Similarly the parametric analysis tool is more efficient this way. However, since the spectre license is held onto after simulations have completed, some customers turn this off - they lose the interactive speed benefit, but don't end up holding onto a simulation license for longer than they need to.

    The maestro interactiveA  setting for Assembler (and interactiveE for Explorer) behave slightly differently. Spectre is kept alive whilst (certain) sweeps are performed, but not beyond all the simulations. So there's really no downside (in general) of having the interactiveA/interactiveE modes enabled - all they do is allow simulation throughput to be improved all the time that you are running more sweep points than you have jobs in your job policy. There have been the odd occasions since this was introduced that there were bugs with the interactive behaviour when we would advise to turn off the setting (set it to nil) to workaround those issues until the bug was fixed, but that's not general advice but only in response to a specific issue. So unless an AE (or article on COS) specifically advises setting it to nil for the version you're using, I'd leave the interactiveA/interactiveE setting at default. 

    If you then want ADE L to be in batch mode for the reasons I mentioned above (about licensing), you can just ignore the warning.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +2 Vote Down
    • Cancel
  • sjwprc
    sjwprc over 6 years ago in reply to Andrew Beckett

    Hi Andrew, thanks for your answer, quite clear for me. 

    Just follow the question, how i could set envVal to turn off batch mode ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • sjwprc
    sjwprc over 6 years ago in reply to Andrew Beckett

    Hi Andrew, thanks for your answer, quite clear for me. 

    Just follow the question, how i could set envVal to turn off batch mode ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to sjwprc

    envSetVal("spectre.envOpts" "controlMode" 'string "interactive")

    if you want to do this in your .cdsinit. If it's in (say) ~/.cdsenv (note, .cdsenv in the working dir is not picked up by default), then it would be:

    spectre.envOpts controlMode string "interactive"

    Regards,

    Andrew

    • Cancel
    • Vote Up +1 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