CDS_LOAD_ENV really work?

Discussion in 'Cadence' started by comp.cad.cadence, Feb 10, 2005.

  1. Hi, all

    I like Cadence to load the .cdsenv from my working directory ./
    instread from ~/, so I tried to add an environment variable in my
    ..cshrc as:

    setenv CDS_LOAD_ENV CWD

    But I found that this way can't change Cadence's loading habit at all.
    I just wonder if I didn't do that right or this env can't go well with
    IC50. Thanks!

    -Andy
     
    comp.cad.cadence, Feb 10, 2005
    #1
  2. Try it with SKILL in your $HOME/.cdsinit file

    envLoadFile( "./.cdsenv" )

    Bernd
     
    Bernd Fischer, Feb 10, 2005
    #2
  3. I think this should work. What version are you using (icfb -W), and what
    cdsenv setting did you test it with?

    Andrew.
     
    Andrew Beckett, Feb 10, 2005
    #3
  4. Hi, Bernd

    Thx for the tips. I guess this way Cadence will load .cdsenv from site
    file first and then from ./ and then from ~/ and after loading .cdsinit
    from ./ again.

    So I'd rather like to find the reason why CDS_LOAD_ENV doesn't work for
    me. Any comments about that?

    -Andy
     
    comp.cad.cadence, Feb 10, 2005
    #4
  5. Andrew, Thanks for reply. The Cadence version is sub-version
    5.0.0.500.38. But I dont know what you mean by cdsenv setting test.
    What I did is just copying the site .cdsenv to my ~/ & modifying it for
    my preference and didn't add one in working directory. This way Cadence
    did well as I wish. But when I moved the .cdsenv from ~/ to my working
    directory and added the CDS_LOAD_ENV in .cshrc, Cadence can't load
    cdsenv from working directory.

    -Andy
     
    comp.cad.cadence, Feb 10, 2005
    #5
  6. Did you verify that the variable was correctly set before running
    Cadence tools?

    echo $CDS_LOAD_ENV
     
    Jean-Marc Bourguet, Feb 10, 2005
    #6
  7. No the ./.cdsenv will be loaded during the load of the
    $HOME/.cdsinit file.
    The default search mechanism for the .cdsenv file
    does not look in the working directory.

    So there is to clarify which is the default DFII
    first order search, .cdinit or .cdsenv.

    Bernd
     
    Bernd Fischer, Feb 10, 2005
    #7
  8. This is an important point.

    My question was really - was there a particular preference (i.e. particular
    cdsenv entry) that you were checking to see whether it worked? If so, what was
    it? There may be some reason why a specific entry doesn't work, and I'd like
    to be able to test it.

    Thanks,

    Andrew.
     
    Andrew Beckett, Feb 10, 2005
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.