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 mozart- [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

Reply via email to