|
[Sponsors] |
October 15, 2011, 15:28 |
Compiling Error Red Hat Linux 5
|
#1 |
New Member
L.Bryce Whitson Jr.
Join Date: Jun 2011
Posts: 18
Rep Power: 14 |
I am trying to compile OpenFOAM on RHEL 5.0 and I keep getting a lot of errors. The following is the first of the errors and I was hoping someone could help me figure out what I am doing wrong.
Code:
wmake libso mpi '/var/local/scratch/whitsonl/programs/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so' is up to date. + OSspecific/POSIX/Allwmake Found <sys/inotify.h> -- enabling inotify for file monitoring. '/var/local/scratch/whitsonl/programs/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libOSspecific.o' is up to date. + wmake libso OpenFOAM SOURCE=meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -IlnInclude -I. -I/var/local/scratch/whitsonl/programs/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude -I/var/local/scratch/whitsonl/programs/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/polyMeshTetDecomposition.o lnInclude/globalIndexAndTransformI.H: In member function ‘Foam::labelList Foam::globalIndexAndTransform::transformIndicesForPatches(const Foam::labelHashSet&) const’: lnInclude/globalIndexAndTransformI.H:515: warning: converting to ‘Foam::label’ from ‘double’ lnInclude/syncToolsTemplates.C: In static member function ‘static void Foam::syncTools::syncBoundaryFaceList(const Foam::polyMesh&, Foam::UList<T>&, const CombineOp&, const TransformOp&) [with T = Foam::Vector<double>, CombineOp = Foam::eqOp<Foam::Vector<double> >, TransformOp = Foam::mapDistribute::transformPosition]’: lnInclude/syncTools.H:395: instantiated from ‘static void Foam::syncTools::swapBoundaryFacePositions(const Foam::polyMesh&, Foam::UList<T>&) [with T = Foam::Vector<double>]’ meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C:234: instantiated from here lnInclude/syncToolsTemplates.C:1355: error: call of overloaded ‘Field(Foam::SubField<Foam::Vector<double> >)’ is ambiguous lnInclude/Field.C:141: note: candidates are: Foam::Field<Type>::Field(const Foam::Field<Type>&) [with Type = Foam::Vector<double>] lnInclude/Field.C:179: note: Foam::Field<Type>::Field(const Foam::UList<T>&) [with Type = Foam::Vector<double>] lnInclude/syncToolsTemplates.C:1358: error: call of overloaded ‘Field(Foam::SubField<Foam::Vector<double> >)’ is ambiguous lnInclude/Field.C:141: note: candidates are: Foam::Field<Type>::Field(const Foam::Field<Type>&) [with Type = Foam::Vector<double>] lnInclude/Field.C:179: note: Foam::Field<Type>::Field(const Foam::UList<T>&) [with Type = Foam::Vector<double>] lnInclude/syncToolsTemplates.C: In static member function ‘static void Foam::syncTools::syncBoundaryFaceList(const Foam::polyMesh&, Foam::UList<T>&, const CombineOp&, const TransformOp&) [with T = int, CombineOp = Foam::maxEqOp<int>, TransformOp = Foam::mapDistribute::transform]’: lnInclude/syncTools.H:300: instantiated from ‘static void Foam::syncTools::syncBoundaryFaceList(const Foam::polyMesh&, Foam::UList<T>&, const CombineOp&) [with T = int, CombineOp = Foam::maxEqOp<int>]’ meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C:298: instantiated from here lnInclude/syncToolsTemplates.C:1355: error: call of overloaded ‘Field(Foam::SubField<int>)’ is ambiguous lnInclude/Field.C:141: note: candidates are: Foam::Field<Type>::Field(const Foam::Field<Type>&) [with Type = int] lnInclude/Field.C:179: note: Foam::Field<Type>::Field(const Foam::UList<T>&) [with Type = int] lnInclude/syncToolsTemplates.C:1358: error: call of overloaded ‘Field(Foam::SubField<int>)’ is ambiguous lnInclude/Field.C:141: note: candidates are: Foam::Field<Type>::Field(const Foam::Field<Type>&) [with Type = int] lnInclude/Field.C:179: note: Foam::Field<Type>::Field(const Foam::UList<T>&) [with Type = int] make: *** [Make/linux64GccDPOpt/polyMeshTetDecomposition.o] Error 1 Bryce |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dual Boot Windows and Linux and Go Open Source | andyj | Main CFD Forum | 2 | October 21, 2010 16:49 |
Running Fluent on Red Hat Linux WS version 4 | Bob | FLUENT | 1 | September 4, 2005 05:01 |
Works in Red Hat Linux 6.2 with Alpha Processer? | hongchan | FLUENT | 1 | December 24, 2001 17:32 |
Which version of Red Hat Linux for Fluent 5.4??? | Steve Howell | FLUENT | 6 | August 22, 2001 09:49 |
Fluent5 and Linux Red Hat 7.0 | Anthony Wachs | FLUENT | 0 | March 21, 2001 11:40 |