spectre env setting

Discussion in 'Cadence' started by rick, Jan 24, 2011.

  1. rick

    rick Guest

    what is the correct syntax to set hostmode in load file for both ocean
    and ADE

    hostMode( 'distributed)

    This line doesnt generate an error/warning but it also does to do
    anything

    envSetVal("asimenv.startup" "hostMode" 'string "distributed")

    Thanks

    Rick
     
    rick, Jan 24, 2011
    #1
  2. Hi Rick,

    The Virtuoso Analog Distributed Processing Option User Guide shows the
    following for your .cdsenv file:

    asimenv.startup hostMode - "distributed"

    Best,
    Stephen Greenwood
     
    Stephen Greenwood, Jan 26, 2011
    #2
  3. rick

    rick Guest

    since I am sytax-ticly challenged, what would the .cdsinit version
    look like?

    thanks

    Rick
     
    rick, Jan 27, 2011
    #3
  4. Hi Rick,

    I would have thought your original envSetVal() syntax was correct, and
    I mentioned the .cdsenv method because the .cdsinit method wasn't
    working for you for some reason. I'm not sure why you can't use
    a .cdsenv file, but assuming that you can't, here's another way to try
    it using the .cdsinit:

    1. Let file myEnvFile contain the line
    asimenv.startup hostMode - "distributed"
    2. Add to your .cdsinit file
    envLoadFile("/path/myEnvFile")

    Hope that works,
    Stephen
     
    Stephen Greenwood, Jan 27, 2011
    #4
  5. Stephen Greenwood wrote, on 01/27/11 22:53:
    If this is for the "ocean" executable, you'd need to put it either in the OCEAN
    script itself, or in an .oceanrc . Note that "ocean" does not load the .cdsinit
    file - so maybe that is where the confusion lies?

    The original syntax using envSetVal() should be correct.

    Regards,

    Andrew.
     
    Andrew Beckett, Feb 22, 2011
    #5
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.