• 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 SKILL
  3. Regarding wait function in cadence skill.

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 14262
  • 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

Regarding wait function in cadence skill.

rajs
rajs over 9 years ago

Hi ,

USING IC616

I am trying to execute following command in my company.

In the code "vnc -run" is a way to put job in RTDA queue in my company. So below command executes and open an terminal and i can see "calibre_fill" job name assigned in queue. And when i exit the xterm the next command it doesn't execute. Also after lodaing i see an error saying below

"The default skill generic function has not been defined for the function "asiGetStartOptionVal" . Ensure that this function is called with the correct argument(s) tool(varName). 

Is this is because of "wait" fucntion belonged to ocean.

My requirement is once the job is done in queue/lsf i need to start execute next sequence of code. Could someone please help me out.

procedure(test()

system("vnc -run -r -j calibre_fill xterm")

wait('calibre_fill)

printf("command executed successfully")

);proc

test()

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    I'm not sure why you would expect the wait() function in OCEAN (which is for dealing with distributed simulations) to have any knowledge of an arbitrary queuing system being called via the system() function. This clearly cannot work. Even if you use the "command" interface for distributed simulation in OCEAN you can't use wait - it only works with the natively supported LSF or SGE integrations.

    With other queueing systems, they support the idea of a batch submission command that waits until the job finishes before returning. In LSF you have "bsub -K" which does this and in SGE/UGE you have "qsub -sync y" which does this. It's not an interactive job (there is no interaction with the shell you submit from) but it will wait.

    Then you can either use system() (and the system will return when the job is complete), or you could use ipcBeginProcess() and an ipcWait() to wait for completion, or use the exit handler callback function from ipcBeginProcess to be called when the process finishes (which means it wouldn't block virtuoso).

    Regards,

    Andrew.

    • 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