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

Open FOAM15 autoHexMesher compile issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2008, 20:39
Default I am observing the following e
  #1
New Member
 
Tom Spelce
Join Date: Mar 2009
Posts: 1
Rep Power: 0
tspelce is on a distinguished road
I am observing the following error attempting to build OpenFOAM-1.5:

SOURCE=autoHexMesh/autoHexMeshDriver/autoRefineDriver.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/decompositionAgglomeration/deco mpositionMethods/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/dynamicMesh/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/lagrangian/basic/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/edgeMesh/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/triSurface/lnInclude -IlnInclude -I. -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/autoRefineDriver.o
/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/PtrList.C: In copy constructor 'Foam::PtrList<t>::PtrList(const Foam::PtrList<t>&) [with T = Foam::featureEdgeMesh]':
autoHexMesh/autoHexMeshDriver/autoRefineDriver.C:260: instantiated from here
/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/PtrList.C:56: error: invalid conversion from 'Foam::IOobject*' to 'Foam::featureEdgeMesh*'
make: *** [Make/linux64GccDPOpt/autoRefineDriver.o] Error 1



I am using gcc 4.1.2 on a RHEL 5 based Opteron cluster.
tspelce is offline   Reply With Quote

Old   October 8, 2008, 03:13
Default gcc 4.1.2 thats most likely
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
gcc 4.1.2

thats most likely your problem right there.
niklas is offline   Reply With Quote

Old   October 8, 2008, 03:37
Default Or try http://www.cfd-onlin
  #3
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Or try

http://www.cfd-online.com/cgi-bin/OpenFOAM_Discus/show.cgi?tpc=126&post=24775#POST247 75
mattijs is offline   Reply With Quote

Old   October 9, 2008, 12:31
Default Perhaps this patch for autoRef
  #4
Member
 
Michael Roth
Join Date: Mar 2009
Location: Guelph, Ontario, Canada
Posts: 50
Rep Power: 17
roth is on a distinguished road
Perhaps this patch for autoRefineDriver.C could be pushed in the git version?
roth is offline   Reply With Quote

Old   October 9, 2008, 17:04
Default Done.
  #5
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Done.
mattijs is offline   Reply With Quote

Reply


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
An Open Source mesh generator for Open Foam Ahmed Main CFD Forum 15 September 23, 2010 19:39
UDF COMPILE Miguel Olvera FLUENT 4 March 18, 2007 09:07
compile of udf ashraf Main CFD Forum 1 March 15, 2007 16:05
UDF compile HELP!! Leigh FLUENT 19 August 28, 2006 00:03
CANNOT COMPILE Luca FLUENT 9 November 30, 2004 14:44


All times are GMT -4. The time now is 01:24.