• 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. Cannot obtain the license for spectreRF when interfacing...

Stats

  • Replies 17
  • Subscribers 125
  • Views 927
  • Members are here 0

Cannot obtain the license for spectreRF when interfacing matlab with spectre

SW202509035411
SW202509035411 5 days ago

Dear all,

I am current trying to read spectre simulation results into MATLAB using the Spectre/RF MATLAB toolbox, but I got the error message when using cds_srr function in MATLAB:

Error: License for the SpectreRF option could not be obtained.

I refered to the procedure in SpectreRF Simulation Option Theory, and I also checked according to the posts:

https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/34820/not-able-to-interface-spectre-data-with-matlab 

https://community.cadence.com/cadence_technology_forums/f/custom-ic-skill/41322/cds_srr-doesn-t/1359466?focus=true

I checked the license (by echo $LM_LICENSE_FILE) and it is pointed to two license servers (The $CDS_LIC_FILE is undefined).

Also, before launching MATLAB (from the shell window of virtuoso), I set the dynamic library path by

setenv LD_LIBRARY_PATH `cds_root spectre`/tools/dfII:`cds_root spectre`/tools/lib:${LD_LIBRARY_PATH}

(In the manual, it should be setenv LD_LIBRARY_PATH `cds_root spectre`/tools/dfII/lib:`cds_root spectre`/tools/lib:${LD_LIBRARY_PATH}. However, I did not find the lib directory under dfII, so I changed the path to dfII.)

Besides, the MATLABPATH was also set to include the `cds_root spectre`/tools/spectre/matlab.

Versions:

MMSIM: MMSIM131_186

MATLAB: 2016a

Thanks a lot in advance!

Best Regards,

Sai

  • Sign in to reply
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett 5 days ago

    Sai,

    Why are you trying to run a 12 year old version of Spectre? 

    It was changed many years ago to require just a Spectre license (or a single MMSIM token) - I have no means of (easily) running anything quite that old, I'm afraid. You also haven't needed to set LD_LIBRARY_PATH for a long time - I only do this nowadays:

    setenv MATLABPATH `cds_root spectre`/tools/spectre/matlab/64bit

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • SW202509035411
    SW202509035411 4 days ago in reply to Andrew Beckett

    Hi Andrew,

    Thank you for your suggestions! I checked the licenses you provided, but none of them are available. Here is what I did

    module load cadence/spectre/231_802

    /NAS/cad/cadence/SPECTRE231_802/bin/perf_test -f Virtuoso_Spectre -test_cp -lc 1

    /NAS/cad/cadence/SPECTRE231_802/bin/perf_test -f Virtuoso_Acceler_Parallel_sc -test_cp -lc 1

    /NAS/cad/cadence/SPECTRE231_802/bin/perf_test -f Virtuoso_Multi_mode_Simulation -test_cp -lc 1

    And the returns are the same:

    --- Checkout Performance Test A ---

    Description: Loop of checkout calls checking out the same feature with
                 additional ( upgrade ) license each iteration of the loop.
                 The server maintains one job with number of licenses over
                 the course of this test. The first license server will be
                 used if there are more than one server specified in the
                 license path.

    ERROR: CDS_LIC_FILE is not set.
           Please set CDS_LIC_FILE to point to a single license server
           or a triad redundant license server.

                          --- Checkout Performance Test B ---

    Description: Loop of checkout calls checking out the same feature with
                 additional ( incremental ) license each iteration of the
                 loop. The server maintains the number of jobs with one
                 license each over the course of this test. The first license
                 server will be used if there are more than one server
                 specified in the license path.

    ERROR: CDS_LIC_FILE is not set.
           Please set CDS_LIC_FILE to point to a single license server
           or a triad redundant license server.

                          --- Checkout Performance Test C ---

    Description: Loop of checkout and checkin calls each iteration of the loop.
                 The server maintains one job with one license over the course
                 of this test. The first license server will be used if there
                 are more than one server specified in the license path.

    ERROR: CDS_LIC_FILE is not set.
           Please set CDS_LIC_FILE to point to a single license server
           or a triad redundant license server.

                          --- Checkout Performance Test D ---

    Description: Loop of checkout calls each iteration of the loop.
                 License will be checked out from any of the available
                 license server specified in the license path.

    ERROR: CDS_LIC_FILE is not set.
           Please set CDS_LIC_FILE to point to a single license server
           or a triad redundant license server.

    I also echo $CDS_LIC_ONLY, and it is undefined:

    CDS_LIC_ONLY: Undefined variable.

    However, $LM_LICENSE_FILE is set properly. It confused me that, although the three licenses are not avaible, there is no "License for the SpectreRF option could not be obtained" as long as I do not set the LD_PRELOAD. When I set the LD_PRELOAD, the license cannot be obtained.

    Or, is there any possibility to use a older version of spectre, e.g., spectre 17.1, so that to fit the matlab2016? I tried this, but the error message are the same -- it cannot obtain the license.

    Thanks again for your patient help!

    Best Regards,

    Sai

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • SW202509035411
    SW202509035411 4 days ago in reply to Andrew Beckett

    Hi Andrew,

    Thank you for your suggestions! I checked the licenses you provided, but none of them are available. Here is what I did

    module load cadence/spectre/231_802

    /NAS/cad/cadence/SPECTRE231_802/bin/perf_test -f Virtuoso_Spectre -test_cp -lc 1

    /NAS/cad/cadence/SPECTRE231_802/bin/perf_test -f Virtuoso_Acceler_Parallel_sc -test_cp -lc 1

    /NAS/cad/cadence/SPECTRE231_802/bin/perf_test -f Virtuoso_Multi_mode_Simulation -test_cp -lc 1

    And the returns are the same:

    --- Checkout Performance Test A ---

    Description: Loop of checkout calls checking out the same feature with
                 additional ( upgrade ) license each iteration of the loop.
                 The server maintains one job with number of licenses over
                 the course of this test. The first license server will be
                 used if there are more than one server specified in the
                 license path.

    ERROR: CDS_LIC_FILE is not set.
           Please set CDS_LIC_FILE to point to a single license server
           or a triad redundant license server.

                          --- Checkout Performance Test B ---

    Description: Loop of checkout calls checking out the same feature with
                 additional ( incremental ) license each iteration of the
                 loop. The server maintains the number of jobs with one
                 license each over the course of this test. The first license
                 server will be used if there are more than one server
                 specified in the license path.

    ERROR: CDS_LIC_FILE is not set.
           Please set CDS_LIC_FILE to point to a single license server
           or a triad redundant license server.

                          --- Checkout Performance Test C ---

    Description: Loop of checkout and checkin calls each iteration of the loop.
                 The server maintains one job with one license over the course
                 of this test. The first license server will be used if there
                 are more than one server specified in the license path.

    ERROR: CDS_LIC_FILE is not set.
           Please set CDS_LIC_FILE to point to a single license server
           or a triad redundant license server.

                          --- Checkout Performance Test D ---

    Description: Loop of checkout calls each iteration of the loop.
                 License will be checked out from any of the available
                 license server specified in the license path.

    ERROR: CDS_LIC_FILE is not set.
           Please set CDS_LIC_FILE to point to a single license server
           or a triad redundant license server.

    I also echo $CDS_LIC_ONLY, and it is undefined:

    CDS_LIC_ONLY: Undefined variable.

    However, $LM_LICENSE_FILE is set properly. It confused me that, although the three licenses are not avaible, there is no "License for the SpectreRF option could not be obtained" as long as I do not set the LD_PRELOAD. When I set the LD_PRELOAD, the license cannot be obtained.

    Or, is there any possibility to use a older version of spectre, e.g., spectre 17.1, so that to fit the matlab2016? I tried this, but the error message are the same -- it cannot obtain the license.

    Thanks again for your patient help!

    Best Regards,

    Sai

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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