[Radiance-general] Path problem

Greg Ward gregoryjward at gmail.com
Thu Jul 24 08:16:45 PDT 2014


Hi Eshan,

Your error does not really make sense, since the first use of "split" in genskyvec happens at line 39.

I don't know why you included "filename.dat" at the end of your command, unless you wanted to redirect output to it, in which case you need to include the '>' character before it.

Finally, I believe you need to set the PATH variable to locate Radiance Perl scripts rather than simply executing them by explicit paths, because they in turn call other Radiance programs that will not be found if the PATH environment variable doesn't include the appropriate executable directory.

Cheers,
-Greg

> From: "Ehsan M.Vazifeh" <em.vazifeh at gmail.com>
> Subject: [Radiance-general] Path problem
> Date: July 24, 2014 5:00:19 AM PDT
> 
> Dear Ray lovers!
> 
> Whenever I want to run a Radiance program using MATLAB environment, I have to add the path before the command, otherwise it returns "command not found". But even adding that for the command below I get this error "Use of uninitialized value in split at /usr/local/ray/bin/genskyvec line 129, <> line 17." and some other lines of similar error.
> 
> Matlab command:
> unix('/usr/local/ray/bin/gendaylit 03 12 07:35 -a 48.2 -o -16.37 -m -15 -W 3.26 67.30 | /usr/local/ray/bin/genskyvec -m 1 -c 1 1 1 filename.dat')
> 
> but if I return this command in Terminal I get no error and works perfectly. Any idea why is it like that and what should I do?
> 
> Cheers, Ehsan
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140724/47546f20/attachment.html>


More information about the Radiance-general mailing list