Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 415
    • Issues 415
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1257
Closed
Open
Issue created Mar 28, 2019 by Admin@OpenFOAM-adminMaintainer

Error in compiling solver in OpenFOAM-v1806 on windows

Dear all, I have tried to compile a solver on a newly installed OpenFOAM-v1806 on windows without success. I have installed make, build-essentials, all to no avail. This happened on two different computers. As a test case, I decided to recompile the original reactingTwoPhaseEulerFoam without modifying it but alwyas gets the error below:

g++ -std=c++11 -m64 -DOPENFOAM=1806 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -ItwoPhaseSystem/lnInclude -I../phaseSystems/lnInclude -I../interfacialModels/lnInclude -I../interfacialCompositionModels/lnInclude -ItwoPhaseCompressibleTurbulenceModels/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1806/src/thermophysicalModels/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1806/src/transportModels/compressible/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1806/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1806/src/TurbulenceModels/compressible/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1806/src/TurbulenceModels/phaseCompressible/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1806/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1806/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1806/src/sampling/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1806/src/OSspecific/POSIX/lnInclude -fPIC -c reactingTwoPhaseEulerFoam.C -o /opt/OpenFOAM/OpenFOAM-v1806/build/linux64Gcc63DPInt32Opt/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/reactingTwoPhaseEulerFoam.o In file included from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/scalar.H:39:0, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/IOstream.H:49, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/Ostream.H:39, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/OSstream.H:39, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/messageStream.H:244, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/error.H:51, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/UListI.H:26, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/UList.H:532, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/List.H:43, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/labelList.H:60, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/UPstream.H:42, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/Pstream.H:42, from /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/parRun.H:38, from /opt/OpenFOAM/OpenFOAM-v1806/src/finiteVolume/lnInclude/fvCFD.H:4, from reactingTwoPhaseEulerFoam.C:39: /opt/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude/floatScalar.H:54:1: internal compiler error: Illegal instruction constexpr floatScalar floatScalarGREAT = 1.0e+6; ^~~~~~~~~ 0xac5ddf crash_signal /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/toplev.c:333 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See http://gcc.gnu.org/bugs.html for instructions. /opt/OpenFOAM/OpenFOAM-v1806/wmake/rules/General/transform:34: recipe for target '/opt/OpenFOAM/OpenFOAM-v1806/build/linux64Gcc63DPInt32Opt/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/reactingTwoPhaseEulerFoam.o' failed make: *** [/opt/OpenFOAM/OpenFOAM-v1806/build/linux64Gcc63DPInt32Opt/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/reactingTwoPhaseEulerFoam.o] Error 1

## Reattaching the author to the issue ticket: @dela ##

Edited Dec 11, 2019 by Kutalmış Berçin
Assignee
Assign to
Time tracking