FPE in snappyHexMesh : motorBike
Hello,
OpenFOAM-v2206
Machine : AMD
Compiler : AMD
64 bit and 32 label
wmake -show-cxx
-std=c++14 -m64 -pthread -DOPENFOAM=2206 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter
-Wno-invalid-offsetof -Wno-undefined-var-template -Wno-unknown-warning-option -O3 -DNoRepository -ftemplate-depth-100 -march=znver3 -fPIC
snappyHexMesh crashes with FPE error(motorBike case ). However it works if we set FOAM_SIGFPE as false. Same with streamlines FO in the tutorial (pitzDaily)
If we remove this option -march=znver3 (AMD optimisation flag, similar to AVX in intel), then case works without issue and also no need to set FOAM_SIGFPE as false
Attaching the snappyHexMesh.log file which fail showing sig fault. log.snappyHexMesh fault.