How to Disable ~/CDS.log 's and CDS.log.cdslck 's to run multipleinstances of Spectre / Ocean / ICF

Discussion in 'Cadence' started by John G, Nov 4, 2008.

  1. John G

    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
     
    John G, Nov 4, 2008
    #1
  2. John G

    Riad KACED Guest

    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...read/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.
     
    Riad KACED, Nov 5, 2008
    #2
  3. John G

    John G Guest

    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
     
    John G, Nov 5, 2008
    #3
  4. John G

    Guest Guest

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

    Collins' Conference Principle:
    The speaker with the most monotonous voice speaks after the big meal.
     
    Guest, Nov 6, 2008
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.