CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Compilation error (http://www.cfd-online.com/Forums/openfoam-bugs/62543-compilation-error.html)

ovchin September 19, 2007 04:14

+ wmake libso dynamicMesh SOU
 
+ wmake libso dynamicMesh
SOURCE=motionSmoother/motionSmoother.C ; icpc -Dlinux -DDP -wd654,819,1125,1476,1505,1572 -ansi-alias -O3 -ftz -fno-alias -fargument-noalias-global -unroll0 -DNoRepository -I/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -I/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/triSurface/lnInclude -IlnInclude -I. -I/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/linuxI32DPOpt/motionSmoother.o
/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/FieldFieldFunctions. C(832): error: no instance of overloaded function "Foam::outer" matches the argument list
argument types are: (Foam::pointPatchField<foam::vector>, const Foam::pointPatchField<foam::scalar>, const Foam::pointPatchField<foam::vector>)
PRODUCT_OPERATOR(outerProduct, *, outer)
^
detected during:
instantiation of "void Foam::outer(Foam::FieldField<field,>::type> &, const Foam::FieldField<field,> &, const Foam::FieldField<field,> &) [with Field=Foam::pointPatchField, Type1=Foam::scalar={Foam::doubleScalar={double}}, Type2=Foam::vector]" at line 952 of "/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/GeometricFieldFunct ions.C"
instantiation of "void Foam::outer(Foam::GeometricField<foam::outerproduc t<type1,>::type, PatchField, GeoMesh> &, const Foam::GeometricField<typer,> &, const Foam::GeometricField<type1,> &) [with Type1=Foam::scalar={Foam::doubleScalar={double}}, Type2=Foam::vector, PatchField=Foam::pointPatchField, GeoMesh=Foam::pointMesh]" at line 952 of "/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/GeometricFieldFunct ions.C"
instantiation of "Foam::tmp<foam::geometricfield<foam::outerproduct <type1,>::type, PatchField, GeoMesh>> Foam::operator*(const Foam::GeometricField<typer,> &, const Foam::GeometricField<type1,> &) [with Type1=Foam::scalar={Foam::doubleScalar={double}}, Type2=Foam::vector, PatchField=Foam::pointPatchField, GeoMesh=Foam::pointMesh]" at line 815 of "motionSmoother/motionSmoother.C"

compilation aborted for motionSmoother/motionSmoother.C (code 2)

henry September 19, 2007 04:21

This problem has already been
 
This problem has already been reported and fixed, take a look through previous bug-reports and your will find the files you need to fix it.

ovchin September 19, 2007 17:44

Thanks, but i have next simila
 
Thanks, but i have next similar error:
-----
Scanning dependencies of target PVFoamReader
make[5]: Leaving directory `/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/PVFoamReader/Make/linuxI32DPOpt'
make[5]: Entering directory `/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/PVFoamReader/Make/linuxI32DPOpt'
[ 42%] Building CXX object CMakeFiles/PVFoamReader.dir/vtkFoamReader.o
/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/FixedListI.H(341): error: function template "Foam::T" is not a type name
const FixedList<t,>& fl
^

/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/FixedListI.H(339): error: no instance of overloaded function "Foam::FixedList<t,>::Hash<hasht>::operator()" matches the specified type
inline label FixedList<t,>::Hash<hasht>::operator()
^

/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/FixedListI.H(361): error: function template "Foam::T" is not a type name
const FixedList<t,>& fl,
^

/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/FixedListI.H(359): error: no instance of overloaded function "Foam::FixedList<t,>::Hash<hasht>::operator()" matches the specified type
inline label FixedList<t,>::Hash<hasht>::operator()
^

compilation aborted for /home/ovchin/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/graph ics/PVFoamReader/PVFoamReader/vtkFoamReader.cxx (code 2)
make[5]: *** [CMakeFiles/PVFoamReader.dir/vtkFoamReader.o] Ошибка 2
make[5]: Leaving directory `/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/PVFoamReader/Make/linuxI32DPOpt'
make[4]: *** [CMakeFiles/PVFoamReader.dir/all] Ошибка 2
make[4]: Leaving directory `/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/PVFoamReader/Make/linuxI32DPOpt'
make[3]: *** [all] Ошибка 2
make[3]: Leaving directory `/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/PVFoamReader/Make/linuxI32DPOpt'
make[2]: *** [PVFoamReader] Ошибка 2
make[2]: Leaving directory `/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics'
make[1]: *** [graphics] Ошибка 2
make[1]: Leaving directory `/home/ovchin/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing'
make: *** [postProcessing] Ошибка 2
+
--------

I can't search anything about "FixedListI.H" in this board

henry September 19, 2007 18:20

Which version of icpc are you
 
Which version of icpc are you using?

ovchin September 20, 2007 04:56

icpc (ICC) 10.0 20070809
 
icpc (ICC) 10.0 20070809


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