Run OpenStudio in a Linux virtual machine through Virtual Box
Hello OpenStudio Gurus,
We're developing a project in Ruby that calls OpenStudio for simulation. We would need make sure it is executable across different operating systems. We had tested it in PC and Mac and next is Linux. Our plan is to test it in a virtual machine through Virtual Box in Mac.
I'm curious if anyone has tried this before, if so, could you give me some hints on the versions of Linux(supported by Virtual Box) that has been proved to support this task, or are there any tricky procedures need to be carefully attended?
I would appreciate your suggestions!
------------------------------------------------------
I met some problems while testing the ruby script:
EnergyPlus could not installed properly on Ubuntu 14.04: I followed the installation tutorial here and in the output of the installation it reports:
mv: cannot move ‘/usr/local/EnergyPlus-8-3-0/energyplus.1’ to ‘/usr/local/share/man/man1/’: Not a directory
I guess the first problem lead to the second one: as we need call the
find_energyplus
in our ruby script, it reports:[DEPRECATION]
find_energyplus
is deprecated. Please useOpenStudio::Runmanager::ConfigOptions
instead.
Does anyone met the same problems while install EnergyPlus in Ubuntu 14.04?
You can look at Nick's EnergyPlus install script for his Docker container here: https://registry.hub.docker.com/u/nllong/energyplus/dockerfile/. Looks like your install did not copy the man pages over.
The second message you see is not related to your install. The find_energyplus method is deprecated and OpenStudio::Runmanager::ConfigOptions is the replacement. See here for an example