Process Table exhausted

Discussion in 'Cadence' started by ecnedad, Jan 26, 2009.

  1. ecnedad

    ecnedad Guest

    *Error* START PROCESS: Process Table exhausted

    I'd encountered this error when I run this piece of code:

    myTable = makeTable("myTable" "1")
    procedure( ipcTest()
    let( (cmd item)
    for( item 1 65
    sprintf( cmd "cd /home/sw/projects/test%d/netlist; ./
    runSpectre" item)
    myTable[item] = ipcBeginProcess(cmd)
    ipcWaitProcess(myTable[item])
    item = item + 1
    );for
    );let
    );procedure

    Test()

    runSpectre is a batch file that will run the netlist for simulation.

    Hope anyone could help me...
    Thank you in advance...
    God bless! (^_^)
     
    ecnedad, Jan 26, 2009
    #1
  2. ecnedad

    Riad KACED Guest

    Hi,

    A quick look at your program shows that you are calling
    ipcBeginProcess 65 times in a row. Well, off the top of my head,
    ipcBeginProcess does handle 32 || jobs only (to be confirmed by Andrew
    or somebody else). That's why this 'Process Table exhausted' error
    occurs. It's then a good idea to make a 'wait' in order to allow
    ipcBegingProcess to go through your 65 runs. The 'ipcWaitProcess' you
    have used above is most likely to fail because it is misspelled. The
    right function is 'ipcWaitForProcess'. Would you please cross check
    your skill script ?

    Regards,
    Riad.
     
    Riad KACED, Jan 26, 2009
    #2
  3. ecnedad

    Ike Naar Guest

    This will start 65 jobs in parallel; could it be that your system
    imposes a limit on the number of processes you can run simultaneously?
     
    Ike Naar, Jan 26, 2009
    #3
  4. ecnedad wrote, on 01/26/09 14:12:
    As a result of a quick experiment, in IC613 the limit appears to be 128. In
    IC5141, it's 32.

    Running 65 spectre simulations at once, unless you've got a very impressive
    machine with lots of CPUs, seems a tad excessive.

    Perhaps you meant to use ipcWait() instead of ipcWaitForProcess()? That will
    wait until it finished before starting the next.

    Regards,

    Andrew.
     
    Andrew Beckett, Jan 27, 2009
    #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.