• 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. Liberate fails due to wrongly generated command

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 126
  • Views 17380
  • 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

Liberate fails due to wrongly generated command

marten
marten over 10 years ago

Hi there,


when we start liberate for the characterization of our standardcell lib, the char_library command fails with this error message:

sh: 1: Syntax error: Bad fd number
LIBERATE - SYSTEM ERROR - could not execute command: cd /home/sachatterjee/subvt_28/SUBVT28CORE_test/lib/altos.vnode3.ks.T20150914115612398704S0023683.0; /sct/homes3/cadence/mmsim-13.11hf252/tools/bin/spectre  +lqt 0 /home/sachatterjee/subvt_28/SUBVT28CORE_test/lib/altos.vnode3.ks.T20150914115612398704S0023683.0/sim.sp >& /home/sachatterjee/subvt_28/SUBVT28CORE_test/lib/altos.vnode3.ks.T20150914115612398704S0023683.0/sim.lis


Obviously, the pipe command " >& " is wrong syntax for sh and maybe it is meant to be run in a bash. How can we force liberate to use bash instead of sh?

Cheers,

Marten

  • Cancel
Parents
  • jackiexcomp
    jackiexcomp over 9 years ago

    Run from my terminal, I was able to open the Spectre tool correctly using both commands.

    Probably I'll looking for the technical support to help me on this.

    Thanks,

    Jack

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Syeda Fayiza
    Syeda Fayiza over 7 years ago in reply to jackiexcomp

    Hi,

    I am also getting the same error(LIBERATE SYSTEM ERROR-could not execute the command...)

    When I ran spectre -W & spectre -h,

    its showing----->/mnt/cad /MMSIM131/tools.lnx86/spectre/bin/32bit/spectre : error while loading shared libraries : libreadline.so.5 : cannot open shared object file : No such file or directory.

    Please help me on this.

    Thanks in advance.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Syeda Fayiza
    Syeda Fayiza over 7 years ago in reply to jackiexcomp

    Hi,

    I am also getting the same error(LIBERATE SYSTEM ERROR-could not execute the command...)

    When I ran spectre -W & spectre -h,

    its showing----->/mnt/cad /MMSIM131/tools.lnx86/spectre/bin/32bit/spectre : error while loading shared libraries : libreadline.so.5 : cannot open shared object file : No such file or directory.

    Please help me on this.

    Thanks in advance.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to Syeda Fayiza

    Not sure the error is exactly the same - in this case it's spectre that is failing due to a missing shared library. I suspect the same thing might happen on that machine if you ran spectre directly.

    It might be that the libreadline.so.5 library is only installed in 64-bit mode, and so you might be able to fix that by doing:

    setenv CDS_AUTO_64BIT ALL

    before running Liberate. It's also possible that checkSysConf from the MMSIM131 stream would pick this up (because libreadline is one of the packages that it checks for in that version; of course, this depends on you running on a supported OS too).

    Finally, on my machine (a RedHat Enterprise 6.5 machine), the 32bit libreadline shared library comes from this RPM:

    compat-readline5-5.2-17.1.el6.i686

    So you may need to get that installed.

    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