• 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. RF Design
  3. Unable to run cds_srr commands in matlab

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 63
  • Views 12940
  • 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

Unable to run cds_srr commands in matlab

findsriharsha
findsriharsha over 4 years ago

Here is my simple matlab script:

import cadence.srrdata.*
import cadence.Query.*
import cadence.utils.*

resdir = '/nfs/sc/disks/xyz_dts_tb/maestro/results/maestro/Interactive.47/1/xyz_noise/psf';

datasets = cds_srr(resdir);

Here is the error:

--------------------------------------------------------------------------------
Matlab default startup completed.
Running Intel workaround to prevent >200MB disk usage in your home directory.
Done.
--------------------------------------------------------------------------------
>> spectre_matlab1
Invalid MEX-file '/p/hdk/cad/mmsim/19.1.0.561/tools/spectre/matlab/64bit/cds_innersrr.mexa64': /nfs/site/disks/hdk_cad_3/cad/matlab/R2016a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by
/p/hdk/cad/mmsim/19.1.0.561/tools/spectre/matlab/64bit/../../../lib/64bit/libsrr.so)

Error in cds_srr (line 16)
sig = cds_innersrr(dirname);

Error in spectre_matlab1 (line 7)
datasets = cds_srr(resdir);

Matlab Env:

MATLAB=/nfs/site/disks/hdk_cad_3/cad/matlab/R2016a

BASEMATLABPATH=/p/hdk/cad/mmsim/19.1.0.561/tools/spectre/matlab/64bit:/p/hdk/cad/mmsim/19.1.0.561/tools/spectre/matlab/:/nfs/sc/disks/axx_0419/sriharsh/1276_vmac/vmac_dts_21ww03p5a/matlab:/p/hdk/cad/analog_collateral/18.14.2/libraries/matlab/

OSG_LD_LIBRARY_PATH=/nfs/site/disks/hdk_cad_3/cad/matlab/R2016a/sys/openscenegraph/lib/glnxa64

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    You need to have closer alignment between the MATLAB and Spectre versions. You're using Spectre from 2019 and MATLAB from 2016. Because the cds_srr stuff uses a shared library, there's a requirement to use aligned compiler versions.

    I reproduced the same issue you did running on my RHEL7.6 machine, using the same version combinations. If I use MATLAB R2020a with SPECTRE19.1 then it works fine. Also if I used MATLAB R2016a with SPECTRE16.1 it also worked OK (I didn't check the range of working versions - there is a support matrix in the documentation and on support.cadence.com if I remember rightly).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tawna
    Tawna over 4 years ago

    MMSIM Spectre, APS, SpectreRF and Matlab support matrix  is the Article that Andrew is talking about.

    best regards,

    Tawna

    • 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