CDS_LOAD_ENV doesn't work

Discussion in 'Cadence' started by m774, Nov 4, 2009.

  1. m774

    m774 Guest

    Hi all!

    I've set CDS_LOAD_ENV to CWD to load the .cdsenv from my current
    directory but it doesn't.
    (Of course I checked this with getShellEnvVar("CDS_LOAD_ENV"), which
    returns "CWD").

    I know it does'nt work by checking which are current settings, e.g.:
    envGetVal("layout" "xSnapSpacing")

    Only if use envLoadFile("./.cdsenv"), it will load what I set there.
    Is there a way to make CDS_LOAD_ENV work?
    Do you have any idea why it doesn't?
    Is there a way to debug this, and see which .cdsenv was loaded (from
    within ICW, since which files are loaded depend on the environment
    variables, and you have them all set only starting cadence)?

    Thanks a lot for any hint...
    cheers,
    marco
     
    m774, Nov 4, 2009
    #1
  2. m774

    Tarek Guest

    A workaround could be to add envLoadFile("./.cdsenv") to your .cdsinit.
     
    Tarek, Nov 4, 2009
    #2
  3. m774

    Guest Guest

    Which release?

    -Pete Zakel
    ()

    Most people exhibit what political scientists call "the conservatism of
    the peasantry." Don't lose what you've got. Don't change. Don't take a
    chance, because you might end up starving to death. Play it safe. Buy
    just as much as you need. Don't waste time.

    When we think about risk, human beings and corporations realize in their
    heads that risks are necessary to grow, to survive. But when it comes
    down to keeping good people when the crunch comes, or investing money in
    something untried, only the brave reach deep into their pockets and play
    the game as it must be played.

    -David Lammers, "Yakitori",
    Electronic Engineering Times, January 18, 1988
     
    Guest, Nov 4, 2009
    #3
  4. m774

    m774 Guest

    sorry forgot to add: my release is IC 6.1.3.500.5.
     
    m774, Nov 4, 2009
    #4
  5. m774

    Guest Guest

    That's strange. It should definitely work. And I just tested the latest
    6.1.3 ISR, and it works properly there. And I don't see any recent changes,
    so as far as I know it should work in 6.1.3.500.5 as well. I also haven't
    found any bug reports saying it doesn't work in 6.1.3.

    Unfortuantely, I can't give you any hints on debugging the problem.
     
    Guest, Nov 4, 2009
    #5
  6. Could you try with -nocdsinit? IIRC, it is read after the loading of
    cdsenv and it can modify the envVars after they are loaded. Library
    initialiation (libInit.il) could also have the same effect.

    Yours,
     
    Jean-Marc Bourguet, Nov 5, 2009
    #6
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.