[Radiance-general] ranimate Host directive
Jack de Valpine
jedev at visarc.com
Mon Mar 8 08:06:18 PST 2010
Hi Terrance,
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:
1. 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.
2. host specification
1. 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:
1. relative to user home dir - ../../../path_to_render_dir
2. path from root - /path_to_render_dir
2. 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 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
3. different users - wouldn't it be easier to just have the
same user replicated onto the slave nodes?
3. 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.
Hope this helps.
-Jack
--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction
Terrance McMinn wrote:
>
> Hello list,
>
> I am having folder specification difficulties setting up a test
> ranimate across multiple computers (using samba)
>
> My test.ran files is:
> RIF= test.rif
> DIRECTORY= animation_process_network
> VIEWFILE= anim.vf
> DISKSPACE= 100
> #host= localhost 1 ~/test/current/animation_process_network masteruser
> host= remote 1 ~/test/test/current/animation_process_network testuser
> TRANSFER= ran2tiff -W 0.7 -h -z frame*.hdr
>
> Notes:
> 1. Assume the remote workstation is called remote
> 2. The remote username is testuser
> 3. The master usernmae is masteruser
> 4. I have commented out the localuser host as this works
> 5. ssh has been set up using RSA keys pairings
> Setup ssh key pairs:
> On the host system: ssh-keygen -t rsa (use enter for no passhrase)
> ssh-copy-id -i /home/masteruser/.ssh/id_rsa.pub testuser at remote
> 6. Samba mount:
> ssh testuser at remote
> smbmount //master/masteruser ~/test -o username=masteruser
>
> On the host system I start the process with:
> ranimate test.ran >& animation_process_network/anim.err
>
> The anim.err file shows:
> Process started on remote
> 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 < animation_process_network/anim.vf
> bash: line 0: cd: ~masteruser: No such file or directory
> bash: animation_process_network/anim.vf: No such file or directory
> ranimate: error rendering frames 1 through 3
>
> 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!
> 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.
> 3. The rpict command when run on the remote workstation works quite
> happily in the same folder.
>
> I am using Linux - specifically Kubuntu 9.10 and
> radiance-3R9+20090811-1 (latest version)
>
> Regards
> Terrance Mc Minn
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://radiance-online.org/pipermail/radiance-general/attachments/20100308/07089ea0/attachment-0001.htm
More information about the Radiance-general
mailing list