<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Terrance,<br>
<br>
I remember having to deal with this a while back, but I do not recall
exactly the solution. Nevertheless here are a couple of things to look
at:<br>
<ol>
  <li>ssh - you may need to set the environment for ssh, when used this
way (eg ssh command_to_run) it does not use the PATH information found
for your standard login shell, you can set the correct PATH and
RAYPATH. This is done in an "environment" file for ssh, check the man
page for ssh for further information.</li>
  <li>host specification<br>
  </li>
  <ol>
    <li>explicit path in hosts specification- I think that you might
want try specifying an explicit path (rather than ~) to the location
where the host needs to look for the animation related files. Not sure
if it makes a difference, you may need to try out the following as
tests:</li>
    <ol>
      <li>relative to user home dir - ../../../path_to_render_dir</li>
      <li>path from root - /path_to_render_dir<br>
      </li>
    </ol>
    <li>mount point - I seem to recall that the easiest thing to do is
have the mount point and user be the same on master and slave nodes. So
if you are mounting to /RENDER which is what your slave (render host)
nodes see then you should have this in your path on the master node.
This way you can just cd to /RENDER on the master node and run&nbsp;
ranimate job.ranim and have master and slave nodes seeing the same
directory hierarchy. And this way you do not need to specify path or
user in the host specification, eg host= render-host 1 rather than
host= render-host 1 path_to_render_dir alt_user<br>
    </li>
    <li>different users - wouldn't it be easier to just have the same
user replicated onto the slave nodes?</li>
  </ol>
  <li>samba - I am not sure about this, I have never really been clear
on the difference between the file locking protocols between samba and
NFS, I guess I will be interested to hear if this works or note,
however you may end up needing to use NFS.<br>
  </li>
</ol>
Hope this helps.<br>
<br>
-Jack<br>
<pre class="moz-signature" cols="72">-- 
# Jack de Valpine
# president
#
# visarc incorporated
# <a class="moz-txt-link-freetext" href="http://www.visarc.com">http://www.visarc.com</a>
#
# channeling technology for superior design and construction
</pre>
<br>
<br>
Terrance McMinn wrote:
<blockquote
 cite="mid:BF35B0A4E2142940B9C69BB4D6E505A203C901@EXMS3.staff.ad.curtin.edu.au"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="MS Exchange Server version 6.5.7655.4">
  <title>ranimate Host directive</title>
<!-- Converted from text/plain format -->
  <p><font size="2">Hello list,<br>
  <br>
I am having folder specification difficulties setting up a test
ranimate across multiple computers (using samba)<br>
  <br>
My test.ran files is:<br>
RIF= test.rif<br>
DIRECTORY= animation_process_network<br>
VIEWFILE= anim.vf<br>
DISKSPACE= 100<br>
#host= localhost 1 ~/test/current/animation_process_network masteruser<br>
host= remote 1 ~/test/test/current/animation_process_network testuser<br>
TRANSFER= ran2tiff -W 0.7 -h -z frame*.hdr<br>
  <br>
Notes:<br>
1. Assume the remote workstation is called remote<br>
2. The remote username is testuser<br>
3. The master usernmae is masteruser<br>
4. I have commented out the localuser host as this works<br>
5. ssh has been set up using RSA keys pairings<br>
&nbsp;&nbsp; Setup ssh key pairs:<br>
&nbsp;&nbsp; On the host system: ssh-keygen -t rsa (use enter for no passhrase)<br>
&nbsp;&nbsp; ssh-copy-id -i /home/masteruser/.ssh/id_rsa.pub testuser@remote<br>
6. Samba mount:<br>
&nbsp;&nbsp; ssh testuser@remote<br>
&nbsp;&nbsp; smbmount //master/masteruser ~/test -o username=masteruser<br>
  <br>
On the host system I start the process with:<br>
ranimate test.ran &gt;&amp; animation_process_network/anim.err<br>
  <br>
The anim.err file shows:<br>
Process started on remote<br>
remote: Error output from: rpict @animation_process_network/render.opt
-vp -505.575 812.796 321.761 -vd 0.608355 -0.458502 -0.436495 -vu
0.396724 -0.283029 0.873215 -vh 56.547 -vv 41.1546 -w0 -o
animation_process_network/frame%03d.unf -x 3708 -y 1644 -S 1
octrees/test.oct &lt; animation_process_network/anim.vf<br>
bash: line 0: cd: ~masteruser: No such file or directory<br>
bash: animation_process_network/anim.vf: No such file or directory<br>
ranimate: error rendering frames 1 through 3<br>
  <br>
1. What is confusing is where does the 'masteruser' come from (it is
the username on the master workstation) when processing on the remote
workstation the username is testuser!<br>
2. Is the 'local directory' parameter on the host line (parameter 3)
suppose to point to the same folder as the test.ran file is located (ie
the same location as in the localhost line). Obviously on the remote
workstation this folder 'smbmount' at some point x in the local
filesystem.<br>
3. The rpict command when run on the remote workstation works quite
happily in the same folder.<br>
  <br>
I am using Linux - specifically Kubuntu 9.10 and
radiance-3R9+20090811-1 (latest version)<br>
  <br>
Regards<br>
Terrance Mc Minn<br>
  </font>
  </p>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Radiance-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Radiance-general@radiance-online.org">Radiance-general@radiance-online.org</a>
<a class="moz-txt-link-freetext" href="http://www.radiance-online.org/mailman/listinfo/radiance-general">http://www.radiance-online.org/mailman/listinfo/radiance-general</a>
  </pre>
</blockquote>
</body>
</html>