-
Notifications
You must be signed in to change notification settings - Fork 41
PeleLM Executable not building on MacOS #233
Comments
I assume that you are using COMP=gcc in the GNUmakefile? Can you try again using COMP=llvm? |
I just tried using COMP=llvm. The PeleLM Executable built without error, but the inputs.2d-regt example problem failed from an "Erroneous arithmetic operation" : |
I'm assuming you're following the GettingStarted section ? Which of the two methods did you use to get the code and its dependencies ? |
Okay, I think I get it. On Mac, the floating point error catching mechanism get false positive if activated while the code hasn't been compiled in Debug mode.
|
With these line commented out the example ran fine. |
I've updated the default input file to prevent FPE checks so the problem should no longer arise. We'll activate them manually when doing tests. |
the
make -j4
did not work on MacOS because the c++ standard was not specified in the Makefile and an older standard was used by defaultAdding
CXXFLAG = -std=gnu++17
to the Makefile allowed the PeleLM Executable to be builtI do not know if the flag could be specified by default ?
The text was updated successfully, but these errors were encountered: