# Problems of rvu

**URL:** <https://discourse.radiance-online.org/t/problems-of-rvu/5832>\
**Category:** radiance-general\
**Created:** [February 23, 2022, 5:15am UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832 "2022-02-23T05:15:23Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![lee](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@lee](https://discourse.radiance-online.org/u/lee)\
**Post date:** [February 23, 2022, 5:15am UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/1 "2022-02-23T05:15:23Z")

</div>

Hi all,  
I was running rvu to preview some scene. However there occurred errors as follows:

 ![tmp7D18](https://discourse.radiance-online.org/uploads/default/original/2X/6/6990b99a1b78d7fd568e8a2fa25d7d72bf114550.png)  
I looked through some posts about this similar error and I still don’t know how to solve this problem.  
I am using the compiled Radiance from Github on Ubuntu 20.04.

---

<div class="post-metadata">

**Author:** ![Greg\_Ward](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/greg_ward/32/471_2.png) [@Greg\_Ward](https://discourse.radiance-online.org/u/Greg_Ward)\
**Post date:** [February 23, 2022, 4:15pm UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/2 "2022-02-23T16:15:26Z")

</div>

Thanks for bringing this to our attention. What happens if your run

```auto
objview -o x11 glazingvmtx.rad

```

Do you still see the error?

Thanks,  
-Greg

---

<div class="post-metadata">

**Author:** ![lee](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@lee](https://discourse.radiance-online.org/u/lee)\
**Post date:** [February 24, 2022, 11:52am UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/3 "2022-02-24T11:52:04Z")

</div>

Hi Greg,  
The same error occured！

 ![image](https://discourse.radiance-online.org/uploads/default/original/2X/4/4b6f6a1739be8753953c091e4c9c616504858380.png)  
And I tried objline to preview the scene and it was in effect as follows:

```auto
objline glazingvmtx1.rad | x11meta -r &

```

---

<div class="post-metadata">

**Author:** ![Axel\_Jacobs2](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/a/46a35a/32.png) [@Axel\_Jacobs2](https://discourse.radiance-online.org/u/Axel_Jacobs2)\
**Post date:** [February 24, 2022, 12:15pm UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/4 "2022-02-24T12:15:59Z")

</div>

what do you get from  
`rvu -devices?`

A

---

<div class="post-metadata">

**Author:** ![lee](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@lee](https://discourse.radiance-online.org/u/lee)\
**Post date:** [February 24, 2022, 12:46pm UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/5 "2022-02-24T12:46:15Z")

</div>

Hi Axel,  
The same error as follows:  
 ![image](https://discourse.radiance-online.org/uploads/default/original/2X/6/6e8d2198a5b449a4487f9a547da39cc3c2dcd220.png)

---

<div class="post-metadata">

**Author:** ![Axel\_Jacobs2](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/a/46a35a/32.png) [@Axel\_Jacobs2](https://discourse.radiance-online.org/u/Axel_Jacobs2)\
**Post date:** [February 24, 2022, 1:59pm UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/6 "2022-02-24T13:59:11Z")

</div>

could you run this without the question mark, please. Sorry about my sloppy formatting.

`rvu -devices`

A

---

<div class="post-metadata">

**Author:** ![lee](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@lee](https://discourse.radiance-online.org/u/lee)\
**Post date:** [February 24, 2022, 2:15pm UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/7 "2022-02-24T14:15:32Z")

</div>

![image](https://discourse.radiance-online.org/uploads/default/original/2X/1/1ded6432f488fbea3eeab2526e3380dbda91ad72.png)

---

<div class="post-metadata">

**Author:** ![Axel\_Jacobs2](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/a/46a35a/32.png) [@Axel\_Jacobs2](https://discourse.radiance-online.org/u/Axel_Jacobs2)\
**Post date:** [February 24, 2022, 3:12pm UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/8 "2022-02-24T15:12:39Z")

</div>

Hmm, this looks like it can’t find the QT libraries.

so you are using radiance-5.2.dd0f8e38a7-Linux.tar.gz from [https://github.com/NREL/Radiance/releases](https://github.com/NREL/Radiance/releases)  
is that correct?

If so, could you please run  
`sudo apt list --installed |grep -i qt`  
and share the output

A

---

<div class="post-metadata">

**Author:** ![Rob\_Guglielmetti](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/rob_guglielmetti/32/508_2.png) [@Rob\_Guglielmetti](https://discourse.radiance-online.org/u/Rob_Guglielmetti)\
**Post date:** [February 24, 2022, 3:47pm UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/9 "2022-02-24T15:47:58Z")

</div>

First things first, uninstall that set of binaries and install one of the newer packages from LBNL’s GitHub site; the NREL packages are ancient and haven’t been supported in a long time (they weren’t supported when they were supported but that’s a convo for another time).

Head over to LBNL’s GitHub site for Radiance, where they update installers quite regularly, and have the build process for Qt-supported rvu as well-sorted as anyone:

> **[Releases · LBNL-ETA/Radiance](https://github.com/LBNL-ETA/Radiance/releases)**
>
> A Validated Lighting Simulation Tool. Contribute to LBNL-ETA/Radiance development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![lee](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@lee](https://discourse.radiance-online.org/u/lee)\
**Post date:** [February 25, 2022, 2:05am UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/10 "2022-02-25T02:05:53Z")

</div>

Hi Axel,  
I am using the RADIANCE 5.4a 2021-09-28 LBNL (5.4.8aeb24b8c5) from LBNL’s GitHub site as Rob recommended.

---

<div class="post-metadata">

**Author:** ![lee](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@lee](https://discourse.radiance-online.org/u/lee)\
**Post date:** [February 25, 2022, 2:26am UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/11 "2022-02-25T02:26:41Z")

</div>

Hi Rob,  
I am using the updated Radiance from LBNL’s GitHub site but the version is not the newest. The files in the package is already compiled. So I used to unzip the tar.gz package and copy the Radiance folder to the directory /usr/local. Then the file ~/.bashrc is edited to add several environment variables as follows and then source the file. Is this installation process correct? I think several problems of commands are linked to the installation. I hope someone can provide the correct and normal installation proceducre. Thank s a lot!

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

---

<div class="post-metadata">

**Author:** ![Greg\_Ward](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/greg_ward/32/471_2.png) [@Greg\_Ward](https://discourse.radiance-online.org/u/Greg_Ward)\
**Post date:** [February 25, 2022, 3:02am UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/12 "2022-02-25T03:02:28Z")

</div>

The problem is either on our side, not linking to static libraries, or on your side, not having the right dynamic libraries installed. You should run the “sudo apt list” command Axel suggested and share your results. It’s our best hope of fixing the problem.

Thanks,  
-Greg

---

<div class="post-metadata">

**Author:** ![lee](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@lee](https://discourse.radiance-online.org/u/lee)\
**Post date:** [February 28, 2022, 1:36am UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/13 "2022-02-28T01:36:09Z")

</div>

Hi Greg,  
The Radiance version is the newest packages from LBNL’s GitHub site. I don’t need to compile the files, right? The result is as follows when I just didn’t install Radiance:

 ![image](https://discourse.radiance-online.org/uploads/default/original/2X/0/0cae6d8da549999450ef051b5e4b9176188a63a9.png)

---

<div class="post-metadata">

**Author:** ![Greg\_Ward](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/greg_ward/32/471_2.png) [@Greg\_Ward](https://discourse.radiance-online.org/u/Greg_Ward)\
**Post date:** [February 28, 2022, 6:28pm UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/14 "2022-02-28T18:28:13Z")

</div>

Here is what @Taoning_Wang wrote when I asked him about this:

> I just verified qt works with latest release on my Mac. Pretty sure I don’t have qt installed, and rvu links to the qt files that come with the build binary file. I do have to click through a many security loops (those “open anyways”) from Mac.  
> Also verified that on ubuntu I do need to set $LD\_LIBRARY\_PATH to the radiance/bin directory, where all the qt shared library files are.  
> This person should probably try:
> 
> 1. echo $LD\_LIBRARY\_PATH. To see if it’s set and point to the /usr/local/radiance/bin folder.
> 2. call rvu by its absolute path, so we avoid any installation/file-copy mishap.

---

<div class="post-metadata">

**Author:** ![lee](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@lee](https://discourse.radiance-online.org/u/lee)\
**Post date:** [March 2, 2022, 8:29am UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/15 "2022-03-02T08:29:44Z")

</div>

Hi Greg,  
Thanks for your attention and solutions from @Taoning_Wang. The method to set $LD\_LIBRARY\_PATH to the radiance/bin directory has solved this problem of rvu.  
The result is as follows:

 ![Quicker_20220302_162517](https://discourse.radiance-online.org/uploads/default/original/2X/3/344ec192edd23f9f4816ce6d3950bfa91bc5fa17.png)

 ![Quicker_20220302_162541](https://discourse.radiance-online.org/uploads/default/original/2X/0/06614ac3e4c501de8250c03775e9f5d2dca6d576.png)

---

<div class="post-metadata">

**Author:** ![Greg\_Ward](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/greg_ward/32/471_2.png) [@Greg\_Ward](https://discourse.radiance-online.org/u/Greg_Ward)\
**Post date:** [March 2, 2022, 3:34pm UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/16 "2022-03-02T15:34:53Z")

</div>

Great – I wonder why the $LD\_LIBRARY\_PATH was not set properly. Were there instructions you were supposed to follow, or a script that needed to be run during installation that was not? I am not familiar myself with the Linux package install process.

Cheers,  
-Greg

---

<div class="post-metadata">

**Author:** ![Taoning\_Wang1](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/t/9e8a1a/32.png) [@Taoning\_Wang1](https://discourse.radiance-online.org/u/Taoning_Wang1)\
**Post date:** [March 2, 2022, 5:58pm UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/17 "2022-03-02T17:58:33Z")

</div>

I guess rvu is supposed to find shared library files locally and not look for $LD\_LIBRARY\_PATH. Somehow that link is not working on linux but is on Mac. Need to look into the build process.

---

<div class="post-metadata">

**Author:** ![lee](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@lee](https://discourse.radiance-online.org/u/lee)\
**Post date:** [March 3, 2022, 2:44am UTC](https://discourse.radiance-online.org/t/problems-of-rvu/5832/18 "2022-03-03T02:44:30Z")

</div>

Hi Greg,  
I have been using the frequently updated version of Radiance from LBNL’s Github site. The installation process is mentioned in that post:

> [@Problems of rvu](https://discourse.radiance-online.org/t/problems-of-rvu/5832/11):
>
> Hi Rob, I am using the updated Radiance from LBNL’s GitHub site but the version is not the newest. The files in the package is already compiled. So I used to unzip the tar.gz package and copy the Radiance folder to the directory /usr/local. Then the file ~/.bashrc is edited to add several environment variables as follows and then source the file. Is this installation process correct? I think several problems of commands are linked to the installation. I hope someone can provide the correct an…

I looked through the posts about installation in this community and found some useful suggestions. Besides, I also have installed the software Accelerad to accelerate the rendering. I followed its installation instructions([https://nljones.github.io/Accelerad/documentation.html](https://nljones.github.io/Accelerad/documentation.html)) and then made similar process of Radiance. The environment variables are set in the file ~/.bashrc as follows:

 ![image](https://discourse.radiance-online.org/uploads/default/original/2X/c/c019204be3c867291ddf462547c3bdd2b96d715c.jpeg)  
However, I didn’t set the $LD\_LIBRARY\_PATH to the radiance/bin directory when the problem of rvu occurred!  
I am not sure if the installation process is correct and I hope someone such as @Taoning_Wang1 can conclude the installation instrcutions of Radiance that is downloaded from LBNL’s Github site.
