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

error after latest git pull

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 8, 2012, 07:04
Default error after latest git pull
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 271
Rep Power: 9
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, 08:50
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 08:56
Default
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 271
Rep Power: 9
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, 09:09
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 13:31
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Pei,

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

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Thread Tools
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 On
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 03:37
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Latest git 1.6.x : cellDistFuncs.H podallaire OpenFOAM Bugs 4 December 11, 2009 09: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 01:16.