Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
3

Command line Radiance Cannot Find BSDF File

asked 2019-02-27 13:36:15 -0500

Determinant gravatar image

updated 2019-03-04 14:05:18 -0500

When I run the following command at my command prompt (Linux, bash, LXTermianl):

rfluxmtx -ab 2 -ad 512 -as 256 -dj 1 -dp 1 -dt 0 -dc 1 -lw 0.001  -n 7 -faa -v scene/shades/WG1_SHADE.rad skies/dc_sky.rad -i octrees/model_dc.oct > "output/dc/WG1.dmx"

I get the following error:

rfluxmtx: warning - ignoring output file in sender ('output/dc/WG1.vmx')
rfluxmtx: opening pipe to: rcontrib -fo+ -ab 2 -ad 512 -as 256 -dj 1 -dp 1 -dt 0 -dc 1 -lw 0.001 -n 7 -fda -c 10000 -bn 1 -b 'if(-Dx*0-Dy*0-Dz*1,0,-1)' -m groundglow -f reinhartb.cal -p MF=1,rNx=0,rNy=0,rNz=-1,Ux=0,Uy=1,Uz=0,RHS=+1 -bn Nrbins -b rbin -m skyglow -y 145 '!oconv -f -i octrees/model_dc.oct skies/dc_sky.rad'
rfluxmtx: sampling 145 directions
rcontrib: system - cannot find BSDF file "bsdf/C20.0-W6.000-S2.308-A0.0-V0.50-S0.50-D0.01.xml": No such file or directory

The warning - ignoring output file in sender is OK I think, but not finding the BSDF in the material file confusing. It's in the subdirectory right below and I've also tried moving it to various places, changing the reference in the material file to match the new location. My $RAYPATH and $PATH find everything else fine.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-02-28 11:20:00 -0500

updated 2019-03-06 11:19:27 -0500

Hi Eric, yes, the sender warning is benign. The custom BSDF file is likely not being handled properly yet. I got your email, very cool that you are making your own mods to the measure! Sounds like you are halfway there. Most likely cause here is your custom BSDF is not getting placed in the model's support directory in time for it to be copied to the workflow.

UPDATE (3-6-19): Based on our discussion offline, please try adding the current working directory (with a '.') in your RAYPATH, and let us know how that works out.

edit flag offensive delete link more

Comments

2

Hi Rob, I'm actually just running this on the command line, not in the Radiance Measure. What I have in the Radiance Measure is working with these same files. I just want to get Radiance commands working on the command line to help me with other tasks.

Determinant gravatar imageDeterminant ( 2019-03-04 14:08:05 -0500 )edit

See my update, above.

rpg777 gravatar imagerpg777 ( 2019-03-06 12:04:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 



Question Tools

2 followers

Stats

Asked: 2019-02-27 13:36:15 -0500

Seen: 114 times

Last updated: Mar 06