Model translation from spectreS to spectre

T

tritue

Guest
Hi all I try to use the model translation from the toolsbox but I allway has
a fail message
When I run the script directly "modelTrans" I got these error

modelTrans . out.scs
Can't locate File/Glob.pm in @INC (@INC contains:
/usr7/cds/5.00.32/red/tools.sun4v/
perl-5.6.0/lib/5.6.0/sun4-solaris
/usr7/cds/5.00.32/red/tools.sun4v/perl-5.6.0
/lib/5.6.0
/usr7/cds/5.00.32/red/tools.sun4v/perl-5.6.0/lib/site_perl/5.6.0/sun4
-solaris /usr7/cds/5.00.32/red/tools.sun4v/perl-5.6.0/lib/site_perl/5.6.0
/usr7/
cds/5.00.32/red/tools.sun4v/perl-5.6.0/lib/site_perl .) at
/data/cds5.0/tools/
dfII/bin/modelTrans.perl line 199.
BEGIN failed--compilation aborted at
/data/cds5.0/tools/dfII/bin/modelTrans.perl line 199.

Did I miss some package or environement variable

Thank in advance.
 
This is definitely a bug in IC5. At first sight, the library path for
perl 5.6 is defined with "hardwired" path name
"/usr7/cds/5.00.32/red/tools.sun4v/" instead of something based on cds_root.
You should report that to your cadence support, and if you are
impatient, try to patch the perl directory like so:
find all files under $(cds_root modelTrans) that contain the string
"/usr7/cds/5.00.32/red/tools.sun4v"
and replace that string by the right one for your install "$(cds_root
modelTrans)/tools.sun4v"

Or you can simply use an older version of IC. modelTrans works OK in
4.4.5, which uses perl 5.0.

I wonder if any perl script with library dependency in IC5 works
properly. <bitter>And I also wonder why softload insists on dumping 1 or
2 perl installs under every cds product root, while those are not
configured better than the system-provided perl.</bitter>

Tritue, thanks for following my advice, and sorry for the bad luck you had.
--
Frederic.

tritue wrote:
Hi all I try to use the model translation from the toolsbox but I allway has
a fail message
When I run the script directly "modelTrans" I got these error


modelTrans . out.scs

Can't locate File/Glob.pm in @INC (@INC contains:
/usr7/cds/5.00.32/red/tools.sun4v/
perl-5.6.0/lib/5.6.0/sun4-solaris
/usr7/cds/5.00.32/red/tools.sun4v/perl-5.6.0
/lib/5.6.0
/usr7/cds/5.00.32/red/tools.sun4v/perl-5.6.0/lib/site_perl/5.6.0/sun4
-solaris /usr7/cds/5.00.32/red/tools.sun4v/perl-5.6.0/lib/site_perl/5.6.0
/usr7/
cds/5.00.32/red/tools.sun4v/perl-5.6.0/lib/site_perl .) at
/data/cds5.0/tools/
dfII/bin/modelTrans.perl line 199.
BEGIN failed--compilation aborted at
/data/cds5.0/tools/dfII/bin/modelTrans.perl line 199.

Did I miss some package or environement variable

Thank in advance.
 
This is fixed in 5.0.33 (there are no more hotfixes under 5.0.32), so there's no
point in reporting this one - it was found ourselves and fixed in 5.0.33.

We ship perl because you can't guarantee that it will be installed by the OS.
It doesn't come by default with Solaris 7, for example - it does with Solaris 8
though. On HP it's an option, if I remember rightly.

And there are multiple perls because some scripts are written for a particular
perl version - and are not necessarily updated if some other tool suddenly
requires a later perl version.

You should be able to hack the modelTrans in your installation. Change the
last line from:

$ROOT/tools/perl/bin/perl $ROOT/tools/dfII/bin/modelTrans.perl $*

to

setenv PERL_INCLUDE " -I $ROOT/tools/perl/lib"
$ROOT/tools/perl/bin/perl $PERL_INCLUDE $ROOT/tools/dfII/bin/modelTrans.perl $*

Regards,

Andrew.

On Wed, 03 Dec 2003 18:24:21 +0100, fogh
<cad_support@skipthisandunderscores.catena.nl> wrote:

This is definitely a bug in IC5. At first sight, the library path for
perl 5.6 is defined with "hardwired" path name
"/usr7/cds/5.00.32/red/tools.sun4v/" instead of something based on cds_root.
You should report that to your cadence support, and if you are
impatient, try to patch the perl directory like so:
find all files under $(cds_root modelTrans) that contain the string
"/usr7/cds/5.00.32/red/tools.sun4v"
and replace that string by the right one for your install "$(cds_root
modelTrans)/tools.sun4v"

Or you can simply use an older version of IC. modelTrans works OK in
4.4.5, which uses perl 5.0.

I wonder if any perl script with library dependency in IC5 works
properly. <bitter>And I also wonder why softload insists on dumping 1 or
2 perl installs under every cds product root, while those are not
configured better than the system-provided perl.</bitter

Tritue, thanks for following my advice, and sorry for the bad luck you had.
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 
modelTrans works now, thank you.
But then I can not use it because our models have parameters. I has to edit
its by hand.


"Andrew Beckett" <andrewb@DELETETHISBITcadence.com> wrote in message
news:m7dssv8hsb5u3aqjh6lo1v2ni9tpilon9f@4ax.com...
This is fixed in 5.0.33 (there are no more hotfixes under 5.0.32), so
there's no
point in reporting this one - it was found ourselves and fixed in 5.0.33.

We ship perl because you can't guarantee that it will be installed by the
OS.
It doesn't come by default with Solaris 7, for example - it does with
Solaris 8
though. On HP it's an option, if I remember rightly.

And there are multiple perls because some scripts are written for a
particular
perl version - and are not necessarily updated if some other tool suddenly
requires a later perl version.

You should be able to hack the modelTrans in your installation. Change the
last line from:

$ROOT/tools/perl/bin/perl $ROOT/tools/dfII/bin/modelTrans.perl $*

to

setenv PERL_INCLUDE " -I $ROOT/tools/perl/lib"
$ROOT/tools/perl/bin/perl $PERL_INCLUDE
$ROOT/tools/dfII/bin/modelTrans.perl $*

Regards,

Andrew.

On Wed, 03 Dec 2003 18:24:21 +0100, fogh
cad_support@skipthisandunderscores.catena.nl> wrote:

This is definitely a bug in IC5. At first sight, the library path for
perl 5.6 is defined with "hardwired" path name
"/usr7/cds/5.00.32/red/tools.sun4v/" instead of something based on
cds_root.
You should report that to your cadence support, and if you are
impatient, try to patch the perl directory like so:
find all files under $(cds_root modelTrans) that contain the string
"/usr7/cds/5.00.32/red/tools.sun4v"
and replace that string by the right one for your install "$(cds_root
modelTrans)/tools.sun4v"

Or you can simply use an older version of IC. modelTrans works OK in
4.4.5, which uses perl 5.0.

I wonder if any perl script with library dependency in IC5 works
properly. <bitter>And I also wonder why softload insists on dumping 1 or
2 perl installs under every cds product root, while those are not
configured better than the system-provided perl.</bitter

Tritue, thanks for following my advice, and sorry for the bad luck you
had.

--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 

Welcome to EDABoard.com

Sponsor

Back
Top