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

Radiance command not found

asked 7 years ago

luvscientist's avatar

updated 7 years ago

using os fedora(Linux) after install Radiance but after the sentence of "command not found"

what should i do???

Preview: (hide)

Comments

1

What are you trying to do and what is the command you're trying to execute? Try which rad to find the installation path. There is no command called radiance.

Mostapha Roudsari's avatar Mostapha Roudsari  ( 7 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 7 years ago

After installing Radiance on a Linux system, you must modify your environment a bit. You need to add the path to the Radiance executables to your PATH environment var, and you must add an environment variable called RAYPATH, which needs to point to the Radiance library directory.

Backing up, just how did you install Radiance? For Linux, the options are building from source, getting an archive of pre-built binaries from NREL (but these are built on Ubuntu) and putting them in the right place(s), or installing an older version from rpm.

Assuming you have everything where it needs to be (and we'll assume for this example the executables are in /usr/local/radiance/bin and libs are in /usr/local/radiance/lib), you'd need to add the following to your config (recommend ~/.bash_profile):

export PATH=$PATH:.:/usr/local/radiance/bin
export RAYPATH=.:/usr/local/radiance/lib

This will allow your system to run Radiance. As Mostapha has pointed out, even after all this, typing radiance at the command prompt will not give the desired result. Hopefully you were trying to execute an actual Radiance command, or a script or something. If not, I highly recommend you check out one of the Radiance tutorials out there.

Preview: (hide)
link

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

Stats

Asked: 7 years ago

Seen: 490 times

Last updated: Apr 23 '18