spectre env setting

R

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
 
On Jan 24, 8:21 am, rick <ej...@pacbell.net> wrote:
This line doesnt generate an error/warning but it also does to do
anything

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

Thanks

Rick
Hi Rick,

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

asimenv.startup hostMode - "distributed"

Best,
Stephen Greenwood
 
On Jan 26, 10:11 am, Stephen Greenwood <stephen.greenw...@gmail.com>
wrote:
On Jan 24, 8:21 am, rick <ej...@pacbell.net> wrote:

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

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

Thanks

Rick

Hi Rick,

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

  asimenv.startup hostMode - "distributed"

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

thanks

Rick
 
On Jan 27, 12:40 pm, rick <ej...@pacbell.net> wrote:
since I am sytax-ticly challenged, what would the .cdsinit version
look like?

thanks

Rick
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 wrote, on 01/27/11 22:53:
On Jan 27, 12:40 pm, rick<ej...@pacbell.net> wrote:
since I am sytax-ticly challenged, what would the .cdsinit version
look like?

thanks

Rick

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
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.
 

Welcome to EDABoard.com

Sponsor

Back
Top