NREL / OpenStudio

OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
https://www.openstudio.net/
Other
501 stars 191 forks source link

M1 chip mac cannot run sizing run properly #5004

Closed wenyikuang closed 10 months ago

wenyikuang commented 11 months ago

Issue overview

In M1 mac, installed the 3.7rc1 with dmg installer, it wil raise exception from energy plus and openstudio cannot finish the run.

➜  test_workflow_370rc1 openstudio --version
3.7.0-rc1+211bb633b0

error message from the run:

Steps to Reproduce

  1. Download the test_workflow.zip.
  2. Install the openstudio-3.7.0-rc1 dmg from github release.
  3. openstudio run -w ./run/workflows/bar_typical/in.osw

Possible Solution

Details

Environment

DavidGoldwasser commented 11 months ago

See more details here, found in extension gem testing on mac, but issue happens with measure tests or OSW run. Seems to be specific to sizing runs, but that is just the first time the tests call EnergyPlus. https://github.com/NREL/openstudio-extension-gem/issues/168

jmarrec commented 11 months ago

brew install libomp

DavidGoldwasser commented 11 months ago

I tested on non-Dev Windows machine this weekend and hit the same issue.

jmarrec commented 11 months ago

I just booted a clean windows 10 VM (x86_64, See [1]), and I cannot reproduce the issue on Windows. Do you have more information @DavidGoldwasser ?

Note: [1] you can't run a windows 11 VM on an M1 mac as it will be arm64 and the installer is built for x86_64