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

OpenStudio features not in Ubuntu

asked 2017-09-11 20:28:19 -0600

Determinant's avatar

updated 2017-09-25 15:09:50 -0600

Ran a model that I know runs in Windows on newly installed Ubuntu. Ran fine (fast!) but,

  1. ResultsViewer doesn't launch when I go to detailed view.
  2. Parametric Analysis Tool doesn't exist anywhere on my computer as far as I can tell.
  3. New Geometry tab only has Preview, not Edit.

I tried running OpenStudio on successively "heavier" distros (Puppy, Lubuntu) and am now at Ubuntu 14.04 which is the exact distro/version that is supposed to be compatible with OpenStudio.

I need these features, especially the PAT. Any help is greatly appreciated.

edit retag flag offensive close merge delete


Someone said it might be a Java problem. I installed Java with sudo apt-get install openjdk-7-jre but ResultsViewer still doesn't work and now the Results Summary looks funky.

Determinant's avatar Determinant  ( 2017-09-12 17:36:35 -0600 )edit

Which release of OpenStudio are you using? 2.2.1?

Julien Marrec's avatar Julien Marrec  ( 2017-09-13 03:53:44 -0600 )edit

Using 2.2.0

I downloaded the master branch OS then compiled OS like it says here. Except:

  1. I changed cmake-gui to cmake-qt-gui in sudo apt-get install ... cmake-gui ... chrpath
  2. I had to install qt4-make: sudo apt-get install qt4-qmake

But, so far this isn't working either. Don't see the PAT anywhere still (don't know why) and OS crashes when I click the Resutls Summary tab. OS seems to run much slowly too.

Determinant's avatar Determinant  ( 2017-09-13 09:00:13 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2017-09-13 10:41:39 -0600

eweaver's avatar

updated 2017-09-14 02:28:43 -0600

PAT is not packaged with Ubuntu. I am not sure if there is a technical reason, or if we felt deploying on Windows and Mac was the most cost effective solution, covering the bulk of our users.

As for ResultsViewer not starting, I've documented the bug here:

edit flag offensive delete link more

answered 2017-09-14 02:44:06 -0600

updated 2017-09-14 02:44:15 -0600

To answer on your comment on the original question about building from source.

In ccmake (or whatever it is you use to configure), did you enable the "BUILD_PAT" option which is off by default (see here)? As far as slowness, make sure you set CMAKE_BUILD_TYPE=Release.

There's this section for APPLE here that you may want to look at, might need something similar for other UNIX type. (you could try changing IF APPLE by IF UNIX for starters, but it might need tweaking.

So I'd say:

  • Make sure you have enabled "BUILD_PAT" and try again if you hadn't.
  • If that doesn't work, change line 1558 to IF UNIX
  • If that doesn't work, this needs tweaking of the paths used, and I don't have a linux machine handy so I can't help.

That being said, I'm sure you can build PAT directly from the Github repo OpenStudio-PAT, see wiki.

edit flag offensive delete link more


thanks @Julien Marrec. I'll mess around with this and post on how it went later.

Determinant's avatar Determinant  ( 2017-09-15 00:52:37 -0600 )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

1 follower


Asked: 2017-09-11 20:28:19 -0600

Seen: 954 times

Last updated: Sep 14 '17