rick
Guest
Mon Jan 24, 2011 5:21 pm
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
Stephen Greenwood
Guest
Wed Jan 26, 2011 8:11 pm
On Jan 24, 8:21 am, rick <ej...@pacbell.net> wrote:
Quote:
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
rick
Guest
Thu Jan 27, 2011 9:40 pm
On Jan 26, 10:11 am, Stephen Greenwood <stephen.greenw...@gmail.com>
wrote:
Quote:
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
Stephen Greenwood
Guest
Fri Jan 28, 2011 12:53 am
On Jan 27, 12:40 pm, rick <ej...@pacbell.net> wrote:
Quote:
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
Andrew Beckett
Guest
Tue Feb 22, 2011 4:03 pm
Stephen Greenwood wrote, on 01/27/11 22:53:
Quote:
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.