Remove Simulation results (ADE) & .nfsXXXX files

Discussion in 'Cadence' started by Flash, Jun 29, 2005.

  1. Flash

    Flash Guest

    Hello to all,

    My problem:
    I'm programming some stuff for Analog Design Environment (ADE)that
    makes it necessary to remove old simulation results. If I'm doing so,
    there is always a file left: ".nfsXXXX" (XXXX: running number).

    What I already know (from several postings and others):
    The ".nfsXXXX" file appears when I try to delete a file that is still
    used by a process. Using "fuser" and "ps" I identified the "icfb.exe"
    as that process holding the file as an "open file".
    This happens as soon as I select the corresponding directory as result
    directory (through menu: Results->Select... in ADE).
    However, Results->Delete... or "deleteFile()" (SKILL) or "rm -r" (Unix)
    can't handle this. (Who wrote the "PCR 427164" ?!? ;-) )
    I know, the file will disappear at the moment of ending the "icfb.exe"
    process, but this is a really bad option.

    So:
    How can I delete the file nevertheless? or
    How can the ADE be stopped to hold the file open?
    (how does the "Netlist and Run" button get rid of it?)

    thanx for reading this massive text
     
    Flash, Jun 29, 2005
    #1
  2. Flash

    S. Badel Guest

    I've run accros this problem as well.
    Deleting the file works if you are logged on the NFS server.
    (I simply ssh and rm).

    stéphane
     
    S. Badel, Jun 29, 2005
    #2
  3. Flash

    Erik Wanta Guest

    I am able to delete the results directory with a system call from the
    CIW:
    system("\\rm -rf /simdir/spectre/config")

    I have the following SR open on the topic:
    SR 32944762 Closed P1:427164 - ADE->Results->Delete = Error
    3 Erik Wanta 01/18/05 PCR427164

    One would think there would be a way to do the reverse of
    Results->Select prior to deletion.
     
    Erik Wanta, Jul 5, 2005
    #3
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.