sorry, missed typing the file name:
the file that I modified is Remote.oz
On Thu, 15 May 2008, HP Wei wrote:
>
> Torsten,
>
> I can share with you my experience. It is a hack, though.
>
> When I set up distributed computation on multiple machines
> using Remote.manager,
> (since I could not change the system-wise stuff),
> I did the following hack.
>
> in mozart_home_path/mozart-1.3.2/share/lib/dp/
> I modified the line
>
> case {OS.getEnv 'OZENGINE'} of false then 'a_path_to/ozengine'
>
> the orignal line was
>
> case {OS.getEnv 'OZENGINE'} of false then 'ozengine'
>
> --------------------------------------------------------
> I do not know if you are using Remote.manager,
> but the environment variable OZENGINE may be relevant.
>
>
> --hp
>
>
>
>
> On Thu, 15 May 2008, Torsten Anders wrote:
>
> > Dear Raphael,
> >
> > thanks for your reply. Actually, on the remote machine the ~/.bash_profile
> > file already did add the Mozart bin directory to PATH. My home dir is shared
> > by all cluster nodes, and so are all ~/.* files. When I log into the remote
> > machine by ssh then ozengine is found all right. However, parallel search
> > does
> > not work via ssh, instead I get the following error (in the emulator on the
> > localhost)
> >
> > bash: line 0: exec: ozengine: not found
> >
> > What are likely causes for this problem besides some wrongly set PATH?
> >
> > In order to confirm that PATH is really the problem here, how can I display
> > what the value of PATH is
> > for the remote ozengine call?
> >
> > Thank you very much!
> >
> > Best
> > Torsten
> >
> >
> > On May 15, 2008, at 2:18 PM, Raphael Collet wrote:
> >
> > >Dear Torsten,
> > >
> > >When you log on a remote machine, bash runs initialization scripts
> > >before running the command you sent. Some of those scripts are global
> > >to all users on those machines (like /etc/profile), some are specific to
> > >you (like ~/.bash_profile on that machine).
> > >
> > >Add a command in one of those files to extend the PATH variable, like
> > >
> > > export PATH=$PATH:/usr/local/mozart/bin
> > >
> > >Check the man page of bash on the remote machine to find out the most
> > >appropriate place to add such a line. Or maybe ask your sysadmin, (s)he
> > >might refuse that you modify the systemwide /etc/profile file...
> > >
> > >
> > >Cheers,
> > >raph
> > >
> > >Torsten Anders wrote:
> > > >Dear all,
> > > >
> > > >I am trying to do a parallel search, but fail because ozengine is not
> > > >found on the remote host (bash error that ozengine is not found). It is
> > > >installed OK, but I assume the Mozart bin directory is not included in
> > > >the $PATH variable of the remote process. I confirmed that it works on
> > > >the localhost, and indeed {OS.getEnv 'PATH'} does include the Mozart bin
> > > >dir.
> > > >
> > > >Question: How can I display and change the value of environment
> > > >variables of remotes Mozart processes?
> > > >
> > > >Thank you!
> > > >
> > > >Best
> > > >Torsten
> > > >
> > > >--
> > > >Torsten Anders
> > > >Interdisciplinary Centre for Computer Music Research
> > > >University of Plymouth
> > > >Office: +44-1752-586227
> > > >Private: +44-1752-558917
> > > > http://strasheela.sourceforge.net
> > > > http://www.torsten-anders.de
> > > >
> > > >
> > > >
> > > >
> > > >
> > >>_________________________________________________________________________________
> > > >
> > > >mozart-users mailing list
> > > >[email protected]
> > > >http://www.mozart-oz.org/mailman/listinfo/mozart-users
> > >
> > >_________________________________________________________________________________
> > >mozart-users mailing list
> > >[email protected]
> > >http://www.mozart-oz.org/mailman/listinfo/mozart-users
> >
> > --
> > Torsten Anders
> > Interdisciplinary Centre for Computer Music Research
> > University of Plymouth
> > Office: +44-1752-586227
> > Private: +44-1752-558917
> > http://strasheela.sourceforge.net
> > http://www.torsten-anders.de
> >
> >
> >
> >
> >
> > _________________________________________________________________________________
> > mozart-users mailing list
> > [email protected]
> > http://www.mozart-oz.org/mailman/listinfo/mozart-users
> >
> _________________________________________________________________________________
> mozart-users mailing list
> [email protected]
> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users