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

OpenStudio features not in Ubuntu

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

Determinant gravatar image

updated 2017-09-14 07:27:51 -0500

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

Comments

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 gravatar imageDeterminant ( 2017-09-12 17:36:35 -0500 )edit

Which release of OpenStudio are you using? 2.2.1?

Julien Marrec gravatar imageJulien Marrec ( 2017-09-13 03:53:44 -0500 )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 gravatar imageDeterminant ( 2017-09-13 09:00:13 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

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

eweaver gravatar image

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

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: https://github.com/NREL/OpenStudio/is...

edit flag offensive delete link more
1

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

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

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

Comments

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

Determinant gravatar imageDeterminant ( 2017-09-15 00:52:37 -0500 )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

Stats

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

Seen: 145 times

Last updated: Sep 14