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

OpenStudio for Linux on Windows 10's Ubuntu?

asked 8 years ago

Determinant's avatar

updated 8 years ago

Has anyone tried running OpenStudio for Linux on Windows 10 using the new "genuine Ubuntu image on top of Windows with all the Linux tools"? i.e. not a VM of Linux but according to MS, Linux making calls to the Windows kernel (I think).

I'm hoping it might allow Radiance on OpenStudio to take advantage of my multicore processor. Currently when I run it says Radiance on Windows can only use one processor.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

I wouldn't hold my breath just yet.

"Ubuntu on Windows" is purely console based. You won't be able to run a Linux GUI application on Windows. That would require full support for the X11 protocols, which is extremely unlikely to ever happen in this context. It also is not possible to use the Windows GUI parts, and have them run the background simulations with the Ubuntu executables. The two worlds are completely shielded from each other, an neither side can invoke processes on the other side.

Using multiple cores with Radiance/Ubuntu processes would require that the unix file locking API works reliably. I have no idea if that is the case (even native Linux took many years to get it right). If so (a big IF), then you could theoretically configure your model with Windows OpenStudio, and then open a bash and run the actual simulations manually using the Linux executables. But I doubt that this would really be a practical solution.

Preview: (hide)
link

Comments

Thanks. Good to know I'd be hitting a dead end if I tried this now.

Determinant's avatar Determinant  ( 8 years ago )

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: 8 years ago

Seen: 240 times

Last updated: May 06 '16