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

Open FOAM15 autoHexMesher compile issue

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 7, 2008, 19: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, 02: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: 19
niklas 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, 02:37
Default Or try http://www.cfd-onlin
  #3
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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, 11:31
Default Perhaps this patch for autoRef
  #4
Member
 
Michael Roth
Join Date: Mar 2009
Location: Guelph, Ontario, Canada
Posts: 46
Rep Power: 8
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, 16:04
Default Done.
  #5
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
Done.
mattijs 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
An Open Source mesh generator for Open Foam Ahmed Main CFD Forum 15 September 23, 2010 18: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 27, 2006 23:03
CANNOT COMPILE Luca FLUENT 9 November 30, 2004 14:44


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