• 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 4215
  • 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
  • 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
  • Karev11
    Karev11 over 9 years ago

    Hi Andrew,


    Thanks for the reply.

    I ran "echo $CDS_AUTO_64BIT" and it returns "CDS_AUTO_64BIT: undefined variable", I looked at Setup->Environment, Run with 64 bit binary is not checked.

    I'm using RHEL5,  64bit OS.  You're right, when I ran, "UNIX$ rpm -q -f /usr/lib64/libreadline.so.5", I got "readline-5.1-3.el5". (when I ran  UNIX$ rpm -q readline, I got  "readline-5.1-3.el5" twice) I was concerned about installing the package because this issue happens only to me, not other co-workers who's running from the same server (unless they all changed some settings which I doubt), also CAD ppl could get mad in case I messed up things..

    I nevertheless downloaded one from internet and ran it "rpm -ivh readline-5.1-3.el5.x86_64.rpm", but got warning of "readline-5.1-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 82fd17b2" and error of "can't create transaction lock on /var/lib/rpm/__db.000"

    Could it be that some settings/env var got accidentally changed only on my side? I'm just guessing.

    thanks,

    Kevin

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

    If that environment variable isn't set - you should check the runSimulation script to see if it has -64 specified on the command line for spectre.

    I can't see how it would not find the libreadline.so.5 on the machine if it is present, unless $LD_LIBRARY_PATH is set to something strange and is omitting /lib - but then various things might fail in that case. Even then I think the wrapper takes care of it - so that works.

    Probably best if you contact customer support. Guesswork via the forum isn't a particularly effective way of diagnosing the problem! Us being able to look at the setup with you is much more likely to get to the bottom of it.

    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