CDS_LOAD_ENV doesn't work

M

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
 
A workaround could be to add envLoadFile("./.cdsenv") to your .cdsinit.
 
In article <e92248a8-852d-4b0a-9b4a-3bd7424a29ef@15g2000yqy.googlegroups.com> m774 <arithmeth@gmail.com> writes:
I've set CDS_LOAD_ENV to CWD to load the .cdsenv from my current
directory but it doesn't.
Which release?

-Pete Zakel
(phz@seeheader.nospam)

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
 
sorry forgot to add: my release is IC 6.1.3.500.5.


On Nov 4, 6:50 pm, px...@cadence.com (Pete nospam Zakel) wrote:
Which release?

-Pete Zakel
 (p...@seeheader.nospam)

[...]
 
In article <2e849552-0559-4bd9-8bb9-285bf8acc191@p8g2000yqb.googlegroups.com> m774 <arithmeth@gmail.com> writes:
sorry forgot to add: my release is IC 6.1.3.500.5.
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.

On Nov 4, 6:50=A0pm, px...@cadence.com (Pete nospam Zakel) wrote:
[...]

Which release?

-Pete Zakel
=A0(p...@seeheader.nospam)

[...]
 
m774 <arithmeth@gmail.com> writes:

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")
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
 

Welcome to EDABoard.com

Sponsor

Back
Top