• 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

    Hi Andrew,

    I run using "spectre -W" and also using the "spectre -h", with the follow commands:

    set_var extsim_cmd spectre
    set_var extsim_cmd_option -W or set_var extsim_cmd_option -h
    char_library -extsim spectre -ecsm -cells ${cells_list} -thread 1

    But the errors are quite similar:

    - With "spectre -W":

    The first error is:

    *Error** (char_library) :  Cannot find sim.print or sim.measure in dir [/dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163142241290S0002837.0]. This may be caused by simulation error. Check your simulator license and $PATH settings.

    - With "spectre -h":

    The 3 first errors are:

    LIBERATE - SYSTEM ERROR - could not execute command: cd /dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0; /apps/cadence/MMSIM_14_10_459/tools/bin/spectre  -h =log sim.lis  /dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0/sim.sp >& /dev/null
    *Info* Simulation failed to complete. Restart the simulation in 5 seconds on host serv175.
    *Info* Run Spectre : (0) at /dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0
    *Error* (char_library) Failed to run 'cd /dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0; /apps/cadence/MMSIM_14_10_459/tools/bin/spectre  -h =log sim.lis  /dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0/sim.sp >& /dev/null' on host serv175.
          * Spectre exit code : 2(stop simulation because of Spectre error condition)

    And the fourth error is similar to the first error of simulation with "spectre -W":

    *Error** (char_library) :  Cannot find sim.print or sim.measure in dir [/dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0]. This may be caused by simulation error. Check your simulator license and $PATH settings.

    So, I don't know why the Spectre didn't write some files (sim.measure or sim.print) and this error is propagate through all characterization.

    Now, I'm trying others Spectre options as "spectre +diagnose" and "spectre +debug".

    I have using the command - set_var extsim_save_failed "all" - to can figure out what's happening

    But I don't have any idea what's going on with this characterization.

    Do you have any idea?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jackiexcomp
    jackiexcomp over 9 years ago

    Hi Andrew,

    I run using "spectre -W" and also using the "spectre -h", with the follow commands:

    set_var extsim_cmd spectre
    set_var extsim_cmd_option -W or set_var extsim_cmd_option -h
    char_library -extsim spectre -ecsm -cells ${cells_list} -thread 1

    But the errors are quite similar:

    - With "spectre -W":

    The first error is:

    *Error** (char_library) :  Cannot find sim.print or sim.measure in dir [/dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163142241290S0002837.0]. This may be caused by simulation error. Check your simulator license and $PATH settings.

    - With "spectre -h":

    The 3 first errors are:

    LIBERATE - SYSTEM ERROR - could not execute command: cd /dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0; /apps/cadence/MMSIM_14_10_459/tools/bin/spectre  -h =log sim.lis  /dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0/sim.sp >& /dev/null
    *Info* Simulation failed to complete. Restart the simulation in 5 seconds on host serv175.
    *Info* Run Spectre : (0) at /dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0
    *Error* (char_library) Failed to run 'cd /dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0; /apps/cadence/MMSIM_14_10_459/tools/bin/spectre  -h =log sim.lis  /dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0/sim.sp >& /dev/null' on host serv175.
          * Spectre exit code : 2(stop simulation because of Spectre error condition)

    And the fourth error is similar to the first error of simulation with "spectre -W":

    *Error** (char_library) :  Cannot find sim.print or sim.measure in dir [/dh_eldorado/projects/pacemaker/workspaces/jacqueline.mertes/cliosoft/data/eldorado_lib/el_char/liberate/rundir/altos.serv175.T20160524163251419155S0003312.0]. This may be caused by simulation error. Check your simulator license and $PATH settings.

    So, I don't know why the Spectre didn't write some files (sim.measure or sim.print) and this error is propagate through all characterization.

    Now, I'm trying others Spectre options as "spectre +diagnose" and "spectre +debug".

    I have using the command - set_var extsim_save_failed "all" - to can figure out what's happening

    But I don't have any idea what's going on with this characterization.

    Do you have any idea?

    • 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