New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there an aarch64 version of EnergyPlus? Or how to compile the aarch64 version from the source code #8669
Comments
Maybe start here? https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html |
also see: #8664 |
Either checkout #8664 or do this: specificy
Alternatively, I think this should also prefill the CMAKE_OSX_ARCHITECTURES correctly
Once the arch is detected correctly, I can assure you that EnergyPlus builds and runs fine. |
@fubingting I uploaded an aarch64 version on the release page: https://github.com/NREL/EnergyPlus/releases/tag/v9.5.0 EnergyPlus-9.5.0-de239b2e5f-Darwin-macOS11.2-arm64.dmg Could you give it a shot? |
Thank you very much. I'll try to install it. |
After downloading and decompressing, I execute the three energyplus-9.5.0,EPMacro,ExpandObjects commands, and the following error occurs:
|
@fubingting what OS/Version are you using? This package is specifically for an M1 mac. |
platform:aarch64
|
I assumed you were using an M1 mac incorrectly. The name of the installer mentions darwin-macos11.2-arm64 so I thought it was explicit that this would work on macOS only. We do not have a centos aarch64 package no. |
#8664 was merged, so you should try to compile it from source. https://github.com/NREL/EnergyPlus/wiki/Building-EnergyPlus You'll need cmake and a C/CXX compiler, and that should pretty much be it as far as dependencies. I suggest a fortran compiler too so you can build the auxiliary programs such as ReadVarEso and ExpandObjects. |
Hi @jmarrec, I tried to compile EP on M1, everything seems to work fine with binaries directly from the build folder. But after I installed the compiled package in the Applications folder, a few binaries do not work and give the error zsh: killed ReadVarsESO
zsh: killed ExpandObjects
... while Killed: 9 I did not test all binaries exhaustively. Two I found working are I can open a new issue if more appropriate. |
I'm closing this issue as it works as intended. I'm moving @airallergy 's issue with M1 mac to #9303 |
No description provided.
The text was updated successfully, but these errors were encountered: