Comments (5)
Hi,
I can confirm, the error. It happens during compilation of geompack.C
. And it seems, there is a problem with compiler flags, as without flags file is compiled without problem.
from openfoam-os-x.
Possible work-around is to add #pragma clang fp exceptions(ignore)
at the top of triSurface/triSurfaceTools/geompack/geompack.C
. This will switch off trapping math for this file.
from openfoam-os-x.
Thank u for your advice!
It's not cause by the goepack.c . It's problem of the Xcode. After I change the Xcode 13.x to 12.5, everything is done. :)
from openfoam-os-x.
It is a problem of clang 13.1.6 not being able to compile geompack.C
with -O3
and -ftrapping-math
flags. So, using #pragma clang fp exceptions(ignore)
, I switch off -ftrapping-math
flag for geompack.C
, which fixes the problem of compilation.
Yes, you can also switch compilers. Though, adding a line to a file seems to be simpler, than downgrading of Xcode.
from openfoam-os-x.
OK. I got it.
THANKS!
from openfoam-os-x.
Related Issues (20)
- Newbie Problems HOT 10
- testing installation only works halfway HOT 5
- Can you add the patch for OpenFOAM-v1812? HOT 6
- License? HOT 6
- OpenFOAM v2112 and Mac OS 12 HOT 4
- OpenFOAM-8: symbol not found in flat namespace '_MPI_Abort' HOT 22
- Correct code for OpenMPI folders lookup
- Request: A new patch for swak4Foam (develop branch) HOT 2
- Encountered C++ import errors when making HOT 6
- OpenFOAM 10 HOT 4
- Patch for OpenFOAM-dev HOT 9
- libomp needs a quick fix HOT 2
- Updated path for OpenFOAM v10 HOT 2
- OpenFOAM-11 HOT 1
- OpenFOAMv2306 and scotch library linking HOT 14
- problem with " brew install mrklein/foam/scotch" HOT 1
- -v2012 on Mac-m2-Ventura HOT 1
- Patches for v1806 HOT 1
- symbol not found in flat namespace '_ompi_mpi_byte' HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfoam-os-x.