spectre wrapper and SGE

Discussion in 'Cadence' started by Mark Valery, Oct 30, 2004.

  1. Mark Valery

    Mark Valery Guest

    I've used a shell script wrapper in the past to run spectre
    with SGE. Soon after setting it up that way, I remember
    reading somewhere about using envSetVal or something else
    to change what the spectre executable name would be. I
    stored it into my porous brain to be used later on
    for dynamically changing the executable name.

    Well, it leaked out and searching the newsgroups failed.
    Does anyone know the command or was I dreaming again?

    Thanks,
    Mark
     
    Mark Valery, Oct 30, 2004
    #1
  2. Mark Valery

    oghdayan Guest

    Mark,

    will you tell your findings to the newsgroups ? I remeber from an
    older post that at least Erik is interested too.

    Most of what you need is in anasimhelp->env variables->spectre. The one
    you mentioned is simExecName
    But you will probably have to deal with the "host" or "mpshost" , so
    that communication with artist works properlly. You can also set the
    mode to "batch", but this slows down parametrics and montecarlos too much.
     
    oghdayan, Oct 31, 2004
    #2
  3. Mark Valery

    Erik Wanta Guest

    I set the following while ADE was up and noticed that the simulation
    still ran locally.
    envSetVal("spectre.envOpts" "simExecName" 'string "bsub spectre")

    If I close and reopen ADE then it takes the simExecName setting. Why
    doesn't spectre see the envOpts change I made while ADE is up? Any
    ideas on how to get spectre to know I changed simExecName while ADE is
    up? If so, we could write a simple form that would allow the user to
    prefix the run command with any SGE or LSF command.
     
    Erik Wanta, Oct 31, 2004
    #3
  4. Mark Valery

    Erik Wanta Guest

    Using the following instead of envSetVal gets the option to change for
    the current session:
    asiSetEnvOptionVal(asiGetCurrentSession() "simExecName" "bsub
    spectre")
     
    Erik Wanta, Oct 31, 2004
    #4
  5. Mark Valery

    fogh Guest

    Mark,
    do you have no issues with message passing ?
    do you also define mpshost ?
     
    fogh, Nov 3, 2004
    #5
  6. Mark Valery

    Mark Valery Guest

    I can't remember the command at the moment, but I turned
    off interprocess communication with spectre. There are 2
    ways that I know of for running spectre from artist. One
    keeps a spectre process running inbetween sims and artist
    communicates with this process with IPC calls. I don't believe
    you would get this to work with SGE without a lot of work.
    The second starts up a spectre process for each simulation
    run. That was the method I used for SGE.
    Mark
     
    Mark Valery, Nov 4, 2004
    #6
  7. Mark Valery

    fogh Guest

    OK, so you are using batch mode for
    spectre.envOpts controlMode
     
    fogh, Nov 5, 2004
    #7
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.