|
[Sponsors] |
October 7, 2008, 20:39 |
I am observing the following e
|
#1 |
New Member
Tom Spelce
Join Date: Mar 2009
Posts: 1
Rep Power: 0 |
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. |
|
October 8, 2008, 03:13 |
gcc 4.1.2
thats most likely
|
#2 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
gcc 4.1.2
thats most likely your problem right there. |
|
October 8, 2008, 03:37 |
Or try
http://www.cfd-onlin
|
#3 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
||
October 9, 2008, 12:31 |
Perhaps this patch for autoRef
|
#4 |
Member
Michael Roth
Join Date: Mar 2009
Location: Guelph, Ontario, Canada
Posts: 50
Rep Power: 17 |
Perhaps this patch for autoRefineDriver.C could be pushed in the git version?
|
|
October 9, 2008, 17:04 |
Done.
|
#5 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Done.
|
|
|
|
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 |