|
[Sponsors] |
[OpenFOAM.com] v1712 GCC 6.3.0 - internal compiler error: Illegal instruction |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 27, 2018, 11:58 |
v1712 GCC 6.3.0 - internal compiler error: Illegal instruction
|
#1 |
New Member
James
Join Date: Apr 2018
Posts: 1
Rep Power: 0 |
Hi,
I'm trying to generate the cylinder mesh in tutorial 2.2 but come up with the following error; Code:
Create time Creating block mesh from "/home/***/OpenFOAM/OpenFOAM-v1712/tutorials/basic/potentialFoam/cylinder/system/blockMeshDict" Using #codeStream at line 19 in file "/home/***/OpenFOAM/OpenFOAM-v1712/tutorials/basic/potentialFoam/cylinder/system/blockMeshDict" Using #codeStream with "/home/***/OpenFOAM/OpenFOAM-v1712/tutorials/basic/potentialFoam/cylinder/dynamicCode/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_1c19e29ae18c779aa836a14631d6419f303e3d9d.so" Creating new library in "dynamicCode/_1c19e29ae18c779aa836a14631d6419f303e3d9d/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_1c19e29ae18c779aa836a14631d6419f303e3d9d.so" Invoking wmake libso /home/***/OpenFOAM/OpenFOAM-v1712/tutorials/basic/potentialFoam/cylinder/dynamicCode/_1c19e29ae18c779aa836a14631d6419f303e3d9d wmake libso /home/***/OpenFOAM/OpenFOAM-v1712/tutorials/basic/potentialFoam/cylinder/dynamicCode/_1c19e29ae18c779aa836a14631d6419f303e3d9d wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file codeStreamTemplate.C g++ -std=c++11 -m64 -DOPENFOAM_PLUS=1712 -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 -O3 -DNoRepository -ftemplate-depth-100 -g -IlnInclude -I. -I/home/***/OpenFOAM/OpenFOAM-v1712/src/OpenFOAM/lnInclude -I/home/***/OpenFOAM/OpenFOAM-v1712/src/OSspecific/POSIX/lnInclude -fPIC -c codeStreamTemplate.C -o /home/***/OpenFOAM/OpenFOAM-v1712/build/linux64Gcc63DPInt32Opt/tutorials/basic/potentialFoam/cylinder/dynamicCode/_1c19e29ae18c779aa836a14631d6419f303e3d9d/codeStreamTemplate.o In file included from /home/***/OpenFOAM/ThirdParty-v1712/platforms/linux64/gcc-6.3.0/include/c++/6.3.0/bits/uniform_int_dist.h:35:0, from /home/***/OpenFOAM/ThirdParty-v1712/platforms/linux64/gcc-6.3.0/include/c++/6.3.0/bits/stl_algo.h:66, from /home/***/OpenFOAM/ThirdParty-v1712/platforms/linux64/gcc-6.3.0/include/c++/6.3.0/algorithm:62, from /home/***/OpenFOAM/OpenFOAM-v1712/src/OpenFOAM/lnInclude/keyTypeI.H:26, from /home/***/OpenFOAM/OpenFOAM-v1712/src/OpenFOAM/lnInclude/keyType.H:177, from /home/***/OpenFOAM/OpenFOAM-v1712/src/OpenFOAM/lnInclude/entry.H:44, from /home/***/OpenFOAM/OpenFOAM-v1712/src/OpenFOAM/lnInclude/dictionary.H:88, from codeStreamTemplate.C:29: /home/***/OpenFOAM/ThirdParty-v1712/platforms/linux64/gcc-6.3.0/include/c++/6.3.0/limits:1601:7: internal compiler error: Illegal instruction max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; } ^~~ 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. /home/***/OpenFOAM/OpenFOAM-v1712/wmake/rules/General/transform:28: recipe for target '/home/***/OpenFOAM/OpenFOAM-v1712/build/linux64Gcc63DPInt32Opt/tutorials/basic/potentialFoam/cylinder/dynamicCode/_1c19e29ae18c779aa836a14631d6419f303e3d9d/codeStreamTemplate.o' failed make: *** [/home/***/OpenFOAM/OpenFOAM-v1712/build/linux64Gcc63DPInt32Opt/tutorials/basic/potentialFoam/cylinder/dynamicCode/_1c19e29ae18c779aa836a14631d6419f303e3d9d/codeStreamTemplate.o] Error 1 --> FOAM FATAL IO ERROR: Failed wmake "dynamicCode/_1c19e29ae18c779aa836a14631d6419f303e3d9d/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_1c19e29ae18c779aa836a14631d6419f303e3d9d.so" Code:
ar: `u' modifier ignored since `D' is the default (see `U') hash.c: In function 'hash_print_statistics': hash.c:241:12: internal compiler error: Illegal instruction (100.0 * n_buckets_used) / n_buckets); ^ 0x9c55bf 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. make[3]: *** [hash.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 hash.c: In function 'hash_print_statistics': hash.c:241:12: internal compiler error: Illegal instruction (100.0 * n_buckets_used) / n_buckets); ^ 0x9c55bf 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. make[3]: *** [hash.o] Error 1 make[2]: *** [install] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [install] Error 2 I'm using: Ubuntu 16.04 OpenFOAM v1712 swak4Foam development version Any advice on how to resolve this? I recently posted this in blockMesh forum however moved it here as I thought it would be more relevant. Thanks in advance for any advice or help! [Moderator note: Have moved and merged the other posts to here.] Last edited by wyldckat; May 26, 2018 at 17:39. Reason: Merged the 3 posts into a single one, since they are all in the same topic |
|
May 26, 2018, 17:48 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings lyptus and welcome to the forum!
From my experience, whenever this error message comes up: Code:
internal compiler error: Illegal instruction
Ubuntu 16.04 provides GCC 5.4.0, so it is very possible that something went wrong with the custom build of GCC 6.3.0, perhaps there is one or more files damaged that are corrupting the building process. On the other hand, you can also check if there is a hardware problem, by following the instructions given here: https://openfoamwiki.net/index.php/H...and_CPU_are_OK Best regards, Bruno
__________________
|
|
November 4, 2019, 16:38 |
swak4foam installation error: "internal compiler error: Illegal instruction"
|
#3 |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Hi Foamers,
I am also facing a similar problem when trying to install swak4foam on Ubuntu bash on Windows. I have added the complete log here. OpenFOAM is located in "/opt/OpenFOAM". What concerns me the most is that I am installing it for OpenFOAM v1812 (as bolded in the log). But later in the log it seems to refer to "/home/pgh/OpenFOAM/ThirdParty-1706/". I have no folder in $HOME at all. Besides, the version is also incorrect for Thirdparty. Any ideas guys? Please help. Thanks Code:
Current OpenFOAM version is v1812. Previously compiled for OpenFOAM (v1812) /opt/OpenFOAM/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison) Reading variables from 'swakConfiguration' Using our own Lua at /opt/OpenFOAM/swak4Foam/privateRequirements Checking swak4Foam-version and generating file Swak version is 0.4.3 hg info: e7c2de483937+ (develop) tip Bison: /opt/OpenFOAM/swak4Foam/privateRequirements/bin/bison Flex: /usr/bin/flex Bison at /opt/OpenFOAM/swak4Foam/privateRequirements/bin/bison is version 3.4 (Major 3 Minor 4) Flex is version 2.6.0 (Minor version: 0) OpenFOAM-version: Major 1812 Minor 0 Patch 0 (-1 == x / 0) Fork: com No change to swak4FoamParsers/foamVersion4swak.H Please include the output above when reporting a problem in the compilation. It helps diagnosing the problem wmake libso swak4FoamParsers g++ -std=c++11 -m64 -DOPENFOAM=1812 -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 -IMake/linux64Gcc63DPInt32Opt -I/opt/OpenFOAM/OpenFOAM-v1812/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/surfMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/sampling/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/fileFormats/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/dynamicMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/lagrangian/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/surfMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/meshTools/lnInclude -I../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/ -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/OSspecific/POSIX/lnInclude -fPIC -c ../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/outputFilterOutputControl.C -o Make/linux64Gcc63DPInt32Opt/../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/outputFilterOutputControl.o g++ -std=c++11 -m64 -DOPENFOAM=1812 -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 -IMake/linux64Gcc63DPInt32Opt -I/opt/OpenFOAM/OpenFOAM-v1812/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/surfMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/sampling/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/fileFormats/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/dynamicMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/lagrangian/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/surfMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/meshTools/lnInclude -I../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/ -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/OSspecific/POSIX/lnInclude -fPIC -c helpers/printSwakVersion.C -o Make/linux64Gcc63DPInt32Opt/helpers/printSwakVersion.o g++ -std=c++11 -m64 -DOPENFOAM=1812 -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 -IMake/linux64Gcc63DPInt32Opt -I/opt/OpenFOAM/OpenFOAM-v1812/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/surfMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/sampling/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/fileFormats/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/dynamicMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/lagrangian/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/surfMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/meshTools/lnInclude -I../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/ -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/OSspecific/POSIX/lnInclude -fPIC -c helpers/exprString.C -o Make/linux64Gcc63DPInt32Opt/helpers/exprString.o g++ -std=c++11 -m64 -DOPENFOAM=1812 -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 -IMake/linux64Gcc63DPInt32Opt -I/opt/OpenFOAM/OpenFOAM-v1812/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/surfMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/sampling/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/fileFormats/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/dynamicMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/lagrangian/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/surfMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/meshTools/lnInclude -I../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/ -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1812/src/OSspecific/POSIX/lnInclude -fPIC -c helpers/switchableNotImplemented.C -o Make/linux64Gcc63DPInt32Opt/helpers/switchableNotImplemented.o In file included from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/scalar.H:39:0, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/IOstream.H:49, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/Ostream.H:39, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/OSstream.H:39, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/messageStream.H:244, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/error.H:51, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/UListI.H:26, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/UList.H:632, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/List.H:43, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/labelList.H:60, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/UPstream.H:42, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/Pstream.H:42, from lnInclude/DebugOStream.H:50, from lnInclude/swak.H:629, from ../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/outputFilterOutputControl.C:26: /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/floatScalar.H:54:1: internal compiler error: Illegal instruction constexpr floatScalar floatScalarGREAT = 1.0e+6; ^~~~~~~~~ In file included from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/scalar.H:39:0, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/IOstream.H:49, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/Ostream.H:39, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/OSstream.H:39, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/messageStream.H:244, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/error.H:51, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/UListI.H:26, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/UList.H:632, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/List.H:43, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/labelList.H:60, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/UPstream.H:42, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/Pstream.H:42, from lnInclude/DebugOStream.H:50, from lnInclude/swak.H:629, from lnInclude/swakString.H:43, from helpers/exprString.H:45, from helpers/exprString.C:32: /opt/OpenFOAM/OpenFOAM-v1812/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 0xa3b54d real_from_string(real_value*, char const*) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/real.c:2107 0xa3bf9b real_from_string3(real_value*, char const*, format_helper) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/real.c:2173 0x73b0aa interpret_float /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-lex.c:882 0x73be6e c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-lex.c:425 0x64492e cp_lexer_get_preprocessor_token /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:792 0x674b3d cp_lexer_new_main /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:656 0x674b3d cp_parser_new /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:3689 0x674b3d c_parse_file() /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:37538 0x741702 c_common_parse_file() /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-opts.c:1064 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. 0xac5ddf crash_signal /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/toplev.c:333 0xa3b54d real_from_string(real_value*, char const*) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/real.c:2107 /opt/OpenFOAM/OpenFOAM-v1812/wmake/rules/General/transform:34: recipe for target 'Make/linux64Gcc63DPInt32Opt/../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/outputFilterOutputControl.o' failed 0xa3bf9b real_from_string3(real_value*, char const*, format_helper) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/real.c:2173 make: *** [Make/linux64Gcc63DPInt32Opt/../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/outputFilterOutputControl.o] Error 1 0x73b0aa interpret_float /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-lex.c:882 make: *** Waiting for unfinished jobs.... 0x73be6e c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-lex.c:425 0x64492e cp_lexer_get_preprocessor_token /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:792 0x674b3d cp_lexer_new_main /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:656 0x674b3d cp_parser_new /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:3689 0x674b3d c_parse_file() /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:37538 0x741702 c_common_parse_file() /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-opts.c:1064 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-v1812/wmake/rules/General/transform:34: recipe for target 'Make/linux64Gcc63DPInt32Opt/helpers/exprString.o' failed make: *** [Make/linux64Gcc63DPInt32Opt/helpers/exprString.o] Error 1 In file included from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/scalar.H:39:0, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/IOstream.H:49, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/Ostream.H:39, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/OSstream.H:39, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/messageStream.H:244, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/error.H:51, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/UListI.H:26, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/UList.H:632, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/List.H:43, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/labelList.H:60, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/UPstream.H:42, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/Pstream.H:42, from helpers/printSwakVersion.H:41, from helpers/printSwakVersion.C:38: /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/floatScalar.H:54:1: internal compiler error: Illegal instruction constexpr floatScalar floatScalarGREAT = 1.0e+6; ^~~~~~~~~ In file included from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/scalar.H:39:0, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/IOstream.H:49, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/Ostream.H:39, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/OSstream.H:39, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/messageStream.H:244, from /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/error.H:51, from helpers/switchableNotImplemented.H:42, from helpers/switchableNotImplemented.C:38: /opt/OpenFOAM/OpenFOAM-v1812/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 0xa3b54d real_from_string(real_value*, char const*) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/real.c:2107 0xa3bf9b real_from_string3(real_value*, char const*, format_helper) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/real.c:2173 0x73b0aa interpret_float /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-lex.c:882 0xac5ddf crash_signal /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/toplev.c:333 0x73be6e c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-lex.c:425 0xa3b54d real_from_string(real_value*, char const*) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/real.c:2107 0x64492e cp_lexer_get_preprocessor_token /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:792 0xa3bf9b real_from_string3(real_value*, char const*, format_helper) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/real.c:2173 0x674b3d cp_lexer_new_main /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:656 0x73b0aa interpret_float /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-lex.c:882 0x674b3d cp_parser_new /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:3689 0x73be6e c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int) /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-lex.c:425 0x674b3d c_parse_file() /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:37538 0x64492e cp_lexer_get_preprocessor_token /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:792 0x741702 c_common_parse_file() /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-opts.c:1064 0x674b3d cp_lexer_new_main /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:656 Please submit a full bug report, with preprocessed source if appropriate. 0x674b3d cp_parser_new /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:3689 Please include the complete backtrace with any bug report. 0x674b3d c_parse_file() /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/cp/parser.c:37538 See <http://gcc.gnu.org/bugs.html> for instructions. 0x741702 c_common_parse_file() /home/pgh/OpenFOAM/ThirdParty-1706/gcc-6.3.0/gcc/c-family/c-opts.c:1064 /opt/OpenFOAM/OpenFOAM-v1812/wmake/rules/General/transform:34: recipe for target 'Make/linux64Gcc63DPInt32Opt/helpers/printSwakVersion.o' failed Please submit a full bug report, with preprocessed source if appropriate. make: *** [Make/linux64Gcc63DPInt32Opt/helpers/printSwakVersion.o] Error 1 Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. /opt/OpenFOAM/OpenFOAM-v1812/wmake/rules/General/transform:34: recipe for target 'Make/linux64Gcc63DPInt32Opt/helpers/switchableNotImplemented.o' failed make: *** [Make/linux64Gcc63DPInt32Opt/helpers/switchableNotImplemented.o] Error 1 Parser library did not compile OK. No sense continuing as everything else depends on it Requirements for Library not satisfied. I see no sense in going on Check the README before you go on to ask. And search: Most likely your problem occurred to 5 other people before and has been solved on the MessageBoard |
|
January 15, 2020, 08:55 |
|
#4 |
New Member
Michiel Bots
Join Date: Jan 2020
Posts: 9
Rep Power: 6 |
Hi mm6,
I have a very similar problem while compiling waves2foam. Did you manage to solve this issue? I would be interested in your solution! |
|
January 15, 2020, 09:24 |
|
#5 | |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Quote:
Unfortunately, I have not been able to resolve this and gave up! I installed Ubuntu as a virtual machine to avoid such headaches... Hope that it helps |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.6 ext | fportela | OpenFOAM Installation | 11 | December 26, 2013 19:55 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Question on specify gcc compiler for OpenFOAM 15 | peterlai | OpenFOAM Installation | 2 | October 2, 2008 08:20 |
Fluent 6.2 and gcc compiler in Sun Blade 2500 | Nitu Gupta | FLUENT | 8 | April 29, 2005 14:58 |