Skip to content
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

Building on M1 Mac #126

Open
Maxwell-Rosen opened this issue Jul 18, 2023 · 0 comments
Open

Building on M1 Mac #126

Maxwell-Rosen opened this issue Jul 18, 2023 · 0 comments

Comments

@Maxwell-Rosen
Copy link
Collaborator

Currently Gkeyll has an issue with how M1 Macs deal with denormalized floating point numbers. There is some key functionality that is removed due to this.

Currently, 4 unit tests fail. test_TenMomenSrc.lua, test_VlasovRect.lua, test_EvalOnNodes.lua, test_CartGrid.lua.

To build, in gkyl.cxx in the main directory, one must comment out - _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON); and - fesetenv(FE_DFL_DISABLE_SSE_DENORMS_ENV);

In Updater/wscript, delete the following lines

FemPerpPoissonImpl.cpp
FemParPoissonImpl.cpp
FemMatrices.cpp
FemGyroaverageImpl.cpp
EvalOnNodesImpl.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant