How to Disable ~/CDS.log 's and CDS.log.cdslck 's to run mu

J

John G

Guest
Hi,

When I run multiple instances of Spectre in Ocean (or multiple
instances of ICFB), my home dir creates many CDS.log's.

It creates up to 10 CDS.log (last one is CDS.log.9 and CDS.log.
9.cdslck)


The problem is I need to run more than 10 instances of Spectre through
Ocean, and I cannot because it tells me that it has: "failed to lock
the file ~/CDS.log.9"


How do I disable CDS.log or the check that checks for CDS.log ?



Thanks!!

--John
 
Hi John,

It is a bit dangerous to fiddle with the CDS.log locks. You can read
about the locking system here:
http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/fec3004a14e30229/19ff518672b3dc2c
One simple solution for you is just to invoke icfb with -log option,
something like:
icfb -log /home/johng/CustomCdsLogFile.log
You could make unique names of the 'CustomCdsLogFile.log' from your
script I guess.

Best Regards,
Riad.
 
Hi Riad,

Thanks for your very helpful info and link.

For ocean, there is also a -log option which I should have taken note
of earlier -- I hope this solves my > 10 instance problem. (will try
to fix now)


Best wishes,
-J

On Nov 4, 7:21 pm, Riad KACED <riad.ka...@gmail.com> wrote:
Hi John,

It is a bit dangerous to fiddle with the CDS.log locks. You can read
about the locking system here:http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/...
One simple solution for you is just to invoke icfb with -log option,
something like:
icfb -log /home/johng/CustomCdsLogFile.log
You could make unique names of the 'CustomCdsLogFile.log' from your
script I guess.

Best Regards,
Riad.
 
In article <cc268ddf-ec9b-4e48-9592-db0bb1fb2bc0@d36g2000prf.googlegroups.com> John G <mosfets@gmail.com> writes:
Hi,

When I run multiple instances of Spectre in Ocean (or multiple
instances of ICFB), my home dir creates many CDS.log's.

It creates up to 10 CDS.log (last one is CDS.log.9 and CDS.log.
9.cdslck)


The problem is I need to run more than 10 instances of Spectre through
Ocean, and I cannot because it tells me that it has: "failed to lock
the file ~/CDS.log.9"


How do I disable CDS.log or the check that checks for CDS.log ?
You can't disable the log or the locking, but you can specify a log file name.

But probably the easiest solution for you is to set the environment variable
CDS_LOG_VERSION to either "sequential" or "pid".

"sequential" will find the highest number version of CDS.log.<number> and
create a log with the next sequential number.

"pid" will use the PID of the process as the log number.

Either option should fix your problem. Just remember to delete old logs
occasionally...

-Pete Zakel
(phz@seeheader.nospam)

Collins' Conference Principle:
The speaker with the most monotonous voice speaks after the big meal.
 

Welcome to EDABoard.com

Sponsor

Back
Top