• 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. spectre error (64bit/32bit) on linux

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 4221
  • 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

spectre error (64bit/32bit) on linux

Karev11
Karev11 over 9 years ago

Hi Andrew,


When I tried to run spectre sim, I had error messages as below:

ERROR (ADE-3036): Errors encountered during simulation. The simulator run log has not been generated.
        Possible cause could be an invalid command line option for the version of the simulator
        you are running. Choose Setup->Environment and verify that the command line options
        specified in the userCmdLineOption field are supported for the simulator.
        Alternatively, run the simulator standalone using the runSimulation file in the netlist
        directory to know the exact cause of the error.

I then ran runSimulation file, error message is:

/tool/cbar/apps/cadenceMMSIM/12.11.164/tools/spectre/bin/64bit/spectre: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory
ERROR: Cannot execute 'spectre input.scs +escchars +log ../psf/spectre.out +inter=mpsc +mpssession=spectre0_15953_1 -format psfbin -raw ../psf +lqtimeout 900 -maxw 5 -maxn 5'

I'm currently running on RHEL 5.8 (Tikanga), however, if I ran on RHEL6 (Santiago). It works fine.

I noticed in the error message 64bit spectre is being linked. Is that the reason for the errors I got?  We do have 32bit spectre available, is there any thing I need to set up to have either 32 or 64bit spectre works if I have to run it in RHEL 5.8 environment?

thanks,

Kev

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

    This looks as if you've not got one of the relevant shared libraries available on the machine.

    First of all, I assume you're running on a 64-bit OS. We don't support 32-bit OS for some time - and spectre pretty much requires you to be on a 64 bit OS for at least some parts of the flow. The actual simulator can be run as 32 bit (the default normally) or 64 bit - this is a tradeoff between performance and capacity. The 32 bit simulator will be slightly faster than the 64 bit, but can't access any more than about 3.7Gbytes of memory (it's faster because there is less memory accessed because the pointers are 4 bytes rather than 8 bytes).

    Which version is used may be controlled by the $CDS_AUTO_64BIT UNIX env var, or via a setting on the Setup->Environment form in ADE.

    Now for that missing shared library. On my RHEL5.5 system (so should be similar) I have both the 32 bit and 64 bit version of readline installed:

    UNIX$ rpm -q -f /usr/lib64/libreadline.so.5
    readline-5.1-3.el5

    So the package name is readline-5.1.3.el5 (there may be a newer version - the key thing is that the rpm is called "readline"). I suspect on your RHEL6 machine if you do:

    UNIX$ rpm -q readline
    readline-6.0-4.el6.x86_64
    readline-6.0-4.el6.i686

    (on my RHEL5 machine I don't get the different suffix for the two different versions, one 64 bit, one 32 bit).

    So I think you just need to get the missing RPM installed.

    Regards,

    Andrew.

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

    This looks as if you've not got one of the relevant shared libraries available on the machine.

    First of all, I assume you're running on a 64-bit OS. We don't support 32-bit OS for some time - and spectre pretty much requires you to be on a 64 bit OS for at least some parts of the flow. The actual simulator can be run as 32 bit (the default normally) or 64 bit - this is a tradeoff between performance and capacity. The 32 bit simulator will be slightly faster than the 64 bit, but can't access any more than about 3.7Gbytes of memory (it's faster because there is less memory accessed because the pointers are 4 bytes rather than 8 bytes).

    Which version is used may be controlled by the $CDS_AUTO_64BIT UNIX env var, or via a setting on the Setup->Environment form in ADE.

    Now for that missing shared library. On my RHEL5.5 system (so should be similar) I have both the 32 bit and 64 bit version of readline installed:

    UNIX$ rpm -q -f /usr/lib64/libreadline.so.5
    readline-5.1-3.el5

    So the package name is readline-5.1.3.el5 (there may be a newer version - the key thing is that the rpm is called "readline"). I suspect on your RHEL6 machine if you do:

    UNIX$ rpm -q readline
    readline-6.0-4.el6.x86_64
    readline-6.0-4.el6.i686

    (on my RHEL5 machine I don't get the different suffix for the two different versions, one 64 bit, one 32 bit).

    So I think you just need to get the missing RPM installed.

    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