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 2018-04-23 01:07:13 -0500

luvscientist's avatar

updated 2018-04-23 13:31:23 -0500

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

what should i do???

edit retag flag offensive close merge delete

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  ( 2018-04-23 08:24:26 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-04-23 10:25:54 -0500

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.

edit flag offensive delete link more

Your Answer

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

Add Answer

Careers

Question Tools

Stats

Asked: 2018-04-23 01:07:13 -0500

Seen: 383 times

Last updated: Apr 23 '18