LBNL-ETA / Radiance

A Validated Lighting Simulation Tool
https://www.radiance-online.org
131 stars 24 forks source link

Some wrong when use the software!!! #32

Closed Dawe890311 closed 2 months ago

Dawe890311 commented 2 months ago

when I install the software and run it ,the "message : rtrace: system - cannot find function file "rayinit.cal": No such file or directory" appear!

Dawe890311 commented 2 months ago

image

Dawe890311 commented 2 months ago

image

taoning commented 2 months ago

If you installed using the .pkg installer, the installer should have set the RAYPATH for you. If you just copy/paste the binaries, you might need to set RAYPATH manually. You can set it using anyway by running echo RAYPATH=.:/usr/local/radiance/lib >> ~/.zshrc, assuming you are using zsh on mac.

Dawe890311 commented 2 months ago

Thank you for your response. But I just installed using the .pkg installer and don't set the path.

Dawe890311 commented 2 months ago

I use the radiance because install the bifacial_radiance python package, you can see the install link . I install the bifacial_radiance package and radiance, But when I use it, the error come ""message : rtrace: system - cannot find function file "rayinit.cal": No such file or directory""

taoning commented 2 months ago

you can check whether RAYPATH is set by echo $RAYPATH. If nothing returns, then you didn't set it. Set it by export RAYPATH=/usr/local/radiance/lib, which will work for the session. Or put this line in you .zshrc so that it works for every session.

Dawe890311 commented 2 months ago

image image But It doesn't work again !! image

taoning commented 2 months ago

I have no way of supporting the bifacial_radiance code you are showing. For that, you'd need to seek help from the library authors.

Dawe890311 commented 2 months ago

Thank You anyway!!!