Home > Community > Forums > Custom IC SKILL > Help: how to find the location of the file "cdsLibMgr.il"?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Help: how to find the location of the file "cdsLibMgr.il"? 

Last post Thu, Feb 23 2012 9:27 AM by Andrew Beckett. 6 replies.
Started by Spallow 21 Feb 2012 11:32 PM. Topic has 6 replies and 2331 views
Page 1 of 1 (7 items)
Sort Posts:
  • Tue, Feb 21 2012 11:32 PM

    • Spallow
    • Not Ranked
    • Joined on Fri, Sep 23 2011
    • Posts 3
    • Points 60
    Help: how to find the location of the file "cdsLibMgr.il"? Reply
    Hi, I use the unix command "find ../cadence/ic615.507/ -name cdsLibMgr" to find the location of the file "cdsLibMgr.il". where is the file? Thanks, Spallow
    • Post Points: 20
  • Wed, Feb 22 2012 1:13 AM

    Re: Help: how to find the location of the file "cdsLibMgr.il"? Reply

    Try starting the documentation (run cdnshelp from the command line, or use the Help menu in Virtuoso) and search for cdsLibMgr.il - it tells you how it is located.

    There is no cdsLibMgr.il in the standard IC installation - it's for users to add. You should be able to use "cdswhich cdsLibMgr.il" to find if you have an active file in your environment.

    Regards,

    Andrew.

    • Post Points: 20
  • Wed, Feb 22 2012 1:48 AM

    • Spallow
    • Not Ranked
    • Joined on Fri, Sep 23 2011
    • Posts 3
    • Points 60
    Re: Help: how to find the location of the file "cdsLibMgr.il"? Reply
    Hi Andrew, Thanks you, I use "cdswhich" command, there is no the file in my environment. Thanks, Spallow
    • Post Points: 20
  • Wed, Feb 22 2012 8:07 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,598
    • Points 16,075
    Re: Help: how to find the location of the file "cdsLibMgr.il"? Reply

    Hi Spallow,

    I'd like to add to what Andrew said.  It is possible for the cdsLibMgr.il file name itself to be customized using an environment variable in the .cdsenv file:

    cdsLibManager.customize startupFile     string  "cdsLibMgr.il"

    However, having said this, I would think that mostly the default filename cdsLibMgr.il would be used for the sake of clarity and convention.

    Best regards,

    Lawrence.

    • Post Points: 35
  • Wed, Feb 22 2012 8:12 AM

    Re: Help: how to find the location of the file "cdsLibMgr.il"? Reply

    And Lawrence's suggestion is also in the documentation that I pointed Spallow to earlier...

    Andrew

    • Post Points: 5
  • Wed, Feb 22 2012 6:42 PM

    • Spallow
    • Not Ranked
    • Joined on Fri, Sep 23 2011
    • Posts 3
    • Points 60
    Re: Help: how to find the location of the file "cdsLibMgr.il"? Reply

    Hi,

    Thanks, Lawrence. Your suggestion is quiet useful for me. I check the variable value by the command: envGetVal("cdsLibManager.customize" "startupFile"). The value is the default name "cdsLibMgr.il".

    I have another question. I want to verify the usage of the file cdsLibMgr.il. The following two files are used to print one message when starting and closing Library Manager. However, no message output. Why?

    Thanks,
    Spallow

    -----------      File 1: $WORKING_DIR/cdsLibMgr.il     --------------
    ; specify names of functions to call at startup and exit
    lmgrDefineInits('("abLibMgrInitProc") '("abLibMgrCloseProc"))

    -----------     File 2: $HOME/.cdsinit                         ---------------
    procedure( abLibMgrInitProc()
        fprintf(stdout  "My InitProc was called\n")
    )
    procedure( abLibMgrCloseProc()
        fprintf(stdout "My CloseProc was called\n")
    )

    • Post Points: 20
  • Thu, Feb 23 2012 9:27 AM

    Re: Help: how to find the location of the file "cdsLibMgr.il"? Reply

    Spallow,

    This works for me. Try putting a printf() statement in the cdsLibMgr.il file to ensure it's being loaded (it would appear at the bottom of the library manager window).

    Also, this only works with the Cadence Library Manager; if you are using somebody elses (e.g. IC Manage), then it won't work.

    Andrew.

    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by Spallow at 21 Feb 2012 11:32 PM. Topic has 6 replies.