Something went wrong while setting issue due date.
AMD: issue with compiling -O3 with AVX512
Created on behalf of Olivier
I want to open this error when combining -O3 wit AVX512:
olivier@ice1:/mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312$
egrep "MPI|export FOAM_EXTRA" etc/bashrc|egrep -v '^\#'
export WM_COMPILER_TYPE=system
export WM_COMPILER=Icc
export WM_COMPILE_OPTION=Opt
export WM_MPLIB=INTELMPI
export FOAM_EXTRA_CFLAGS="-xcore-AVX512" FOAM_EXTRA_CXXFLAGS="-xcore-AVX512" FOAM_EXTRA_LDFLAGS="-xcore-AVX512" #ADJUST EMR
olivier@ice1:/mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312$
olivier@ice1:/mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312$ cd tutorials/incompressible/simpleFoam/pitzDaily && blockMesh && simpleFoam;cd -
[...]
Time = 1
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0538101, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.030925, No Iterations 2
[stack trace]
=============
#1 Foam::sigFpe::sigHandler(int) in /mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312/platforms/linux64IccDPInt64Opt/lib/libOpenFOAM.so
#2 ? in /lib64/libpthread.so.0
#3 Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const in /mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312/platforms/linux64IccDPInt64Opt/lib/libOpenFOAM.so
#4 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const in /mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312/platforms/linux64IccDPInt64Opt/lib/libOpenFOAM.so
#5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in /mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312/platforms/linux64IccDPInt64Opt/lib/libOpenFOAM.so
#6 Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) in /mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312/platforms/linux64IccDPInt64Opt/lib/libfiniteVolume.so
#7 Foam::fvMesh::solve(Foam::fvMatrix<double>&, Foam::dictionary const&) const in /mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312/platforms/linux64IccDPInt64Opt/lib/libfiniteVolume.so
#8 ? in /mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312/platforms/linux64IccDPInt64Opt/bin/simpleFoam
#9 __libc_start_main in /lib64/libc.so.6
#10 ? in /mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312/platforms/linux64IccDPInt64Opt/bin/simpleFoam
=============
Floating point exception (core dumped)
/mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312
olivier@ice1:/mnt/share/codes/openfoam2312LS64ILP64oneapi2022.2O3xcore-AVX512IntelMPI/OpenFOAM-v2312$