Problems with RAD

Hi everyone,

I am having a weird issue with the RAD command. Radiance is running on my
machine: I checked my scene before and had no issue with using oconv on my
scenes and then using rvu to check out the octree. But once I set set up my
.rif file and run "rad summer.rif" I get the following error:

oconv mod3.rad summer_sky.rad > summer.oct
oconv: system - cannot open scene file "mod3.rad": No such file or directory
rad: error generating octree
summer.oct removed

If I change the filename in my .rif for mod3.rad I get a different error
("no such file") so it should be pointing to the right file. Any
suggestions? I'm running radiance on a Windows7 machine. I'm pretty sure I
downloaded the files from NREL's openstudio site. Any suggestions? I've
attached my files - they're pretty simple.

Thanks,
Alex Krickx

mod3.rad (12.5 KB)

summer.rif (376 Bytes)

summer_sky.rad (358 Bytes)

···

*
*

*Alex Krickx, LEED AP*
Project Engineer**

*________________________________*****

I N T E G R A L****

* ** **GROUP*****

** **

427 13th Street, Oakland CA 94612
510 663 2070 x 247****

[email protected]
www.integralgroup.com****

** **

*DEEP GREEN Engineering.*

*_______________________________*

At first blush, that looks like maybe you don't have your current directory (".") in your search path. Assuming those two files are in your current dir, try:

oconv ./mod3.rad ./summer_sky.rad > summer.oct

If that works, then you can add "." to your path.

Rob Guglielmetti
National Renewable Energy Laboratory (NREL)
Commercial Buildings Research Group
15013 Denver West Parkway MS:RSF202
Golden, CO 80401
303.275.4319
[email protected]

···

On 10/18/12 10:22 AM, "Alex Krickx" <[email protected]<mailto:[email protected]>> wrote:

Hi everyone,

I am having a weird issue with the RAD command. Radiance is running on my machine: I checked my scene before and had no issue with using oconv on my scenes and then using rvu to check out the octree. But once I set set up my .rif file and run "rad summer.rif" I get the following error:

oconv mod3.rad summer_sky.rad > summer.oct
oconv: system - cannot open scene file "mod3.rad": No such file or directory
rad: error generating octree
summer.oct removed

If I change the filename in my .rif for mod3.rad I get a different error ("no such file") so it should be pointing to the right file. Any suggestions? I'm running radiance on a Windows7 machine. I'm pretty sure I downloaded the files from NREL's openstudio site. Any suggestions? I've attached my files - they're pretty simple.

Thanks,
Alex Krickx

Alex Krickx, LEED AP
Project Engineer

________________________________

I N T E G R A L

                          GROUP

427 13th Street, Oakland CA 94612
510 663 2070 x 247

[email protected]<mailto:[email protected]>
www.integralgroup.com<http://www.integralgroup.com/>

DEEP GREEN Engineering.

_______________________________

Hi Rob,

Thanks for your response. The files are indeed in my current directory - I
thought the path was ok because when I type in "oconv mod3.rad
summer_sky.rad > summer.oct" without "./"s into the command editor I
generate the octree correctly - am I mistaken?

Thanks,
Alex

*Alex Krickx, LEED AP*
Project Engineer**

···

*________________________________*****

I N T E G R A L****

* ** **GROUP*****

** **

427 13th Street, Oakland CA 94612
510 663 2070 x 247****

[email protected]
www.integralgroup.com****

** **

*DEEP GREEN Engineering.*

*_______________________________*

On Thu, Oct 18, 2012 at 9:36 AM, Guglielmetti, Robert < [email protected]> wrote:

At first blush, that looks like maybe you don't have your current
directory (".") in your search path. Assuming those two files are in your
current dir, try:

oconv ./mod3.rad ./summer_sky.rad > summer.oct

If that works, then you can add "." to your path.

Rob Guglielmetti
National Renewable Energy Laboratory (NREL)
Commercial Buildings Research Group
15013 Denver West Parkway MS:RSF202
Golden, CO 80401
303.275.4319
[email protected]

On 10/18/12 10:22 AM, "Alex Krickx" <[email protected]<mailto: > [email protected]>> wrote:

Hi everyone,

I am having a weird issue with the RAD command. Radiance is running on my
machine: I checked my scene before and had no issue with using oconv on my
scenes and then using rvu to check out the octree. But once I set set up my
.rif file and run "rad summer.rif" I get the following error:

oconv mod3.rad summer_sky.rad > summer.oct
oconv: system - cannot open scene file "mod3.rad": No such file or
directory
rad: error generating octree
summer.oct removed

If I change the filename in my .rif for mod3.rad I get a different error
("no such file") so it should be pointing to the right file. Any
suggestions? I'm running radiance on a Windows7 machine. I'm pretty sure I
downloaded the files from NREL's openstudio site. Any suggestions? I've
attached my files - they're pretty simple.

Thanks,
Alex Krickx

Alex Krickx, LEED AP
Project Engineer

________________________________

I N T E G R A L

                          GROUP

427 13th Street, Oakland CA 94612
510 663 2070 x 247

[email protected]<mailto:[email protected]>
www.integralgroup.com<http://www.integralgroup.com/>

DEEP GREEN Engineering.

_______________________________

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

You can try Rob's suggestion, but I checked the code, and there is no search going on by oconv for input files. Therefore, I suspect something is wrong with your file permissions. If you can "cat" the file using "cat mod3.rad" in the same directory, then try running oconv by hand to see if that works -- just copy and paste what rad produces before the error.

This won't solve your problem, but it may help to figure out what's going wrong.

-Greg

···

From: "Guglielmetti, Robert" <[email protected]>
Date: October 18, 2012 9:36:54 AM PDT

At first blush, that looks like maybe you don't have your current directory (".") in your search path. Assuming those two files are in your current dir, try:

oconv ./mod3.rad ./summer_sky.rad > summer.oct

If that works, then you can add "." to your path.

Rob Guglielmetti

On 10/18/12 10:22 AM, "Alex Krickx" <[email protected]<mailto:[email protected]>> wrote:

Hi everyone,

I am having a weird issue with the RAD command. Radiance is running on my machine: I checked my scene before and had no issue with using oconv on my scenes and then using rvu to check out the octree. But once I set set up my .rif file and run "rad summer.rif" I get the following error:

oconv mod3.rad summer_sky.rad > summer.oct
oconv: system - cannot open scene file "mod3.rad": No such file or directory
rad: error generating octree
summer.oct removed

If I change the filename in my .rif for mod3.rad I get a different error ("no such file") so it should be pointing to the right file. Any suggestions? I'm running radiance on a Windows7 machine. I'm pretty sure I downloaded the files from NREL's openstudio site. Any suggestions? I've attached my files - they're pretty simple.

Thanks,
Alex Krickx

Alex Krickx, LEED AP
Project Engineer

This doesn't really make sense, since rad calls system() with the same command line. If you can cut and paste from the rad output to the command prompt and that works, then rad should work, also. It works fine on my Unix system. I'm stumped.

-Greg

···

From: Alex Krickx <[email protected]>
Date: October 18, 2012 9:49:04 AM PDT

Hi Rob,

Thanks for your response. The files are indeed in my current directory - I thought the path was ok because when I type in "oconv mod3.rad summer_sky.rad > summer.oct" without "./"s into the command editor I generate the octree correctly - am I mistaken?

Thanks,
Alex

Alex Krickx, LEED AP
Project Engineer

Thanks to Greg and Rob,

Turns out it was a Windows OS issue (surprise surprise). Just to share what
I learned with the list - Windows can have certain permissions issues that
prevent Radiance from running correctly. We also found a weird Registry
value (yikes!) that was the main culprit.

Adding a "." to my path also may have solved my problem - in any case I'm
keeping it in there for good measure. Now to do some scene rendering...

Cheers,
Alex Krickx

···

*
*

*Alex Krickx, LEED AP*
Project Engineer**

*________________________________*****

I N T E G R A L****

* ** **GROUP*****

** **

427 13th Street, Oakland CA 94612
510 663 2070 x 247****

[email protected]
www.integralgroup.com****

** **

*DEEP GREEN Engineering.*

*_______________________________*

On Thu, Oct 18, 2012 at 10:08 AM, Greg Ward <[email protected]> wrote:

This doesn't really make sense, since rad calls system() with the same
command line. If you can cut and paste from the rad output to the command
prompt and that works, then rad should work, also. It works fine on my
Unix system. I'm stumped.

-Greg

*From: *Alex Krickx <[email protected]>

*Date: *October 18, 2012 9:49:04 AM PDT

*
*

Hi Rob,

Thanks for your response. The files are indeed in my current directory - I
thought the path was ok because when I type in "oconv mod3.rad
summer_sky.rad > summer.oct" without "./"s into the command editor I
generate the octree correctly - am I mistaken?

Thanks,
Alex

*Alex Krickx, LEED AP*
Project Engineer

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Thanks for the update, Alex, and glad you got it going. I'd be *really* interested in hearing what this registry value is all about, because the NREL installers do not touch the registry at all…

- Rob

···

On Oct 18, 2012, at 5:40 PM, Alex Krickx <[email protected]> wrote:

Thanks to Greg and Rob,

Turns out it was a Windows OS issue (surprise surprise). Just to share what I learned with the list - Windows can have certain permissions issues that prevent Radiance from running correctly. We also found a weird Registry value (yikes!) that was the main culprit.

Adding a "." to my path also may have solved my problem - in any case I'm keeping it in there for good measure. Now to do some scene rendering...

Cheers,
Alex Krickx

Alex Krickx, LEED AP
Project Engineer

________________________________

I N T E G R A L

                          GROUP

427 13th Street, Oakland CA 94612
510 663 2070 x 247

[email protected]
www.integralgroup.com

DEEP GREEN Engineering.

_______________________________

On Thu, Oct 18, 2012 at 10:08 AM, Greg Ward <[email protected]> wrote:
This doesn't really make sense, since rad calls system() with the same command line. If you can cut and paste from the rad output to the command prompt and that works, then rad should work, also. It works fine on my Unix system. I'm stumped.

-Greg

From: Alex Krickx <[email protected]>
Date: October 18, 2012 9:49:04 AM PDT

Hi Rob,

Thanks for your response. The files are indeed in my current directory - I thought the path was ok because when I type in "oconv mod3.rad summer_sky.rad > summer.oct" without "./"s into the command editor I generate the octree correctly - am I mistaken?

Thanks,
Alex

Alex Krickx, LEED AP
Project Engineer

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general