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

Where is evalglare located in the Linux system

asked 2018-04-20 20:14:47 -0600

Arch2010's avatar

updated 2018-04-23 15:34:35 -0600

So, I know a little about Linux, I recently installed Radiance on Ubuntu system (Which is only a command line bash for windows 10). I used Optics2rad script that is located in /usr/bin. I'd like to use evalglare but I can't seem to find it in /usr/bin. So where could it be?

Update I followed Greg's instrudtions, in the comments below). I added /usr/local/radiance/bin to my PATH, and /usr/local/radiance/lib to RAYPATH. My environment (in etc) file contains the following:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/radiance/bin"
RAYPATH ="/usr/local/radiance/lib"

However, When I try to use evalglare I get the "command not found" error message. So I ran echo $PATH, my /usr/local/radiance/lib didn't show up in the list, also I ran echo "$RAYPATH" and I got an empty line command. Any ideas?

Also, another weird problem I'm having, I can't see any .HDR files that are in mnt/c/users/name/Desktop!!!!!!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-04-23 16:36:57 -0600

Try something like this in your ~/.bash_profile:

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

That export is needed to actually register the env var with the shell. Also make sure you have enabled these changes to your environment, by either trying the commands in a new shell window, or from the old one by typing source ~/.bash_profile, which will reload the thing in your current shell.

edit flag offensive delete link more

Comments

That's exactly what I did, I've been searching the whole day, but no use. Changes are not permanent, they only apply to one session. I can live with that though. My biggest concern now that I couldn't see my .HDR files in the list of files (L) and I tried to calculate glare using evalglare on one of the images and I get a message saying can't open filename. My C drive gets mounted in the mnt folder, and my HDR images are located on my windows Desktop. The images are in mnt/c/users/user/desktop.

Arch2010's avatar Arch2010  ( 2018-04-23 19:01:29 -0600 )edit
1

@rpg777 I was able to solve the HDR files problem. I was able to read HDR files in any other location but the desktop, so I just moved the files to another directory. All is good now. Thank you so much! very helpful as usual.

Arch2010's avatar Arch2010  ( 2018-04-24 00:08:39 -0600 )edit
1

Good deal! Are your environment changes still not "sticky" though?

rpg777's avatar rpg777  ( 2018-04-24 09:18:50 -0600 )edit

No there are not, but that's ok because I'm running simulations using a shell script, I simply add the two path lines before the simulations commands

Arch2010's avatar Arch2010  ( 2018-05-11 13:16:21 -0600 )edit
2

answered 2018-04-21 07:27:35 -0600

Try which evalglare command.

edit flag offensive delete link more

Comments

Which version of Radiance did you install? (I.e., what does "rpict -version" say?) Evalglare should be included with the latest NREL binaries. If it's not, then something is wrong with the build system. It should end up in the same directory with all the rest.

GregWard's avatar GregWard  ( 2018-04-21 10:35:20 -0600 )edit

I just found out it's version 4. I don't know how I ended up with version 4. so I download the radiance-5.1.0-linux.tar.gz and I unpacked it. Now should I copy the radiance/bin to usr/local/bin and the radiance/lib to usr/local/lib? Thanks!

Arch2010's avatar Arch2010  ( 2018-04-23 03:10:25 -0600 )edit

I recommend you put everything in a subdir of /usr/local/bin, e.g.: /usr/local/radiance/bin /usr/local/radiance/lib

And make sure to add /usr/local/radiance/bin to your PATH, and /usr/local/radiance/lib to an environment variable called RAYPATH.

rpg777's avatar rpg777  ( 2018-04-23 10:53:23 -0600 )edit
1

@rpg Thank you so much for your detailed and helpful instructions. I followed your instructions and I ran into few minor things, so I'm updating my original question so I can post details on the problems I'm having.

Arch2010's avatar Arch2010  ( 2018-04-23 15:29:06 -0600 )edit

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

1 follower

Stats

Asked: 2018-04-20 20:14:47 -0600

Seen: 309 times

Last updated: Apr 23 '18