Main Page | Report this Page
Computers Forum Index  »  Computer - Cadence  »  CDS_LOAD_ENV doesn't work...
Page 1 of 1    

CDS_LOAD_ENV doesn't work...

Author Message
m774...
Posted: Wed Nov 04, 2009 9:40 am
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
 
Tarek...
Posted: Wed Nov 04, 2009 4:12 pm
Guest
A workaround could be to add envLoadFile("./.cdsenv") to your .cdsinit.
 
m774...
Posted: Wed Nov 04, 2009 9:04 pm
Guest
sorry forgot to add: my release is IC 6.1.3.500.5.


On Nov 4, 6:50 pm, px... at (no spam) cadence.com (Pete nospam Zakel) wrote:
Quote:
[...]

Which release?

-Pete Zakel
 (p... at (no spam) seeheader.nospam)

[...]
 
Pete nospam Zakel...
Posted: Wed Nov 04, 2009 10:50 pm
Guest
In article <e92248a8-852d-4b0a-9b4a-3bd7424a29ef at (no spam) 15g2000yqy.googlegroups.com> m774 <arithmeth at (no spam) gmail.com> writes:
Quote:
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 at (no spam) 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
 
Pete nospam Zakel...
Posted: Thu Nov 05, 2009 3:15 am
Guest
In article <2e849552-0559-4bd9-8bb9-285bf8acc191 at (no spam) p8g2000yqb.googlegroups.com> m774 <arithmeth at (no spam) gmail.com> writes:
Quote:
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.

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

Which release?

-Pete Zakel
=A0(p... at (no spam) seeheader.nospam)

[...]
 
Jean-Marc Bourguet...
Posted: Thu Nov 05, 2009 1:14 pm
Guest
m774 <arithmeth at (no spam) gmail.com> writes:

Quote:
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
 
 
Page 1 of 1    
All times are GMT
The time now is Tue Nov 24, 2009 7:08 pm