• 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. ipcBeginProcess not stable on batch mode

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 144
  • Views 15565
  • 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

ipcBeginProcess not stable on batch mode

WellsJong
WellsJong over 16 years ago

Hi, Initially, I use ipcBeginProcess to run the command shown in the bottom using batch mode like the following

icms -nocdsinit -nograph -noblink < /home/irdc/users/wtjong/projects/MSD/shawn/fxdac260/ftc_porting.il

But it doesn't work most of time and the same thing happens using the GUI mode via CIW. Therefore, I remember that from some post, if I don't talk to the process, then just use csh, system, etc. So, I do that and it works perfectly as I expect. But I don't understand why and it is very difficult to trace down the problem because ipcReadProcess(cid) shows nothing at all. Anyone knows how to trace down this problem or any clue to do so? I don't know if I have luck next time if I need to use ipcBeginProcess. Thanks.

 sprintf(info_str "/home/irdc/users/wtjong/work/designkit/optimization/utility/msd2.new/libChar/post_sim_find %s" fc)

 printf("%s\n" info_str)

 ;cid = ipcBeginProcess(info_str);

 ;ipcWaitForProcess(cid)

 system(info_str)

 

 Best Regards, Wells Jong

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

    Unfortunately I think too many of the details are missing to know what the problem really is. If the program is complaining about the input file being missing, that's not really anything to do with ipcBeginProcess.

    Your script also has "set LD_LIBRARY_PATH=..." - I presume if it's a csh script, then it should be "setenv LD_LIBRARY_PATH ..." (i.e. setenv not set, and no "=").

    Unfortunately there's too little specific information in your description to be able to diagnose anything.

    The best thing would still be to report this to customer support, even though you have a workaround in place. I'm not convinced it's really a problem with ipcBeginProcess though...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 16 years ago

    Unfortunately I think too many of the details are missing to know what the problem really is. If the program is complaining about the input file being missing, that's not really anything to do with ipcBeginProcess.

    Your script also has "set LD_LIBRARY_PATH=..." - I presume if it's a csh script, then it should be "setenv LD_LIBRARY_PATH ..." (i.e. setenv not set, and no "=").

    Unfortunately there's too little specific information in your description to be able to diagnose anything.

    The best thing would still be to report this to customer support, even though you have a workaround in place. I'm not convinced it's really a problem with ipcBeginProcess though...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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