|
[Sponsors] |
[swak4Foam] swak4Foam cannot be installed on foam-extend-3.2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 10, 2016, 02:10 |
swak4Foam cannot be installed on foam-extend-3.2
|
#1 |
New Member
Lee
Join Date: Mar 2016
Posts: 22
Rep Power: 10 |
Dear all,
I am using Ubuntu 16.04 . I can successfully compile foam-extend-3.2. However, the swak4Foam cannot be compiled and the error listed in the log.make file is show below. I also attach the complete log file for reference. Code:
In file included from lnInclude/PatchValueExpressionDriver.H:288:0, from lnInclude/PatchValueExpressionDriverYY.H:51, from ../PatchValueExpressionParser.yy:97: lnInclude/PatchValueExpressionDriverI.H: In member function ‘Foam::tmp<Foam::Field<Type> > Foam::PatchValueExpressionDriver::mapPointField(const Foam::word&)’: lnInclude/PatchValueExpressionDriverI.H:965:61: warning: typedef ‘localPointField’ locally defined but not used [-Wunused-local-typedefs] typedef GeometricField<T,pointPatchField,pointMesh> localPointField; ^ PatchValueExpressionParser.tab.cc: In member function ‘parserPatch::PatchValueExpressionParser::token_number_type parserPatch::PatchValueExpressionParser::yytranslate_(int)’: PatchValueExpressionParser.tab.cc:9697:24: warning: use of old-style cast [-Wold-style-cast] FieldValueExpressionParser.tab.cc: In member function ‘parserField::FieldValueExpressionParser::token_number_type parserField::FieldValueExpressionParser::yytranslate_(int)’: FieldValueExpressionParser.tab.cc:16686:24: warning: use of old-style cast [-Wold-style-cast] g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. PatchValueExpressionParser.dep:585: recipe for target 'Make/linux64GccDPOpt/PatchValueExpressionParser.o' failed make: *** [Make/linux64GccDPOpt/PatchValueExpressionParser.o] Error 4 make: *** Waiting for unfinished jobs.... 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 occured to 5 other people before and has been solved on the MessageBoard |
|
October 11, 2016, 09:24 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Anyway. Changing the compiler might be a problem. What could help is switching off the optimizations. Add Code:
export SWAK_COMPILE_GRAMMAR_OPTION="-O1"
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error with reactingFoam | BakedAlmonds | OpenFOAM Running, Solving & CFD | 4 | June 22, 2016 03:21 |
[blockMesh] Errors during blockMesh meshing | Madeleine P. Vincent | OpenFOAM Meshing & Mesh Conversion | 51 | May 30, 2016 11:51 |
decomposePar is missing a library | whk1992 | OpenFOAM Pre-Processing | 8 | March 7, 2015 08:53 |
[swak4Foam] Basic Error when installing swak4foam with foam extend 3.0 | mnobrega | OpenFOAM Community Contributions | 6 | April 1, 2014 02:47 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |