• 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. Functional Verification
  3. How to run multiple tests in parallel

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 65
  • Views 16158
  • 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

How to run multiple tests in parallel

ReubenMijares
ReubenMijares over 9 years ago

In my previous company, when we run regressions, the tests are run in parallel which makes the regression finish faster.

There is an already-made script that do that.

Well, I'm not familiar how did they do that so here in my new employer I'm running regression differently which runs the tests one by one, thus it takes so much time to finish the regression.

So, how do you run all/some the tests of the regression in parallel?

Thanks.

  • Cancel
  • tpylant
    tpylant over 9 years ago

    You'll want to use two steps -- one to generate the snapshot and one to run the simulation.

    • irun -c <list of args> <list of files> [-snapshot <snapshot name>]
    • irun -R <list of sim args>
      OR
    • irun -r <snapshot name> <list of sim args>

    The "irun -R" will run with the last snapshot generated or you can use "irun -r <snapshot name>" to run with a specific snapshot. 

    Once you have the snapshot, you can use bsub (or whatever tool you use) to submit as many sims as you can. You'll want to make sure that you specify individual log files or run in separate directories so that output files don't get overwritten.

    If you use vmanager, this is all done for you by specifying the compile command in the pre-session script name and the sim command in the run script name.

    Tim

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ReubenMijares
    ReubenMijares over 9 years ago

    Hi Tim,

    Thanks for the reply.

    I'm not referring to multiple tests in one regression. What I'm referring to is to submit multiple tests in the compute farm so that they will be simulated simultaenously. In this way, regression time will reduce.

    Is that what you are explaining above too?

    Regards,

    Reuben

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • tpylant
    tpylant over 9 years ago

    This is sounds like it may be more of a DRM issue than a tool issue. You need to find out what the commands are to submit to the farm and then just pass the irun commands using the DRM. Then you can pass multiple irun jobs to run in parallel.

    As I stated before, you'll just need to make sure you are running in separate directories or renaming the files so you aren't overwriting them from each parallel job.

    Tim

    • 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