CDS_LOAD_ENV really work?

C

comp.cad.cadence

Guest
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
 
Try it with SKILL in your $HOME/.cdsinit file

envLoadFile( "./.cdsenv" )

Bernd

comp.cad.cadence wrote:
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
 
I think this should work. What version are you using (icfb -W), and what
cdsenv setting did you test it with?

Andrew.

On 10 Feb 2005 00:01:08 -0800, "comp.cad.cadence" <wudhead@yahoo.com> wrote:

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

Bernd Fischer wrote:
Try it with SKILL in your $HOME/.cdsinit file

envLoadFile( "./.cdsenv" )

Bernd

comp.cad.cadence wrote:
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
 
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" <wudhead@yahoo.com> writes:

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.
Did you verify that the variable was correctly set before running
Cadence tools?

echo $CDS_LOAD_ENV

--
Jean-Marc
 
It does really work, and it makes a world of difference when env settings do not
cross between different techs/project through home directories.

comp.cad.cadence wrote:
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
 
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


comp.cad.cadence wrote:
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

Bernd Fischer wrote:

Try it with SKILL in your $HOME/.cdsinit file

envLoadFile( "./.cdsenv" )

Bernd

comp.cad.cadence wrote:

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
 
On 10 Feb 2005 17:01:03 +0100, Jean-Marc Bourguet <jm@bourguet.org> wrote:

"comp.cad.cadence" <wudhead@yahoo.com> writes:

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.

Did you verify that the variable was correctly set before running
Cadence tools?

echo $CDS_LOAD_ENV
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.
 

Welcome to EDABoard.com

Sponsor

Back
Top