CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

error after latest git pull

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2012, 06:04
Default error after latest git pull
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
HI,

I just did a git pull and got an error when compiling the code.

Any suggestion?

Pei
---------------------------
SOURCE=derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C ; wmakeScheduler g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/regionModels/regionModel/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/basicSolidThermo/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/solid/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/AMIInterpolation/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/basic/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/specie/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/turbulenceModels/compressible/turbulenceModel/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc46DPOpt/temperatureThermoBaffleFvPatchScalarField.o
derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C: In constructor ‘Foam::compressible::temperatureThermoBaffleFvPatc hScalarField::temperatureThermoBaffleFvPatchScalar Field(const Foam::fvPatch&, const Foam:imensionedField<double, Foam::volMesh>&, const Foam::dictionary&)’:
derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C:110:11 : error: ‘directMappedPatchBase’ does not name a type
derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C:113:26 : error: ‘mpp’ was not declared in this scope
make: *** [Make/linux64Gcc46DPOpt/temperatureThermoBaffleFvPatchScalarField.o] Error 1
+ wmake libso regionCoupling
phsieh2005 is offline   Reply With Quote

Old   February 8, 2012, 07:50
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Pei,

Usually the quickest fix is to simply run:
Code:
wcleanAll
But to avoid having to rebuild every single library in OpenFOAM, you can run:
Code:
wclean all
only in select folders, namely on the one respective to the library that isn't compiling.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 8, 2012, 07:56
Default
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Bruno,

Thanks for the reply.

But, I did the wcleanAll first before Allwmake. And still got this error.

Pei
phsieh2005 is offline   Reply With Quote

Old   February 8, 2012, 08:09
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
I haven't tested this myself, but the latest commit seems to be the one to blame: https://github.com/OpenFOAM/OpenFOAM...97eb8d3eb2be2f
If you can, please report it on the official tracker: http://www.openfoam.com/mantisbt/my_view_page.php

If not, you can step one commit back by running:
Code:
git checkout HEAD~1
if I'm not mistaken... and then compile again.
__________________
wyldckat is offline   Reply With Quote

Old   February 8, 2012, 12:31
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Pei,

It's fixed now: https://github.com/OpenFOAM/OpenFOAM...cb5cca7395dfbc

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
git pull problem openfoam_user OpenFOAM Installation 1 March 9, 2010 02:37
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Latest git 1.6.x : cellDistFuncs.H podallaire OpenFOAM Bugs 4 December 11, 2009 08:03
Latest git 1.6.x: Crash when using inletOutlet for variable alpha1 in interFoam carsten OpenFOAM Bugs 6 September 23, 2009 09:46
Urgent Git problem updating OF15x thomasduerr OpenFOAM Bugs 4 July 8, 2009 07:07


All times are GMT -4. The time now is 00:23.